# Is there any example to deploy Mautic on AWS?

**URL:** <https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [August 24, 2023, 3:35am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050 "2023-08-24T03:35:02Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [August 24, 2023, 3:35am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/1 "2023-08-24T03:35:03Z")

</div>

**Your software**  
_My PHP version is_ :  
_My MySQL/MariaDB version is_ (delete as applicable): MySQL/MariaDB version

**Updating/Installing Errors**  
_I am_ (delete as applicable): Installing / Updating  
_Upgrading/installing via_ (delete as applicable) : Web / Command Line

_These errors are showing in the installer_ :

_These errors are showing in the Mautic log_ :

**Your problem**  
_My problem is_ : Is there any example to deploy Mautic on AWS? The basis on AWS is unknown to me.

_Steps I have tried to fix the problem_ :

---

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [September 4, 2023, 1:35am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/2 "2023-09-04T01:35:41Z")

</div>

I have seen some install on EC2 or ECS, however is there any example of using lambda or Fargate?

---

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [September 5, 2023, 1:46am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/3 "2023-09-05T01:46:57Z")

</div>

How to launch Mautic cron jobs on AWS Lambda or AWS Batch?

---

<div class="post-metadata">

**Author:** ![thmclellan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/thmclellan/32/10282_2.png) [@thmclellan](https://forum.mautic.org/u/thmclellan)\
**Post date:** [September 8, 2023, 6:20pm UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/4 "2023-09-08T18:20:26Z")

</div>

Hey @wph524 I recently implemented Mautic on AWS EC2 using the guide at [Install Mautic 4.4.8 on Ubuntu 22.04 + PHP 8.0 + MariaDB 10.6](https://mauteam.org/mautic/mautic-admins/mautic-4-4-8-installation-on-ubuntu-22-04-with-php-8-0-and-mariadb-10-6/) and some youtube videos. ChatGPT can be useful with setup and troubleshooting if you’re new to EC2 / Ubuntu.

Lambda is typically for stateless server functions so probably not a good fit with a LAMP-stack server like Mautic.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 9, 2023, 1:02pm UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/5 "2023-09-09T13:02:10Z")

</div>

If anyone needs assistance with installing or maintaining mautic instance, I can offer an assistance.

---

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [September 13, 2023, 8:17am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/6 "2023-09-13T08:17:33Z")

</div>

I need assistance with installing mastic on local pc. I installed but cannot send email automatically.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 13, 2023, 9:43am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/7 "2023-09-13T09:43:55Z")

</div>

Hi,

did you configure email settings?

Also configure email to be sent immediately for locally installed mautic. If you use queue mode you also need to run cronjobs in order to send emails.

Regards, M.

---

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [September 13, 2023, 9:53am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/8 "2023-09-13T09:53:24Z")

</div>

Thank you. I will try it.

---

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [September 15, 2023, 7:50am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/9 "2023-09-15T07:50:41Z")

</div>

Where is the email settings? I cannot find it in the settings directly.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 15, 2023, 8:27am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/10 "2023-09-15T08:27:13Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/079d92ff882c9be64ec5a398134bfe7b0142756c.png)

---

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [September 20, 2023, 12:38am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/11 "2023-09-20T00:38:26Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [September 22, 2023, 1:35am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/12 "2023-09-22T01:35:43Z")

</div>

I succeeded to send test email, but I cannot send email from campaign.

---

<div class="post-metadata">

**Author:** ![wph524](https://avatars.discourse-cdn.com/v4/letter/w/4af34b/32.png) [@wph524](https://forum.mautic.org/u/wph524)\
**Post date:** [September 22, 2023, 2:51am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/13 "2023-09-22T02:51:30Z")

</div>

I cannot add contact to segment manually.

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [September 22, 2023, 8:31am UTC](https://forum.mautic.org/t/is-there-any-example-to-deploy-mautic-on-aws/29050/14 "2023-09-22T08:31:17Z")

</div>

Check that the campaigns cronjob is actually running: \< [Cron jobs | Mautic](https://docs.mautic.org/en/setup/cron-jobs) \>.

Is there any entry in /var/logs when you try to add contact to the segment?
