Ravi Sir's Cards › AWS
Push an image to ECR
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
Why do we need it?
ECS needs an image URL AWS can pull. A laptop-only Docker image is not enough.
What is it?
Amazon ECR is a private container registry in your account. Tag and push with docker, then point the task definition at the URI.
How to do it
Create repo → aws ecr get-login-password | docker login → docker tag → docker push in ap-south-1.
ap-south-1
Example
Task definition image = 123.dkr.ecr.ap-south-1.amazonaws.com/yourname-nginx:latest.