ECR Flashcards
ECR
A managed AWS Docker registry service. Amazon ECR is a regional service.
True/False. 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.
True.
True/False. ECR stores the containers you create and but not container software you buy through AWS Marketplace.
False. ECR STORES BOTH the containers you create and any container software you buy through AWS Marketplace.
What does ECR store container images?
S3
How can you define and organize repositories in your registry?
Using namespaces.
What protocol is used to transfer your container images to and from ECR?
HTTPS
What is a Registry?
A registry is provided to each AWS account; you can create image repositories in your registry and store images in them.
What is the default registry URL?
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.
What is an Authorization Token used for?
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.
What is a Repository?
An image repository contains your Docker images.
How do you specify access to ECR?
ECR uses resource-based permissions to let you specify who has access to a repository and what actions they can perform on it.
How do you manage the lifecycle of the images in your repository?
ECR lifecycle policies enable you to specify the lifecycle management of images in a repository.
What is a repository policy?
You can control access to your repositories and the images within them with repository policies.
True/False. 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.
True.
True/False. You can’t replicate images in your private repositories across AWS regions.
False. You CAN replicate images in your private repositories across AWS regions.