DEV Community

loading...

Discussion on: Deploy a Docker-ized Laravel Application to AWS ECS with CodeBuild

Collapse
imkrunal profile image
Krunal Shah

Did you found the solution? I am having the same issue

Collapse
taelkir profile image
Tom Stanley

No, sorry, ended up not using Docker and deploying my site through Laravel Vapor.

Thread Thread
imkrunal profile image
Krunal Shah

I spent 2 hours and figured out how to do it. I am using code pipelines. Here is the step you need to do.

  1. Disable the auto-deploy on push with code build.
  2. Add artifacts to buildspec.yml
  3. Create a service in ECS
  4. Create pipeline ( Source: Select Github or any version control, Build: Use code build you created from this tutorial, Deploy: Select your ECS )