Use CloudWatch for Resource Monitoring

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Welcome to this AWS hands-on lab for Using CloudWatch for Resource Monitoring!

This lab provides practical experience with creating and configuring multiple custom AWS CloudWatch dashboards and widgets.

The primary focus will be on the following features within CloudWatch:

1. CloudWatch Dashboards
1. Dashboard Widgets
1. CloudWatch Metrics

CloudWatch Dashboards built with custom widgets allow you to visually monitor resources and proactively take actions if needed. Overall, the dashboards give you a central (and visual) view of how your monitored resources are behaving at specific points in time.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a CloudWatch Dashboard for the DMZ Layer

Create a CloudWatch dashboard specific to the DMZ layer. After, setup a widget within the DMZ Layer dashboard for the bastion host instance, set to monitorthe CPUUtilization metric.

  1. In the AWS Management Console, navigate to CloudWatch.
  2. Select Dashboards
  3. Choose Create dashboard (Give your dashboard a name)
  4. Select a Line widget.
  5. Under All Metrics > EC2 > Per-instance Metrics, enter CPUUtilization into the search bar. Find the bastion-host server row, select it, and then choose Create widget.
Create a CloudWatch Dashboard for the Application Layer

Create a separate CloudWatch dashboard with widgets displaying metrics specific to the Application Layer.

You will set up the following metrics for both instance-wordpress instances and the database instance: CPUUtilization and NetworkIn.

  1. In the AWS Management Console, navigate to CloudWatch.
  2. Select Metrics
  3. Choose Create new at the dashboard selection. Name and save it.
  4. Select a Stacked area widget.
  5. Under All Metrics > EC2 > Per-instance Metrics. From there find CPUUtilization, click on it, then choose Search for this only in the dropdown.
  6. Find the instance-wordpress rows and the database row. Select them, and then choose Create widget.
  7. Find the database row, select it, and then choose Create widget.
  8. Repeat these steps that guided you in setting up the CPUUtilization metric for the instance-wordpress and database instances, but this time choose the NetworkIn metric.

You will also set up the following metric for the Application Load Balancer named load-balancer: RequestCount.

  1. In the AWS Management Console, navigate to CloudWatch.
  2. Select Dashboards
  3. Choose the App Layer specific dashboard.
  4. Select Add widget
  5. Select a Number widget.
  6. Under All Metrics, select the ApplicationELB namespace, then Per AppELB Metrics. From there find RequestCount and find the load-balancer row, then choose Create widget.

Additional Resources

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

Login 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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


Sign In
Welcome Back!

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