Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prasanth624/shell-scripts-for-aws
https://github.com/prasanth624/shell-scripts-for-aws
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/prasanth624/shell-scripts-for-aws
- Owner: prasanth624
- License: mit
- Created: 2024-10-18T09:38:05.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T11:07:26.000Z (3 months ago)
- Last Synced: 2024-10-21T16:05:02.522Z (3 months ago)
- Language: Shell
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# đŠī¸ shell-scripts-for-aws
Welcome to the **shell-scripts-for-aws** repository! This collection of shell scripts is designed to help you manage AWS resources efficiently and effectively.
## đ Prerequisites
Before running the scripts, make sure you have the following:
- An **AWS account** with the necessary permissions to access resources.
- **AWS CLI** installed and configured on your machine. You can configure it using:```bash
aws configure
```- Basic knowledge of shell scripting and command line usage.
## đ ī¸ Scripts
This repository currently includes scripts that perform the following functions:
- **Find Running EC2 Instances**: Retrieves a list of all running EC2 instances in a specified region.
- **Find Stopped EC2 Instances**: Retrieves a list of all stopped EC2 instances in a specified region.
- **Find Unattached EBS Volumes**: Retrieves a list of all unattached EBS volumes in a specified region.
- **Find Unused Elastic IPs**: Retrieves a list of all unused Elastic IPs in a specified region.
- **Check IAM User Status**: Evaluates a list of IAM users from a file to determine if they have multi-factor authentication (MFA) devices or access keys; disables users lacking both or inactive for over 180 days.*More scripts and functionalities will be added in the future!*
## đ Usage
To get started, follow these steps:
1. **Clone the repository**:
```bash
git clone https://github.com/prasanth624/shell-scripts-for-aws.git
cd shell-scripts-for-aws
```2. **Make the scripts executable**:
```bash
chmod +x *.sh
```3. **Run the desired script**:
```bash
./your_script_name.sh
```
## Contributing
đĄ Feel free to fork the repository and submit pull requests for any improvements or features you'd like to add!## đ License
This project is licensed under the **MIT License**. See the [LICENSE](LICENSE) file for details.