Category: Laravel, MySQL

In this series of articles, we learn how to create and deploy a production-ready Laravel application on AWS Fargate. In the first part, we have created a fully-working application with some controllers, some entities, some forms, some views, some tests, some assets and some migrations. In this part, we will use Revolv to create all the components required to deploy our application on AWS (CI/CD, auto-scaling, load-balancing, SSL, CDN…

Set it at the root of your repository and update the docker build command as follow: As you can see, we use the --build-arg argument to pass the required arguments to our Dockerfile.

To do this, go to the “Readme” section and download the buildspec.master.predeploy.yml file to customize the “Pre-deploy” stage of your CI.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Community Partners