Never forget to delete your AWS daily tests. SlackFishCloud sends messages to Slack channels alerting you to running AWS resources.
OS:
- GNU/Linux or WSL
Will be installed via install.sh
if necessary:
- jq
- curl
- figlet
- AWS CLI v.2+ (requires configuration)
Steps:
chmod +x install.sh sfc.sh
- 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
Get EC2 running resources (ASGs, instances, snapshots and volumes) in us-east-1
:
./sfc.sh --regions us-east-1
You can also pass other regions separated by spaces:
./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
- 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
If you have any ideas or wish to contribute to the project, contact me on Twitter @vituohto or send me a pull request! :)
MIT License
Copyright (c) 2023 Vitu Ohto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.