customizable leading to complex codebase. • Platform architecture being reflected. • Every change in service communications could require change in DevOps platform
✓ ECR image version ✓ Env vars ✓ Port mapping ✓ Command to run ✓ Logs ✓ Cluster i.e. set of EC2 instances ✓ Number of tasks ✓ High availability deployment ✓ Task placement ✓ Load balancing (ELB/ALB) ✓ Autoscaling ECS terms ✓ECR: EC2 Container registry ✓ELB: Elastic load balancer ✓ALB: Application load balancer ✓Port mapping ✓ Container port <-> Container instance port ✓ Can be dynamic ✓Task placement ✓ AZ Balanced spread ✓ One Task per Host ✓ BinPack ✓Constraints ✓ allow you to filter the instances ✓ using built-in or custom attributes ✓Network mode ✓ Bridge/Host etc. ✓Tasks run from Task definition ✓Containers run from Container definition
to ECR Ensure S3 has all required config env.sample Docker registry ECR Update the task definition with image version & env vars ECS runs new containers with updated version Stops the old version once new are up ★ The service name is guessed from current dir ★ image name is same as repo name in spinal case without simpl- prefix ★ latest version is picked to push 1 2 3 4 5