Cloudwatch is a monitoring service from AWS. By default, cloud watch is enabled for your ec2 instances which monitor your instances every five minutes. You can also enable detailed monitoring (Costs extra money ) which monitors your instances every one minute.
Cloudwatch let you monitor your instances using metrics. Following are the few metrics available. It is not limited to those, you can get metrics of other services as well.
Following are the metrics available for ec2.
Following are the metrics available for S3
EBS has many metrics like read, write, queue length etc.
Using these metrics you can create monitoring dashboards with widgets displaying graphs and text data.
This is basically an event notifier for your AWS resources. You can set event notifiers like when an ec2 instance is in running state notify the lambda function to notify DNS entries.
This option lets you aggregate system logs or application logs on cloudwatch and process it. To do this you need to install an agent on your ec2 instance and set a role to write permissions to cloudwatch logs.
You can set specific alarms based on available cloudwatch metrics. Once such example is an alarm to notify CPU utilization. You can set up an alarm with an SNS topic to receive alerts on your email address.
Based on alarm you can also set autoscaling actions (scaling up or down) or an ec2 instance action (stop, reboot or terminate)
Cloudfront is a low-latency content delivery network (CDN) service provided by AWS. Like any other CDN services,…
ec2 (elastic compute cloud) is one of the main services of AWS. It can be considered as the backbone of AWS. When it…
In this IAM essentials, we will look into the important aspects of IAM and its functionalities. IAM Basics 1.…