AWS ECR Storage Usage

0

If I push a new tag for an existing image in ECR, it is shown in the UI as a separate image. Likewise I may have many different images, where only the top layer changes, but it will be shown as a lot of (large) images. Is there a way to view the actual storage utilization of the account on ECR, taking into account the layers that are shared between images?

Thank you for your time

질문됨 2년 전2484회 조회
1개 답변
0

In the AWS Cost Explorer, by filtering on service: Amazon ECR and applying a group by usage type, you could get down to an hourly pricing per region for your repositories. From there, you could get a rough estimate of the total storage by using the pricing of the ECR storage for that region.

If you need something more precise, I suggest to look at the Cost and Usage Report (CUR), it will have more granular details per repositories, etc. Using Athena it's possible to build query to get the exact report you're looking for.

Here's a link to the documentation to use Amazon Athena to query CUR : https://docs.aws.amazon.com/cur/latest/userguide/cur-query-athena.html

AWS
MB
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠