Dev environments run 24/7 but are used 9 to 6 on weekdays. How do you cut cost?
IntermediateScenarioCost Optimization and Disaster Recovery
Answer
Situation read → Schedule them off.
What I'd do →
- Instance Scheduler on AWS or EventBridge Scheduler calling SSM
AWS-StopEC2Instance - Scale ASGs to zero at night
- Stop RDS (auto-restarts after 7 days) or use Aurora Serverless v2 min capacity
- Tag
schedule=office-hours - Report savings
Why → Running 50 hours instead of 168 saves about 70 percent.
Interview tip → Mention RDS 7-day restart.
More on Cost Optimization and Disaster Recovery
Your AWS bill jumped 40 percent this month. How do you find the cause?BeginnerSet up budgets so no one is surprised by spend.BeginnerFind and remove idle and orphaned resources.IntermediateReduce data transfer cost in a media-heavy architecture.AdvancedChoose S3 storage classes for data accessed unpredictably.IntermediateDefine RPO and RTO and map them to AWS DR strategies.Beginner