How do you find idle and orphaned resources at scale?
IntermediateProductionCost Optimization
Answer
Trusted Advisor cost checks (idle load balancers, low-utilization EC2, unassociated EIPs, idle RDS), Compute Optimizer idle recommendations, Config advanced queries across the aggregator, and scripts for unattached EBS, old snapshots, unused NAT gateways (zero BytesOutToDestination), empty ECR repos and log groups without retention. Untagged resources are prime suspects; tag-on-create enforcement prevents new orphans.
More on Cost Optimization
Where do you start when asked to cut an AWS bill?BeginnerCompute Savings Plans vs EC2 Instance Savings Plans vs Reserved Instances?IntermediateHow do you size a Savings Plans commitment?AdvancedWhere is Spot a good fit and where is it not?BeginnerHow do you configure an ASG for Spot reliability?IntermediateHow do you rightsize EC2, RDS and containers?Intermediate