From the course: Complete Guide to AWS Security and Compliance Management

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Using a CloudWatch alarm

Using a CloudWatch alarm

- [Instructor] With an understanding that CloudWatch can raise an alert based off of an event, let's explore a practical use-case where CloudWatch comes into play. Suppose you have a website running on an EC2 server. You've sized the web server to accommodate your normal expected traffic. To monitor CPU activity, we'll configure a CloudWatch alarm that will trigger when CPU utilization exceeds 75%. One day, a piece of content on your website goes viral, and a hoard of new users show up to access that content. You can let administrators know that the server is in duress using a CloudWatch alarm. When the CloudWatch alarm enters the alarm state, it will post a message to an SNS topic, which in turn will send a high-CPU-alert email. Let's dive into the console and make this happen. From the main AWS console, I navigate to CloudWatch. I type "CloudWatch" into the search bar. Clicking on the link for the service brings me to the homepage for CloudWatch. I don't currently have any…

Contents