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 Antwort
0
Akzeptierte Antwort

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.

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen