How to deploy Laravel project using CircleCI 2 to AWS Elastic Beanstalk

Vygandas Pliasas
1 min readSep 13, 2018

--

I had a chance to mess with CircleCI configuration while trying to deploy Laravel project to Amazon AWS Elastic Beanstalk environment. That’s quite easy actually but takes some time to configure things.

I want to share configurations for EB and CircleCI. How to launch EB itself https://medium.com/@vygandas/how-to-deploy-your-nodejs-app-on-amazon-elastic-beanstalk-aws-eb-with-circleci-short-tutorial-d8210d2a7f0c and configure CircleCI <Google>.

This is .circleci/config.yml for Laravel

This is .elasticbeanstalk/config.yml

The idea is to just compress project to a ZIP file and upload it to AWS. You can zip it manually and upload it via console.

Happy coding! 🙂

--

--