Lightsail alarms watch a metric and warn you when it crosses a threshold. On burstable plans, CPU usage above the sustainable zone for a long time uses up the CPU burst capacity, and the instance slows down. A CPU alarm warns you before that happens.
Open the instance fcj-wordpress-2gb, choose the Metrics tab, and choose the metric CPU utilization.
Under Alarms for: CPU utilization, choose Create alarm.
Set the rule to Greater than or equal to 70 percent, 2 times within the last 20 minutes. The blue sentence under the fields summarizes the rule.
Under Also notify me by, you can select Email to receive notifications. Email notifications need a verified email contact for the Region; you add it on the Alarm notifications page in the left menu. Without it, the alarm only shows a banner in the Lightsail console. Choose Save.


You can add up to two alarms per metric. Useful alarms for this lab are CPU burst capacity (percentage) for the instances and CPU utilization or Free storage space for the database.