Monitoring System-Level Metrics for AWS and On-Premises Servers - Best Practices and Solutions

Unified Dashboard for Monitoring AWS and On-Premises Servers

Question

You are the IT administrator for your company.

The company has a set of servers sitting on AWS and a set of them sitting on their on-premises locations.

They want to monitor the system-level metrics for both sets of servers with a unified dashboard for monitoring.

Which of the following can help to achieve this? (Select TWO)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - A and C.

The AWS Documentation mentions the following.

The unified CloudWatch agent enables you to do the following.

· Collect more system-level metrics from Amazon EC2 instances, including in-guest metrics, in addition to the metrics listed in Amazon EC2 Metrics and Dimensions.

The additional metrics are listed in Metrics Collected by the CloudWatch Agent.

· Collect system-level metrics from on-premises servers.

These can include servers in a hybrid environment as well as servers not managed by AWS.

· Collect logs from Amazon EC2 instances and on-premises servers, running either Linux or Windows Server.

Option B is incorrect since you don't need to migrate the servers since the Cloudwatch agent can monitor them.

Option D is incorrect since this is not the monitoring service but the API monitoring service.

For more information on the CloudWatch agent, please refer to the below URL-

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html

The company wants to monitor the system-level metrics for both on-premises and AWS servers with a unified dashboard for monitoring. To achieve this, we can take the following steps:

  1. Install the CloudWatch agent on both sets of servers:

The CloudWatch agent is a lightweight software component that can be installed on both on-premises and EC2 instances to collect system-level metrics such as CPU utilization, memory usage, and disk I/O. After installing the agent, the metrics are sent to CloudWatch, where they can be viewed and analyzed.

  1. Setup the metrics dashboard in CloudWatch:

CloudWatch Metrics is a fully managed service that collects and monitors metrics from various AWS resources such as EC2 instances, DynamoDB tables, and RDS instances. We can create a dashboard in CloudWatch that displays metrics from both on-premises and AWS servers.

Therefore, the correct answers are A and C.

Migrating on-premises servers to AWS (option B) is not necessary to achieve the goal of monitoring system-level metrics for both sets of servers. Similarly, setting up a metrics dashboard in CloudTrail (option D) is not possible as CloudTrail is a service that records API calls made in the AWS environment, not a monitoring service like CloudWatch.