How to Create a CloudWatch Alarm to Detect when the EC2 Instance CPU Utilization Exceeds 70%?
Share
Condition for Create a CloudWatch Alarm to Detect when the EC2 Instance CPU Utilization Exceeds 70%
Description: This process establishes an automated alert that activates when a specific performance value exceeds a defined limit. It begins by accessing the monitoring interface and navigating to the section where alerting rules are managed. A new rule is created by first selecting the measurement to be observed. After choosing the appropriate data source, a condition is defined that determines when the alert should trigger. The rule is configured with a comparison method, a numerical threshold, and an evaluation timeframe. Once the condition is set, a notification action is attached so that a message is delivered whenever the threshold is breached. The workflow concludes by assigning a label to the rule and activating it.After activation, the alert continuously evaluates incoming data and sends notifications whenever the defined condition is met.
Steps
Step 1: Open CloudWatch
Go to:
AWS Console → CloudWatch
Step 2: Click "Alarms"
Left side menu → Alarms → All Alarms
Step 6: Notification Trigger
On the Notification screen:
Select In alarm
Choose SNS topic:
My-CloudWatch-Alerts
(If you don’t see it, press refresh)
Click Next
Step 7: Give alarm name
High-CPU-EC2-Alert
Click Next → Create alarm
Alarm is created and linked to the email!