How to do it...

Create an alarm and send the notification:

  1. Log in to the AWS Console, then navigate to Management Tools, and select CloudWatch.
Select CloudWatch
  1. Go to Alarms and click on Create Alarm.
Create Alarm
  1. Search for the metrics (here we are selecting CPUUtilization). Select the instance and click on Next.
CloudWatch: Metric Details
  1. In the Alarm Threshold section, provide the unique Name, short Description, and minimum threshold ...

Get AWS Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.