Should we mirror EKS images into our own registry too?

November 14, 2026 4 answers
Asked by Drelwick-5u

We're moving images from public registries into private ECR so we can scan them and keep copies if upstream images disappear. Should we mirror the AWS-provided images that EKS depends on too, or leave those at their original source?

Answers

p4~stowaway_728

I'd mirror the AWS-provided images too, at least the ones your clusters actually depend on. That doesn't have to mean you distrust the upstream registry. It gives you one place to apply your review process and control which images production can pull.

Keep the versions you need in private ECR and scan them before deployment. A retained copy also helps if an upstream image is changed or removed, though you'll still need a process for updating it when fixes come out.

7v+grommet_462:

Pinning deployments to image digests can help make sure they pull the exact image that was reviewed, rather than whatever a tag points to later.

Reply to this answer
c306!foldingfan_2

Start by finding out which images are actually pulled by your cluster components and workloads, then decide which ones to mirror. Don't assume every AWS-provided component can be redirected in the same way. Check how each component is managed and how its image is configured before changing it.

Also decide who updates the copies and how long old versions are retained. A private copy improves availability, but scanning once doesn't make it permanently free of newly discovered vulnerabilities.

Reply to this answer
Ravell.4n

Private ECR is a reasonable choice, but it isn't the only way to centralize this. A self-hosted registry or registry manager can give you a common place for images and make audits easier. The tradeoff is that you have another service to operate and keep available.

Reply to this answer
9a!switchclip_406

Think about upstream availability as well as security. Pull limits on public registries can cause trouble, and keeping approved copies under your control reduces dependence on an upstream image still being there when you deploy.

If you have clusters in mainland China, check registry availability and access for that region separately before settling on a design.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions