latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

hkb-org-monthly

Fires on: Monthly cost budget of $150: forecasted over 50%, forecasted over 80%, forecasted over 100%, forecasted over $200, actual over 100%, actual over $200.

Run the common pre-checks first.

Symptoms

An email from AWS Budgets naming hkb-org-monthly: the organization's forecast crossed 50, 80 or 100 percent of the $150 target, or the $200 ceiling; or actual spend crossed $150 or $200.

Pre-checks

  1. Find what grew: aws ce get-cost-and-usage --profile ro-hkb-master --time-period Start=<month start>,End=<today> --granularity DAILY --metrics UnblendedCost --group-by Type=DIMENSION,Key=LINKED_ACCOUNT, then group by SERVICE for the account that stands out.
  2. Compare with the accepted cost lines on the cost page.

Resolution

  • A known line, forecast only: forecasts early in a month swing; note it and wait for the next alert.
  • A new service or a line well above its accepted range: find the resource and the stack that made it. Turn it off with a PR (or the stack update that owns it). The usual causes are a GuardDuty or Security Hub plan switched on, AWS Config recording, or a NAT gateway.

Post-checks

The next day's forecast is back under the target.

Rollback

Reverting the PR that turned something off turns it back on.

Alert details

Property Value
Runs in the management account
Email From AWS Budgets: AWS Budgets' own notice, naming the budget and the threshold
Source org/hkb-org-budgets.yaml, resource OrgMonthlyBudget

Page information

Owner
Detection and Response
Status
current Current: generated from the templates and records in the repository at this build.
Generated from
site/content/runbooks.md, org/hkb-org-budgets.yaml
Linked from
Runbooks, Cost alerts
Plain markdown
/wiki/runbooks/cost/hkb-org-monthly/index.md