From the course: AWS for DevOps: Monitoring, Metrics, and Logging
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Use the AWS CLI for metrics - Amazon Web Services (AWS) Tutorial
From the course: AWS for DevOps: Monitoring, Metrics, and Logging
Use the AWS CLI for metrics
- [Instructor] Here we are in the AWS CLI Command Reference for Cloudwatch. So we're now going to use the CLI to examine Cloudwatch metrics. When you're working with Cloudwatch, I recommend that you review the documentation for whichever tool you're using whether it's CLI or whether, as we will in subsequent movies CSDK. So you can see here that we have a list of available commands and the first thing we're going to do is just list the metrics. So if we click on the list metrics, we'll get an example and what we're going to do here is we're going to list the metrics available for a specific service so S3 and EC2. Just so we can kind of tie this together with what we saw on the console and again you'll remember we enabled advanced metrics for our EC2 Instance so we'll see something other than defaults. And this will be returned in text so you can see the example here in JSON output. We're going to go ahead and jump over to script file just 'cause I've written out these commands, 'cause…
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.
Contents
-
-
-
-
-
Console tools for metrics1m 52s
-
(Locked)
Use CloudWatch for service monitoring6m 25s
-
(Locked)
Script tools for metrics57s
-
(Locked)
Set up and use the AWS CLI for metrics1m 47s
-
(Locked)
Use the AWS CLI for metrics5m
-
(Locked)
Code tools for metrics1m 30s
-
(Locked)
Setting up the AWS SDK for Node.js1m 47s
-
(Locked)
Use the AWS SDK by example for metrics5m 30s
-
-
-
-
-