Amazon Elastic Container Registry (ECR)

  • A managed AWS Docker registry service.
  • Amazon ECR is a regional service.

Features

  • ECR supports Docker Registry HTTP API V2 allowing you to use Docker CLI commands or your preferred Docker tools in maintaining your existing development workflow.
  • ECR stores both the containers you create and any container software you buy through AWS Marketplace.
  • ECR stores your container images in Amazon S3.
  • ECR supports the ability to define and organize repositories in your registry using namespaces.
  • You can transfer your container images to and from Amazon ECR via HTTPS.

Components

  • Registry
    • A registry is provided to each AWS account; you can create image repositories in your registry and store images in them.
    • The URL for your default registry is https://aws_account_id.dkr.ecr.region.amazonaws.com.
    • You must be authenticated before you can use your registry.
  • Authorization token
    • Your Docker client needs to authenticate to ECR registries as an AWS user before it can push and pull images. The AWS CLI get-login command provides you with authentication credentials to pass to Docker.
  • Repository
    • An image repository contains your Docker images.
    • ECR uses resource-based permissions to let you specify who has access to a repository and what actions they can perform on it.
    • ECR lifecycle policies enable you to specify the lifecycle management of images in a repository.
  • Repository policy
    • You can control access to your repositories and the images within them with repository policies.
  • Image
    • You can push and pull Docker images to your repositories. You can use these images locally on your development system, or you can use them in ECS task definitions.

Security

  • By default, IAM users don’t have permission to create or modify Amazon ECR resources, or perform tasks using the Amazon ECR API.
  • Use IAM policies to grant or deny permission to use ECR resources and operations.
  • ECR partially supports resource-level permissions.

Pricing

  • You pay only for the amount of data you store in your repositories and data transferred to the Internet.

Limits

Resource

Default Limit

Maximum number of repositories per account

1,000

Maximum number of images per repository

1,000

Sources:
https://docs.aws.amazon.com/AmazonECR/latest/userguide/
https://aws.amazon.com/ecr/features/
https://aws.amazon.com/ecr/pricing/
https://aws.amazon.com/ecr/faqs/

***

AWS Certifications are consistently among the top paying IT certifications in the world, considering that Amazon Web Services is the leading cloud services platform with almost 50% market share! Earn over $150,000 per year with an AWS certification!

Subscribe to our newsletter and notifications for more helpful AWS cheat sheets and study guides like this and answer as many AWS practice exams as you can.🙂

Enroll Now – AWS Certified Cloud Practitioner Practice Exams

AWS Certified Cloud Practitioner Practice Tests

Enroll Now – AWS Certified Solutions Architect Associate Practice Exams

AWS Certified Solutions Architect Associate

Enroll Now – AWS Certified Developer Associate Practice Exams

AWS Certified Developer Associate Tutorials Dojo

Enroll Now – AWS Certified SysOps Administrator Associate Practice Exams

AWS Certified SysOps Administrator Associate Tutorials Dojo

Enroll Now – AWS Certified Solutions Architect Professional Practice Exams

AWS Certified Solutions Architect Professional Tutorials Dojo

Affordable AWS Educational Materials

Browse Other Courses

Generic Category (English)300x250

Recent Posts