How to do it...

We can create a CloudWatch alarm using existing metrics as follows:

  1. Go to the CloudWatch service in the console.
  2. Click on Alarms from the left sidebar.
  3. Click on Create alarm.
  4. Click on Select metric. This should show us all the metrics that are available to us based on the services we use:
  1. Click on Billing.
  2. Click on By Service.
  3. Click on Amazon EC2.
  4. Click on Select metric. This will take us to the Specify metric and conditions screen.
  1. In the Metric section of the Specify metric and conditions screen, use the defaults shown in the following screenshot:
  1. In the Condition section of the Specify metric and conditions screen ...

Get AWS Security Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.