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.