Interview Prep/Docker/Architecture & Design Decisions

How do you reduce ECR/NAT data transfer costs?

AdvancedProductionArchitecture & Design Decisions
Answer

Create VPC interface endpoints for ecr.api and ecr.dkr plus the S3 gateway endpoint (ECR layers are served from S3), so pulls skip the NAT gateway. Replicate images to each region you run in, and keep images small. This often removes a surprising line item from the monthly bill.

All Docker questions Roadmap: Docker & containers

More on Architecture & Design Decisions