Interview Prep/AWS/Cost Optimization

How do you cut non-production cost without hurting developers?

BeginnerProductionCost Optimization
Answer

Schedule: stop dev EC2 and RDS outside working hours (Instance Scheduler on AWS, or EventBridge Scheduler calling ec2:StopInstances and rds:StopDBInstance), scale EKS node pools and ECS services to zero at night, use Spot for dev clusters, single-AZ and smaller instance classes, Aurora Serverless v2 with a low minimum, and ephemeral preview environments that are destroyed when the pull request closes. Note a stopped RDS instance automatically starts again after seven days.

aws All AWS questions Roadmap: Cloud cost & architecture

More on Cost Optimization