From the course: AWS for DevOps: Monitoring, Metrics, and Logging

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Set up and use the AWS CLI for metrics

Set up and use the AWS CLI for metrics - Amazon Web Services (AWS) Tutorial

From the course: AWS for DevOps: Monitoring, Metrics, and Logging

Start my 1-month free trial

Set up and use the AWS CLI for metrics

- [Instructor] Now, we're going to install the AWS CLI. Because we're on a Mac, we'll just copy this command, pip install awscli, and run it from our terminal. Then I'll clear the screen, and I'll click on the Getting Started link. I'm going to click on the Getting Set Up link on the What is the AWS Command Line Interface documentation page. We've already the sign up for AWS of course. Now, we're going to need our user access key and secret access key. I'll scroll to the bottom and click Configuring the AWS CLI. On the Configuring the AWS Command Line Interface documentation page, I'll click Quick Configuration. From the command prompt, I'm going to run this command, aws configure, and I'm going to need to supply my access key for my login, my secret access key, make sure my region matches the region we're working in. I'll accept the default output format, which is JSON. So from the terminal, I'll enter aws configure and then I'll have to put in my key values. So now you're going to…

Contents