Migrate from AWS Beanstalk to AWS ECS in a Simple Way

What will be our main goals?

  1. Setup the initial AWS infrastructure.
  2. Having a CI/CD pipeline which will deploy new changes.
  3. Having a public URL (HTTP for now) where we can access our application.

What we’ll deploy:

I’ll present a bash script that I’ve build for myself which will deploy a fully functional ECS application yet the most simple/basic one. It will consist of

  • VPC including public subnets and a Security Group
  • ECS Cluster
  • ECS Service
  • ECS Task
  • CloudWatch Log Group
  • ECR Repository
  • Load Balancer (including TargetGroup and Listener)

We’ll make intense use of AWS CLI.

Learn More

Tags: AWS Beanstalk