Wednesday 29 July 2020

How to enable Cloud Watch detail monitoring for EC2 instance

what is cloud watch service?

Amazon Cloud watch is a monitoring service to monitor your AWS resources, as well as the applications that you run on AWS.

Cloud watch can monitor things like
  • Compute
  • EC2 instances
  • Auto scaling Groups
  • Elastic Load Balancers
  • Route53 Health Checks
  • EBS Volumes
  • Storage Gateways
  • Cloud Front 
More over cloudwatch monitor the performance.

Host Level Metrics consist of:


  • CPU 
  • Network
  • Disk
  • Status Check


What is AWS Cloud Trail?

AWS CloudTrail increases visibility into your user and resource activity by recording AWS management console actions and API calls. You can identify which users and account called AWS, the source IP address from which the calls were made, and when the calls occurred.

CloudTrail monitors API calls in the AWS platform.


Note:


  • Cloudwatch is used for monitoring performance.
  • Cloudwatch can monitor most of AWS as well as your applications that run on AWS.
  • Cloudwatch with EC2 will monitor events every 5 minutes by default.Can have 1 minute intervals by turning on detailed monitoring.
  • You can create cloudwatch alarms which trigger notifications.
  • Cloudwatch is all about performance. CloudTrail is all about auditing.

Practical steps:

Note: By following the below process, all the monitoring information will be collected from the system for every 1 min.

1. login to AWS console.
2.Navigate to Compute -->EC2--> Launch instance
3.Select the required AMI.
4.Choose instance type.
5. To enable detail monitoring for every one minute, check the checkbox as shown below.


6.Add storage in the next phase.
7.Add Tags.
8.Configure Security groups.
9.Finally Review and launch instance.
10.Once after completing the launch.in the monitor tab detail analysis is available.






No comments:

Post a Comment