Amazon EC2 instances are monitored by Amazon CloudWatch by default.
The default monitoring is called the Basic Monitoring.
Basic Monitoring includes seven pre-selected metrics at five-minute frequency and three status check metrics at one-minute frequency for no additional charge.
However, when you first launch an EC2 instance, you have the option of enabling detailed monitoring.
Detailed Monitoring includes all the metrics available in Basic Monitoring but at one-minute frequency. Instances with Detailed Monitoring enabled allows data aggregation by Amazon EC2 AMI ID and instance type. Detailed Monitoring has an additional fee if selected.
Once an EC2 instance has been launched, you can always toggle detailed monitoring on or off later. This is useful for troubleshooting. So the recommendation is to NOT turn detailed monitoring on initially.
If autoscaling or elastic load balancing is being used, CloudWatch will also provide Amazon EC2 instance metrics aggregated by Auto Scaling group and by Elastic Load Balancer, regardless of whether you have chosen the basic monitoring (by default) or the detailed monitoring.
Monitoring data is retained for two weeks even after the AWS resources has been terminated.
The default monitoring is called the Basic Monitoring.
Basic Monitoring includes seven pre-selected metrics at five-minute frequency and three status check metrics at one-minute frequency for no additional charge.
However, when you first launch an EC2 instance, you have the option of enabling detailed monitoring.
Detailed Monitoring includes all the metrics available in Basic Monitoring but at one-minute frequency. Instances with Detailed Monitoring enabled allows data aggregation by Amazon EC2 AMI ID and instance type. Detailed Monitoring has an additional fee if selected.
Once an EC2 instance has been launched, you can always toggle detailed monitoring on or off later. This is useful for troubleshooting. So the recommendation is to NOT turn detailed monitoring on initially.
If autoscaling or elastic load balancing is being used, CloudWatch will also provide Amazon EC2 instance metrics aggregated by Auto Scaling group and by Elastic Load Balancer, regardless of whether you have chosen the basic monitoring (by default) or the detailed monitoring.
Monitoring data is retained for two weeks even after the AWS resources has been terminated.
Viewing EC2 CloudWatch Metrics from the EC2 Dashboard
You can view the CloudWatch metrics from the EC2 Dashboard page by selecting the Instances option on the left pane of the dashboard, then selecting the Monitoring tab. The metrics of the highlighted instance will show in the bottom pane. You can also click on the View all CloudWatch metrics link which will take you to the CloudWatch service page.
Viewing EC2 CloudWatch Metrics from the CloudWatch Services Page
Select CloudWatch from the Services, Management Tools menu.
We can now select the EC2 option on the left pane to view the different Metrics for any Instances.
Comments
Post a Comment