Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS Logo
Menu

Leveraging Python to Save KMS costs when using S3

Reducing KMS costs with S3 using Python

Published Jun 30, 2024
If you are using KMS to encrypt objects in S3, then every time the object is being by read an external application, its being de-crypted and then read, this is a simple way to reduce this cost, which I have covered in my blog here. I have used S3 Storage lens to find the most read heavy objects and buckets and leveraged python to report on them.Python code is below which reports on how we can monitor this more effectively, do have a read and share feedback.
 

Comments