View a markdown version of this page

Repository types - Amazon ECR Public

Repository types

Amazon ECR Public has two types of public repositories:

  • Free access to pull repositories – The classic, default Amazon ECR Public repository type. Any unauthenticated or authenticated user can pull images, subject to pull rate limits and data transfer fees. Repository owners pay standard Amazon ECR Public storage. See Amazon ECR pricing.

  • Premium repositories – Contains content that is associated with and sold with an AWS Marketplace product. Only the publisher's account and buyers who are entitled to an associated AWS Marketplace product can pull images. Buyers purchase access on the Amazon ECR Public Gallery and pull with the same OCI clients and integrations, such as pull through cache, that they use for free repositories. Pulls are subject to data transfer fees. Pricing to list includes Amazon ECR Public and AWS Marketplace fees. See Amazon ECR pricing.

Amazon ECR Public stores images, lists repositories on the Amazon ECR Public Gallery, and serves image pulls for both types. For premium repositories, AWS Marketplace manages procurement, pricing, offers, entitlements, and billing.

Premium repository concepts

Associated AWS Marketplace products

A buyer who is entitled to any one of a premium repository's associated products can pull from the repository. You can associate one product with multiple premium repositories to sell them together. For more information, see Associating AWS Marketplace products with premium repositories in Amazon ECR Public.

Associated free repository

You can optionally associate a premium repository with one free access to pull repository. The Amazon ECR Public Gallery displays associated repositories together so that users can compare the free and premium versions of your content.

Repository state

A premium repository can exist in one of the following states:

  • DRAFT – The initial state of every new premium repository. Only the publisher's account can access the repository. Publishers can push and delete images, change associated products, and delete the repository without restriction.

  • AVAILABLE – The repository is listed on the Amazon ECR Public Gallery, and entitled buyers can pull from it.

  • HIDDEN – The repository isn't listed on the Amazon ECR Public Gallery. Buyers with an active entitlement can still pull from it and view it on their My subscriptions page.

After a premium repository leaves the DRAFT state, it can't return to DRAFT. For more information, see Managing the state and products of a premium repository in Amazon ECR Public.

Entitled repository ARN

The entitled repository ARN is used by buyers in identity-based policies to control which of their principals can pull premium images. For more information, see Required IAM permissions for pulling premium images.

Access guarantee

Amazon ECR Public guarantees that entitled buyers can pull images from a premium repository for the duration of their AWS Marketplace contract. Publishers can't use repository policies or resource control policies to restrict an entitled buyer's access. Amazon ECR Public doesn't guarantee the quality or security of premium images; publishers are responsible for their content. When a buyer's entitlement ends, Amazon ECR Public denies further pulls.