Amazon Elastic Container Registry | Using Amazon Elastic Container Registry Flashcards
What compliance capabilities can I enable on Amazon ECR?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
You can use AWS CloudTrail on Amazon ECR to provide a history of all API actions such as who pulled an image and when tags were moved between images. Administrators can also find which EC2 instances pulled which images.
How do I get started using Amazon ECR?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
The best way to get started with Amazon ECR is to use the Docker CLI to push and pull and your first image. Visit our Getting Started page for more information.
Can I access Amazon ECR inside a VPC?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
To use Amazon ECR within a VPC, your instances must be able to communicate with the Internet. You can do this with Amazon VPC NAT Gateway.
What’s the best way to manage my repositories and images?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Amazon ECR provides a command line interface and APIs to create, monitor, and delete repositories and set repository permissions. You can perform the same actions in the Amazon ECR Management Console, which can be accessed via the “Repositories” section of the Amazon ECS Console. Amazon ECR also integrates with the Docker CLI allowing you to push, pull, and tag images on your development machine.
Does Amazon ECR replicate images across regions?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
No. Amazon ECR is designed to give you flexibility in where you store and how you deploy your images. You can create deployment pipelines that build images, push them to Amazon ECR in selected regions, and then deploy the images to your Docker cluster.
Can I use Amazon ECR within local and on-premises environments?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Yes. You can access Amazon ECR anywhere that Docker runs such as desktops and on-premises environments.
Does Amazon ECR provide an Amazon Linux container image?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Yes. Amazon ECR provides Amazon Linux container images, and detailed steps can be found on the forums. Customers can use these container images to run workloads in their Linux-based Docker environment. The container image has a minimal set of packages and is able to install the full set of Amazon Linux AMI packages. Similar to the Amazon Linux AMI in EC2, Amazon Linux container images will get ongoing updates from Amazon in the form of security updates, rolling releases, and package updates.
Does Amazon ECR work with Amazon ECS?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Yes. Amazon ECR is integrated with Amazon ECS allowing you to easily store, run, and manage container images for applications running on Amazon ECS. All you need to do is specify the Amazon ECR repository in your Task Definition and Amazon ECS will retrieve the appropriate images for your applications.
Does Amazon ECR work with AWS Elastic Beanstalk?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Yes. AWS Elastic Beanstalk supports Amazon ECR for both single and multi-container Docker environments allowing you to easily deploy container images stored in Amazon ECR with AWS Elastic Beanstalk. All you need to do is specify the Amazon ECR repository in your Dockerrun.aws.json configuration and attach the AmazonEC2ContainerRegistryReadOnly policy to your container instance role.
What version of Docker Engine does Amazon ECR support?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Amazon ECR currently supports Docker Engine 1.7.0 and up.
What version of the Docker Registry API does Amazon ECR support?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Amazon ECR supports the Docker Registry V2 API specification.
Will Amazon ECR automatically build images from a Dockerfile?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
No. However, Amazon ECR integrates with a number of popular CI/CD solutions to provide this capability. See the Amazon ECR Partners Page for more information.
Does Amazon ECR support federated access?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Yes. Amazon ECR is integrated with AWS Identity and Access Management, which supports identity federation for delegated access to the AWS Management Console or AWS APIs.
What version of the Docker Image Manifest specification does Amazon ECR support?
Using Amazon Elastic Container Registry
Amazon Elastic Container Registry | Compute
Amazon ECR supports the Docker Image Manifest V2, Schema 2 format. In order to maintain backwards compatibility with Schema 1 images, Amazon ECR will continue to accept images uploaded in the Schema 1 format. Additionally, Amazon ECR can down-translate from a Schema 2 to a Schema 1 image when pulling with an older version of Docker Engine (1.9 and below).