Terraform on AWS: Nonprod and Production Environments · Containers and Compute: ECR, ECS Fargate and EC2
ECS Fargate Service: Task Definition, Autoscaling and Circuit Breaker
Define an ECS Fargate service with a task definition, ALB target group registration, a deployment circuit breaker to auto-roll back on health check failures, and Application Auto Scaling.
What you'll build
An ECS Fargate service that runs your containerised API behind the ALB built in the network module. The service has a task definition (CPU, memory, container definition, log group, IAM roles), a deployment circuit breaker that rolls back automatically when health checks fail, and Application Auto Scaling that scales between a minimum and maximum count based on CPU utilisation.
Premium course
Keep reading with a membership
The rest of this lesson, its practice questions and the whole Terraform on AWS: Nonprod and Production Environments course are part of the membership.
Open in the app to mark lessons complete, take notes and track your progress.