S3 To Glacier Lifecycle configuration - preventing billing shock

0

Hi Team Is there a way to receive a notification when someone adds a rule in S3 lifecycle configuration to transition objects to Glacier ?

A client configured the rule to reduce S3 costs and had a billing shock due to very large number of small objects. They are trying to prevent such incident in future.

AWS
已提問 4 年前檢視次數 351 次
1 個回答
0
已接受的答案

Cloudwatch events gives the option to setup "PutBucketLifecycle" notification.

{ "source": [ "aws.s3" ], "detail-type": [ "AWS API Call via CloudTrail" ], "detail": { "eventSource": [ "s3.amazonaws.com" ], "eventName": [ "PutBucketLifecycle" ] } }

Other option at more granular level you can try to setup CW alert on Cloudtrail - https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudwatch-alarms-for-cloudtrail.html#cloudwatch-alarms-for-cloudtrail-s3-bucket-activity

Customer can setup a billing alert as well on overall cost across all the services.

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南