From the course: Monitoring AWS with CloudWatch
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Creating CloudWatch alarms - Amazon Web Services (AWS) Tutorial
From the course: Monitoring AWS with CloudWatch
Creating CloudWatch alarms
- [Instructor] In this demo, we are going to create a CloudWatch alarm that is going to notify if our infrastructure is not behaving as expected. For this, we are going to watch our API and make sure that we are not getting too many failed requests. Before we begin, let's go ahead and initiate requests. Let's go with 100 requests. In here now, every three requests, one will fail, so we'll have a baseline. Let's switch back to our CloudWatch management console, and we are going to create a new alarm. Navigate All alarms under Alarms, and then Create alarm. Our first step is going to be to select a metric. In here, we need to find our metric that we are listening for. This UI is a bit complicated, so bear with me as we find our metric. The metric is going to be under AWS namespaces, and we need to find Lambda. Let's go ahead and open it. Let's do by function name, and we are going to use a CloudWatch API, putitemFunction,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.