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.
Duration: 30 minutes
AWS Region: US East (N. Virginia) us-east-1
Log into the AWS Management Console.
Create an IAM Role.
Create an EC2 instance.
SSH into EC2 Instance.
Download and Install the Cloudwatch agent on EC2.
Configure and Start the Agent.
View the metric in the Cloudwatch Metrics.