Inquiry Regarding Pull Through Cache Support Between AWS ECR and Local Registry

0

Dear AWS Community,

I am currently exploring options for implementing a pull through cache between AWS Elastic Container Registry (ECR) and a local registry. Our goal is to optimize image pulls and enhance performance.

Is there any existing support or recommended practices for implementing a pull through cache between AWS ECR and a local registry?

Your expertise and insights would be invaluable as we explore these possibilities. Any guidance, best practices, or recommendations you can provide will contribute significantly to our decision-making process.

Thank you for your time and assistance. I look forward to hearing from the knowledgeable members of the AWS community.

sushrut
asked 4 months ago315 views
1 Answer
0

Hi,

Your question doesn't state which of the registry you want to be the upstream one: ECR or local.

So, if you want to your local one to be the upstream, ECR supports pull-through with upstream registries: see https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html for all details.

ECR supports rules for that: https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache-working.html Also have a look at https://docs.aws.amazon.com/cli/latest/reference/ecr/create-pull-through-cache-rule.html for corresponding CLI command

In 2021, AWS ECR announced support of public repos for pull-through: https://aws.amazon.com/blogs/aws/announcing-pull-through-cache-repositories-for-amazon-elastic-container-registry/

This support was extended very recently: https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-ecr-pull-through-cache-additional-upstream-registries/

Best,

Didier

profile pictureAWS
EXPERT
answered 4 months ago
  • local registry is upstream registry

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions