DEV Community

loading...

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

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 )