Posted On: Oct 11, 2017
Amazon EC2 Container Registry (Amazon ECR) now allows you to create rules to automate image cleanup across your Amazon ECR repositories.
Development teams that use Amazon ECR actively often find that their repositories fill up with many container image versions. This makes it difficult to find the code changes that matter and incurs unnecessary storage costs. Previously, cleaning up your repository meant spending time to manually delete old images, or writing and executing scripts.
Now, Amazon ECR Lifecycle Policies allow you to define a set of rules to automatically remove container images. You can also preview rules to see exactly which container images will be affected when the rule runs. This allows repositories to be better organized, makes it easier to find the code revisions that matter, and lowers storage costs.
Learn more about Lifecycle Policies in our blog. To get started, see our documentation. For more information on Amazon EC2 Container Registry, visit our product page.
Amazon EC2 Container Registry is available in US East (Ohio), US East (N. Virginia), US West (N. California), US West (Oregon), Canada (Central), Asia Pacific (Singapore), Asia Pacific (Sydney), Asia Pacific (Tokyo), EU (Frankfurt), EU (Ireland), EU (London), and China (Beijing). For more information on AWS regions and services, please visit here.