Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECR] [request]: Private repository support for requester pays #2505

Open
tamir-deep opened this issue Dec 23, 2024 · 0 comments
Open

[ECR] [request]: Private repository support for requester pays #2505

tamir-deep opened this issue Dec 23, 2024 · 0 comments
Labels
Proposed Community submitted issue

Comments

@tamir-deep
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
ECR private repositories support repository permissions (resource based policy) which allows the owner to share its content across AWS organizations and accounts.

The data transfer however is billed on the owner instead of the requester without any ability to change it. Source

We want to be able for one account to host a private repository in ECR which allows other accounts (whether within the org or external) to pull images from but for the account that requests the content to pay for it.

Some organizations may want to have the accounts that requests the images to pay instead of the "shared services" account that hosts all the images in the organization for example.

This is needed especially for ISV that hosts private images for their customers and grants read access to external accounts upon purchase.
(I'm leaving out the Marketplace service where the seller uploads the images to AWS-owned ECR private repository which DOES apply "requester pays" according to AWS MP support team).

Which service(s) is this request for?
ECR

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
In case of large scaling of containers (EKS, ECS, and even more so, Fargate where there is no node image caching), the images are downloaded and billed upon the repository owner according to the official ECR pricing documentation.

This can lead to huge bills and even "abuse" in some rare cases.

By being able to apply "requester pays", it could make a huge cost difference in the way ISVs can serve their container images to their customers in AWS.

Are you currently working around this issue?
There is no workaround AFAIK.
The only way is to ask the requester to COPY the image / replicate the repository to their own account.

@tamir-deep tamir-deep added the Proposed Community submitted issue label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

1 participant