Skill 7.1.2

Eliminate idle and orphaned resources and schedule non-production environments

Key Concepts

Idle resources run with near-zero utilization: test servers nobody uses, databases for retired features, load balancers with no targets. Orphaned resources remain after the thing they served was deleted: unattached block storage volumes, old snapshots, unused elastic or static IP addresses, and stale container images. All of them keep charging until removed.

Scheduling stops non-production resources when nobody uses them. A development environment that runs 12 hours a day on weekdays runs 60 of the week's 168 hours, about a 64% reduction in running hours. Tags such as schedule=office-hours let automation start and stop resources, and teams need a way to override the schedule when they work late.

Before deleting, confirm ownership and take a final snapshot where data might be needed. A tagging standard with an owner tag makes this possible; untagged idle resources are the hardest to remove safely.