Project 03
Run a containerised app on ECS Fargate
Package an app with Docker, push it to ECR, and run it on ECS Fargate behind a load balancer, with no servers to manage.
- Status
- Coming soon
- Level
- intermediate
- Time
- 1 weekend
- Tools
- Docker, ECR, ECS, Fargate, Application Load Balancer, CloudWatch Logs
What you’ll build
The way many teams run apps on AWS today:
- A Docker image of a small web app, built on your laptop.
- An ECR repository where you push the image.
- An ECS cluster on Fargate, running your container with no EC2 instances to look after.
- A load balancer in front of the service, reusing what you learned in Project 02.
- Logs in CloudWatch, so you can see what your container is doing.
- A new version rollout: push an updated image and watch ECS replace the old containers with no downtime.
What you’ll be able to show
- Your Dockerfile and a repo that anyone can build
- The live app behind the load balancer
- A short write-up comparing EC2 (Project 02) with Fargate, and when you’d pick each
What you need
- Docker installed on your laptop (the Foundations roadmap covers it)
- Projects 01 and 02 done
Cost: Fargate and the load balancer are billed while they run. Delete the service when you finish a session.
The step-by-step guide and videos are coming soon.