8000 GitHub - Sujalpatel701/aws_usage: this is a shell file which will execute on ubuntu os.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sujalpatel701/aws_usage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

AWS Resource Usage Monitor

This Bash script fetches and logs details about AWS resources, including S3 Buckets, EC2 Instances, Lambda Functions, and IAM Users. It saves the output in a timestamped log file for tracking.

Features

  • ✅ Lists S3 buckets
  • ✅ Shows EC2 instances and their states
  • ✅ Displays Lambda functions
  • ✅ Lists IAM users
  • ✅ Saves the report in a log file with a timestamp

Prerequisites

  • AWS CLI installed and configured
    (Run aws configure to set up credentials.)
  • Execute permission for the script
    (Run chmod +x aws_usage.sh to make it executable.)

Usage

  1. Clone this repository:
    git clone https://github.com/Sujalpatel701/aws_usage.git
    cd aws_usage

2.Run the script

./aws_usage.sh

3.Check the generated log file in the script directory

ls aws_usage_*.log

Screenshot from 2025-02-16 12-45-58

About

this is a shell file which will execute on ubuntu os.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0