Skip to content

foiovituh/slack-fish-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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:

./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:

example_aws_ec2_asg_resources example_aws_ec2_instance_resources example_aws_ec2_snapshot_resources example_aws_ec2_volume_resources

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 for more information.

About

Never forget to delete your daily AWS test resources πŸ’¬

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages