Open emilymdubois opened 8 years ago
I think this would involve a scheduled lambda function that just counts images in the ECR repos. It could either put a custom metric and a correlated alarm fires when the metric is above a threshold, or the lambda function could directly trip an alarm when it detects too many images.
I'm sprinting next week on internal tools, but happy to jump on this afterwards if no one's grabbed it.
Changing course on this. Instead of alarming on registry size, I'm experimenting with adding automatic cleanup when an image is created and uploaded to the registry 👉 https://github.com/mapbox/ecs-conex/issues/97
Moving this comment on PR #63 into its own issue:
cc @rclark @yhahn @emilymcafee