" "
-1.5 C
Washington

PowerShell – AWS S3 Buckets Report

Date:

Share:

 
As we have discussed in previous post below that extracting the S3 bucket report for large enterprise can take too much time if not utilizing CloudWatch.
Solution – Slowness in getting AWS S3 Buckets Counts and Sizes | Tech Wizard
In this post I am sharing the whole Script that we have written for generating the AWS S3 Buckets Report.
Prerequisites for this Solution:

Download the script from Git or PowerShell gallery from below links:
Git:
https://github.com/VikasSukhija/Downloads
AWSS3BucketsReport.ps1
PowerShell Gallery:
https://www.powershellgallery.com/packages/AWSS3BucketsReport
Install-Script -Name AWSS3BucketsReport
Update the below section of the script with your own parameters:

This script needs access and secret key of the account that can assume a role that has access to read the AWS S3 objects and CloudWatch across the whole organization.
Note: Please secure the access key and secret key as encrypted if you will schedule this script in production.
Script will fetch below details for each AWS database, will generate csv file and send on email.

Here is the Email that email address mentioned in variable will receive.

Here is the CSV report that your will get:

You can modify the script as per your requirements.
 
 
Thanks for reading and downloading…
Tech Wizard
 
https://techwizard.cloud
https://syscloudpro.com/
PowerShell Fast Track

Subscribe to our magazine

━ more like this

YBS urges Chancellor to fix ‘broken’ housing market ahead of Budget   – Mortgage Strategy

Yorkshire Building Society has urged Chancellor Rachel Reeves to help first-time buyers and review tax and regulation for landlords amid a raft of...

Mortgage Rates Could Fall Another Half Point Just from Market Normalization

It’s been a pretty good year so far for mortgage rates, which topped out at around 8% last year.The 30-year fixed is now priced...

Goldman Sachs loses profit after hits from GreenSky, real estate

Second-quarter profit fell 58% to $1.22 billion, or $3.08 a share, due to steep declines in trading and investment banking and losses related to...

3 Types of Server Backups- Choosing the Right Backup for Your Business

In the digital age, data is the lifeblood of all businesses, big or small. Your data is invaluable, it covers everything from customer information...

Fantastic Fabulous Feedback For Friday

This is just a quick post highlighting the positive feedback our teams regularly get at Hosting UK. Of course, our...
spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here