Abnormal Compute Cost Growth Pattern

Abnormal Compute Cost Growth Pattern

Newvem monitors changes in the growth cost pattern of your compute resources. We have identified an abnormal change in your overall growth rate in the time range . We suggest to keep tracking costs over for few days, and check that the cost growth is aligned with your expectations and budget. If necessary, adjust your footprint accordingly.


Our identification of the issue is based on the following data:

  •     During the time range (month or day), an abnormal change in your overall cost growth rate has been detected.


How to monitor compute resource costs

You can get monitoring data for your Amazon EC2 instances using either the Amazon CloudWatch API or the AWS Management Console. The console displays a series of graphs based on the raw data from the Amazon CloudWatch API. Depending on your needs and preference, you can use either the data from the API or the graphs in the console.

AWS Management Console

    1. Log in to the AWS Management Console and click the Amazon EC2 tab.
    2. In the list of instances in the AWS Management Console, right-click the instance that you want to monitor, and click Enable Detailed Monitoring.
    3. To view the montioring graphs, select the instance in the console and view its monitoring graphs in the lower pane of the instance’s Monitoring tab.

Command Line Tools - 

 Use the ec2-monitor-instances command with one or more instance IDs:

PROMPT>  ec2-monitor-instances i-1a2b3c4d

Amazon EC2 returns the message:

i-99998888    monitoring-pending

The detailed data collected for the instance during monitoring (for a 1-minute period) becomes available in the AWS Management Console graphs or through the API.

How to Create a CloudWatch Alarm to Monitor CPU Utilization

You can create an Amazon CloudWatch alarm to monitor any CloudWatch metric of your Amazon EC2 instance – in this case, CPU utilization. You can create the CloudWatch alarm from the AWS Management Console Amazon EC2 tab or from the CloudWatch tab, where you can also configure more advanced options. You should specify a threshold for the CPU utilization alarm, above which CloudWatch automatically sends you a notification.

The following set of instructions explains how to create an alarm to notify when average CPU utilization goes above 70%.

To create a CloudWatch alarm for average CPU utilization above 70%:

  1.  In the AWS Management Console, in the Amazon EC2 tab, select the instance for which you want to create an alarm.
  2. In the instance’s Monitoring tab, in the lower pane, click Create Alarm. The Create Alarm dialog box opens for setting the alarm criteria. TheSend a notification to checkbox is selected.
  3. To select the main recipient of the notification, click Create topic, and either use the default name, or select an existing name. (Notifications use Amazon Simple Notification Service (Amazon SNS)).
  4. In With these recipients , enter the email addresses of the recipients to notify, separated by commas. You can enter up to 10 email addresses.
  5. In the Whenever boxes, select Average and CPU Utilization.
  6. In the Is boxes, select > and enter 70.
  7. In the For at least first box, specify the minimum number of consecutive sampling periods monitored by the alarm, and in the second box, the length of each period. In our example, we will monitor for 1 period of 15 minutes.Note: The shorter the period, the more sensitive the alarm. 
  8. In Alarm name, click Edit to modify the name that has automatically been generated for you.
  9. Click Create Alarm.

Note: The shorter the period, the more sensitive the alarm.

Important: Once the alarm is created, you cannot change its name.

Additional Relevant Resources

Using Amazon CloudWatch

Learn more about monitoring using the CloudWatch APIs










Keywords: abnormal compute Cost, aws ec2 management console,  amazon ec2, ec2 monitor instances, cloudwatch, ec2 CPU utilization, CloudWatch alarm, CloudWatch API

You must be to post a comment.

* As a bonus, you'll receive our weekly newsletter!

Hitchhiker's Guide to The Cloud

Newvem's eBook for Cloud Operations