Introduction to Amazon Elastic Container Registry (original) (raw)

Last Updated : 11 Jun, 2026

Amazon Elastic Container Registry (ECR) is a fully managed AWS Docker registry service that enables secure storage, management and deployment of container images. ECR is highly scalable and reliable, allowing you to scale resources up or down based on your requirements.

Components

Amazon ECR consists of the following key components:

  1. **Registry: Each AWS account has access to the Amazon ECR registry. Within the registry, you can create image repositories and store container images.
  2. **Authorization Token: Before pushing and pulling images, your Docker client must authenticate to Amazon ECR registries as an AWS user. The AWS CLI provides a command called "get-login" which provides authentication credentials to be passed to Docker.
  3. **Repository: Docker images are contained within Amazon ECR image repositories. Each repository can hold multiple versions of container images.
  4. **Repository Policy: Repository policies enable users to control access to their repositories and the images within them. Policies are managed through IAM and determine who can push, pull, or delete images.
  5. **Image: Container images stored in ECR can be easily pushed or pulled. Images can be used on your local system or referenced in Amazon ECS task definitions and EKS deployments.

authorization_token

Features

Benefits

Use Cases

Use Case Description How ECR Helps
Containerized Application Deployment Storing Docker images for applications deployed on ECS or EKS. ECR securely stores images that can be easily pulled during deployment.
Microservices Architecture Managing multiple microservices in containers. ECR stores and manages separate images for each microservice.
CI/CD Pipelines Automating build and deployment processes. ECR integrates with CI/CD tools for smooth image deployment.
Hybrid and Multi-Cloud Deployment Running applications across AWS and on-premises systems. ECR allows images to be accessed from different environments.
Image Versioning and Rollback Managing different image versions. ECR supports tagging and rollback of container images.
Security and Compliance Maintaining secure container images. ECR scans images for vulnerabilities before deployment.
Private Docker Image Storage Keeping container images private and secure. ECR provides secure private repositories with IAM access control.
Scalable Image Storage Storing large numbers of container images. ECR automatically scales storage as needed.
DevOps Workflow Improving developer productivity and collaboration. ECR simplifies pushing, pulling, and managing Docker images.

Amazon ECR Pricing

Amazon ECR pricing is based on storage usage, data transfer, and additional features like encryption and image signing.

Pricing Component Details Cost
Free Tier 500 MB/month private repository storage (first year) and 50 GB/month public repository storage Free
Storage Charges for storing container images in repositories $0.10 per GB/month
Data Transfer - Private Repositories Transfer of images in and out of private repositories Inbound: FreeOutbound to internet: $0.09 per GB
Data Transfer - Public Repositories Transfer of images from public repositories Limited free usage, then $0.09 per GB
Encryption Supports SSE-S3, SSE-KMS, and DSSE-KMS encryption SSE-S3: FreeDSSE-KMS: $0.0036 per GB
Managed Signing Image signing for security verification $0.02 per signature
Pricing Examples 40 GB private repository (in-region transfer)20 GB private repository (cross-region transfer) In-region:$4/month storage (data transfer free)Cross-region:$2/month storage + 4.50/monthdatatransfer=4.50/month data transfer = 4.50/monthdatatransfer=6.50/month