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 Resposta
0
Resposta aceita

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.

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas