https://github.com/foiovituh/slack-fish-cloud
Never forget to delete your daily AWS test resources 💬
https://github.com/foiovituh/slack-fish-cloud
auto-scaling-group aws bash cloud ebs-volumes ec2 script sh shell slack webhook
Last synced: 5 months ago
JSON representation
Never forget to delete your daily AWS test resources 💬
- Host: GitHub
- URL: https://github.com/foiovituh/slack-fish-cloud
- Owner: foiovituh
- License: mit
- Created: 2023-02-06T11:29:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T20:54:41.000Z (over 2 years ago)
- Last Synced: 2024-11-16T17:41:09.681Z (about 1 year ago)
- Topics: auto-scaling-group, aws, bash, cloud, ebs-volumes, ec2, script, sh, shell, slack, webhook
- Language: Shell
- Homepage:
- Size: 121 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# SlackFishCloud 🐠
Never forget to delete your AWS daily tests. SlackFishCloud sends messages to Slack channels alerting you to running AWS resources.
## Requirements 🔗
OS:
- GNU/Linux or WSL
Will be installed via `install.sh` if necessary:
- jq
- curl
- figlet
- AWS CLI v.2+ (requires configuration)
## Install ⚙️
Steps:
1. `chmod +x install.sh sfc.sh`
2. Run `./install.sh` to set the default AWS CLI profile and a Slack Webhook URL for your workspace
For more information about Slack Webhooks, see Sending messages using Incoming Webhooks
## Quick usage guide 📚
Get EC2 running resources (ASGs, instances, snapshots and volumes) in `us-east-1`:
```bash
./sfc.sh --regions us-east-1
```
You can also pass other regions separated by spaces:
```bash
./sfc.sh --regions us-east-1 us-east-2 af-south-1 eu-west-3
```
Examples in Slack:




NOTE: only instances volumes and snapshots created on the same day of the script execution will be considered
## Open plans 📌
- New filters
- Set up schedulers with crontab
- Project more EC2 attributes in messages
- Implement a multi-cloud version (Azure + GCP)
- Add support in other AWS services/resources, e.g. S3 buckets and Lambda functions
## Do you want help me? 👥
If you have any ideas or wish to contribute to the project, contact me on X (@ohtoaki) or send me a pull request :)
## License 📄
Distributed under the MIT License. See [`LICENSE`](LICENSE) for more information.