Hello from a container on Amazon ECS Fargate
Cloud Native Technologies Enablement for Startups — Session 2.2, Container Orchestration with Amazon ECS.
- Orchestrator
- Amazon ECS, cluster
m6-ecs-cluster - Capacity
- AWS Fargate (serverless, no EC2 to manage)
- Task
- task definition
m6-hello-task, awsvpc networking - Service
m6-hello-service, 2 tasks across 2 AZs- Ingress
- internet-facing Application Load Balancer → IP target group
- Image
- pulled from Amazon ECR, built on
nginx:1.29-alpine - Logs
- awslogs driver → CloudWatch
/ecs/m6-hello-service - Provisioning
- AWS CloudFormation (
ecs-fargate.yaml)
Tasks run in private subnets with no public IP address. This page is reachable only through the load balancer.