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.

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년 전

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

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

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

관련 콘텐츠