Deployment and configuration of the CloudWatch agent in an EC2 instance
When you launch an EC2 instance, whether Linux or Windows, CloudWatch will provide metrics related to the instance, such as CPU, network, and disk metrics, by default. The automated dashboard in Figure 3.2 provides the default AWS vended metrics provided by CloudWatch as part of the EC2 instance built with no additional configuration.
You can view the automatic dashboard generated by AWS CloudWatch by navigating to CloudWatch –> Dashboard –> Automatic Dashboard –> EC2. This should display the default AWS vended metrics provided by CloudWatch, as seen in the following screenshot:
Figure 3.2 – Automated dashboard generated by CloudWatch for default AWS vended EC2 metrics
Building upon the default vended metrics provided by AWS, there are certain metrics that are only visible to the guest operating system, such as memory metrics and page file utilization...