Support Documents

Install CloudWatch Logs Agent on EC2 Instance and View CloudWatch Metrics

Lab Details

  1. This lab walks you through installing the CloudWatch Logs Agent on an EC2 instance and using it to view metrics. This can be very helpful when testing your application.

  2. Duration: 30 minutes

  3. AWS Region: US East (N. Virginia) us-east-1

Architecture Diagram

Task Details

  1. Log into the AWS Management Console.

  2. Create an IAM Role.

  3. Create an EC2 instance.

  4. SSH into EC2 Instance.

  5. Download and Install the Cloudwatch agent on EC2.

  6. Configure and Start the Agent.

  7. View the metric in the Cloudwatch Metrics.