![]() Monitor the logs using CloudWatch console. Start the CloudWatch agent service in the instance. Prepare CloudWatch agent configuration file and specify the metrics that you want to collect. Install the CloudWatch agent in the EC2 instance.Ĭreate IAM Role with relevant permission and enable the agent to collect metrics from the server. So lets configure the memory, swap space and disk utilisation metric for EC2 at Cloudwatch which cannot be fetched by default by AWS.īelow link includes the detail regarding what are the metrics currently supported by the CloudWatch agent, which includes, disk space, Memory usage etc. We can see details about pricing from below link. Amazon currently charges $$0.30 per custom metric per month. Using CloudWatch’s custom metrics and with the help of Amazon CloudWatch Monitoring Agent we can monitor the such server aspects too. In this what we mainly miss from monitoring is server aspects such as memory, swap and file systems. Its available under CloudWatch console > Click EC2 under “Alarms by AWS service” section. The other type of monitoring is detailed monitoring. If its enabled Cloudwatch publishes the metric we collect at every 1 Minute.īelow is the Cloudwatch metrics enabled by default for an EC2 Instance and the a screenshot for reference. This basic monitoring is free of cost and its available for all EC2 instance we create. We call this as basic monitoring and CloudWatch display it every 5 minutes. In this blog post we discuss how we can effectively monitor an EC2 instance we created using the native and custom metrics available in CloudWatch for EC2 instance.īy default for monitoring purposes, EC2 instances send certain periodic performance metrics to CloudWatch. The thing we monitor in a AWS service or product is called Cloudwatch metric. We can use AWS Cloudwatch to centrally monitor most of the AWS services and products available. Amazon Cloudwatch is a cloud monitoring service provided by AWS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |