Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 563 Bytes

File metadata and controls

29 lines (17 loc) · 563 Bytes

Ec2 Cost Optimization

A read-only script that queries Ec2 resources and displays information.

Running

bash ec2-cost-optimization.sh

What it does

  1. Finding stopped instances (still incurring EBS charges)
  2. Finding unattached EBS volumes
  3. Finding unattached Elastic IPs
  4. Finding old snapshots (>90 days)

Resources created

None — this script is read-only.

Cost

No cost. This script only reads existing resources.

Related docs