Create Alerts for Cost Spikes

Keep on top of unpredicted spend by configuring Cost Spike Alerts to notify you when costs increase.

Article Tags
On This Page
Create a Cost Spike AlertHow Cost Spike Notifications WorkUnderstanding SensitivitySee also

Stax's notifications support alerting when a particular segment of a view, or an entire AWS account, has a cost spike above anticipated amounts.

Cost Spike Alerts can help to keep an eye on those parts of your AWS infrastructure that are prone to exceeding their monthly budget, or can tend to have unpredictable cost changes.

Create a Cost Spike Alert

  1. Log in to the Stax console
  2. Open the customer menu in the left-hand nav (click the arrow next to your alias)
  3. Select Notifications
    Notifications
  4. Select + Create Notifications, then choose the appropriate delivery channel from the drop-down list. In this example, Email will be selected
  5. Select your View and Segment. All Views will be selected by default, but you can narrow it down by selecting a view and segment. Your email address will be present in the Enter email addresses list, but you can remove this and/or add others if desired.
    Create Notification
  6. Select Continue to show the Configure Notifications page
  7. Locate Cost Run Rate Spike Alerts and select Include Cost Run Rate Spike Alerts
  8. Enter the minumum increase (in US dollars), as well as how sensitive you want the cost spike to be. See understanding sensitivity below for more
    Create Notification
  9. Select Create Notification to finish creating the notification

How Cost Spike Notifications Work

Stax periodically checks your daily spend to see how much it is deviating compared to the last 7 days. If the deviation is above a certain threshold and amount, this is considered to be a spike.

Some examples:

  • If your average daily spend over the last 7 days is $100 USD, but the average for today is $200 USD. With a sensitivity of Medium and minimum increase of $50 USD, you would get a spike.
  • If your average daily spend over the last 7 days is $100 USD, but the average for today is $200 USD. With a sensitivity of Medium and minimum increase of $250 USD, you would not get a spike because it did not exceed the minimum increase of $250 USD.
  • If your average daily spend over the last 7 days is $100 USD, but the average for today is $101 USD. With a sensitivity of High and minimum increase of $90 USD, you would not get a spike because the sensitivtiy is too high.

Understanding Sensitivity

When defining a Cost Spike Notification, a minimum cost increase and sensitivity must be nominated. These settings impact when notifications will be sent.

Firstly, if a cost spike occurs but is less than the Minimum increase in $USD specified when creating the notification, no notification will be sent.

Secondly, Stax uses the standard score (z-score) to define the sensitivity of a cost spike alert. These prescribe how sensitive Stax is to changes in the standard deviation over a rolling 7-day window, specifically:

  • Low: z-score of 1.2
  • Medium: z-score of 1.5
  • High: z-score of 1.9

See also