There are others ways to install CloudWatch agent, in this post we will cover the manual process. When launching EC2 Instance, simply select the IAM Role that we have created in the previous step as shown in the slide Name your role such as EC2CloudWatchAgentRole and click Create role Search for cloudwatch and check CloudWatchAgentServerPolicy and click Review Select AWS Service, EC2, and Next: Permissions button Log in to AWS console and select Services > IAM or Search IAMĬlick Role in the left panel and click Create Role button Install CloudWatch agent on the EC2 Instanceįollowing are the details of the above steps Create CloudWatch Role.In summary, you need to do the following: Note: You can also monitor EC2 instances using older Perl scripts click here for more info This post covers how to enable custom detail monitoring and collect memory and disk metrics using AWS CloudWatch agent, later you can build custom CloudWatch dashboards using these metrics. While limited monitoring is enabled by default, it does not cover the memory utilization or disk I/O of the instances, for these use cases you need to enable custom monitoring on EC2 instances. Instances with Detailed Monitoring enabled allows data aggregation by Amazon EC2 AMI ID and instance type. Detailed Monitoring for Amazon EC2 instances: All metrics available to Basic Monitoring at one-minute frequency, for an additional charge.Basic Monitoring for Amazon EC2 instances: Seven pre-selected metrics at five-minute frequency and three status check metrics at one-minute frequency, for no additional charge.There are 2 main types of monitoring you can do on AWS EC2 Instances as follows Monitoring is a critical part of any cloud infrastructure and it is important to maintain reliability, availability, and performance of your AWS cloud applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |