Interview Prep/AWS/Cost Optimization and Disaster Recovery

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 →

  1. Instance Scheduler on AWS or EventBridge Scheduler calling SSM AWS-StopEC2Instance
  2. Scale ASGs to zero at night
  3. Stop RDS (auto-restarts after 7 days) or use Aurora Serverless v2 min capacity
  4. Tag schedule=office-hours
  5. Report savings

Why → Running 50 hours instead of 168 saves about 70 percent.

Interview tip → Mention RDS 7-day restart.

aws All AWS questions Roadmap: Cloud cost & architecture

More on Cost Optimization and Disaster Recovery