This repository contains useful Bash and PowerShell scripts to automate and simplify working with AWS services. It includes tools for AWS CLI updates, cost monitoring, and certificate status checks.
✅ Ideal for DevOps, SecOps, or developers who manage AWS infrastructure regularly.
awscli-updater.sh
: Automatically checks and installs the latest version of the AWS CLI v2 on Linux/WSL systems. Can be scheduled viacron
.
aws-cost-actual.sh
: Retrieves your actual AWS costs for the current month using AWS Cost Explorer.aws-cost-forecast.sh
: Displays a forecast of expected monthly AWS costs based on current usage trends.
aws-cert-status.sh
/aws-cert-status.ps1
: Checks the status of ACM (AWS Certificate Manager) certificates — useful for DNS validation monitoring.check-expiry.sh
/check-expiry.ps1
: Lists certificate expiration dates and alerts for those expiring soon.
```bash
chmod +x *.sh
```
Update AWS CLI:
```bash
./awscli-updater.sh
```
Check actual monthly AWS costs:
```bash
./aws-cost-actual.sh
```
Get monthly AWS cost forecast:
```bash
./aws-cost-forecast.sh
```
Monitor ACM certificate status:
```bash
./aws-cert-status.sh
```
Check certificate expiry:
```bash
./check-expiry.sh
```
⚙️ PowerShell scripts (
*.ps1
) are designed for Windows users and requireAWS.Tools
orAWSPowerShell
modules.
Please review the SECURITY.md file for information about security practices, disclosures, and safe usage of the tools in this repository.
Pull requests are welcome!
To contribute:
-
Fork the repository
-
Create a new feature branch:
git checkout -b feature/my-feature
-
Commit your changes:
git commit -am "Add new feature"
-
Push the branch:
git push origin feature/my-feature
-
Open a Pull Request
This project is licensed under the MIT License.
Use freely and modify responsibly. 😎
Maintained by rob-git-user
Feel free to open issues for bugs, feature requests, or questions.