Set up cost guardrails for a new AWS organisation so nobody gets a surprise bill. What do you configure?
BeginnerScenarioCost
Answer
Situation read → You need alerts before the money is spent, not a report afterwards.
What I'd do →
- AWS Budgets per account with alerts at 50%, 80% and 100% of forecast, sent to email and Slack (via SNS and AWS Chatbot).
aws budgets create-budget --account-id 111122223333 \
--budget file://budget.json --notifications-with-subscribers file://alerts.json
- Cost Anomaly Detection monitors per service and per linked account, alerting on unusual daily spend.
- Mandatory tags (
team,env,service) via tag policies, activated as cost allocation tags. - SCPs that block unused regions and very expensive instance types.
- A monthly cost review with each team using their own tagged spend.
Why → Forecast-based alerts warn you early in the month, when you can still do something.
Interview tip → Say "forecasted" budget alerts, not only "actual"; actual alerts arrive after the money is gone.
More on Cost
The AWS bill jumped 40% this month and finance wants an explanation by tomorrow. How do you find out why?BeginnerThe "NAT Gateway – data processed" line is $9,000 a month. How do you bring it down?IntermediateCut EKS compute cost by 40% without hurting reliability. What's your plan?AdvancedDev and test environments run 24/7 but are used only during office hours. How do you cut that cost?BeginnerCloudWatch Logs costs more than the EC2 fleet. What do you do?IntermediateFinance asks you to buy commitments. Savings Plans or Reserved Instances, and how much?Intermediate