Using CloudWatch Dashboards to Monitor Resource Utilization

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Welcome to this AWS hands-on lab. We will create and configure multiple custom AWS CloudWatch dashboards and widgets to monitor our resource utilization.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Custom CloudWatch Dashboard
  1. In the CloudWatch console, select Dashboards.
  2. Create a Dashboard, and add the name BHCPUUTILIZATION.
  3. Click Create Dashboard.
  4. Select the Line Widget.
  5. Select the EC2 metrec, and choose Per-Instance Metrics.
  6. Now, search for CPUUTILIZATION and select the BH EC2 instance.
  7. Customize the time interval to 15 minutes.
  8. Create the widget and select Save Dashboard.
Create the Second Custom Dashboard
  1. In the CloudWatch console, select Dashboards.
  2. Create a Dashboard, and add the name APPCPUUTILIZATION.
  3. Click Create Dashboard.
  4. Select the Stacked widget.
  5. Add the metric for EC2, and select Per-Instance Metrics.
  6. Now search for CPUUTILIZATION and select the two wordpress EC2 instances and the RDS instance.
  7. Customize the time interval to 15 minutes.
  8. Create the widget, and select Save Dashboard.
Add an Additional Widget to the Custom Dashboard
  1. Click Add Widget.
  2. Select the Number widget.
  3. Select the metric for Application ELB, then click on Per AppELB Metrics, and select RequestCount.
  4. Create the widget and save the dashboard.
  5. Select Add Widget
  6. Choose the Line widget.
  7. For metrics, select EC2 again, and then Per-Instance Metrics.
  8. Search for NetworkIn and again select our two wordpress EC2 instances and our database instance
  9. Save the dashboard.

Additional Resources

Your company has just issued a new requirement that all team members be more involved with cost savings while having the ability to monitor their applications. To increase the visiblity not only for your company teams (Development, Testing, Production, etc.) but also management and the finance teams, you have decided to create CloudWatch dashboards to monitor the reource allocation of your application to provide more insight into possible cost savings. Let's get started!!!

Go to the AWS Console using the link provided after lab creation is complete.

Log in using the credentials provided to you. You should have been given a user name of 'cloud_user' and a randomly generated password.

When you log in, please make sure you are in the us-east-1 region.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?