Monitoring and Maintaining Application Availability with Amazon CloudWatch
Amazon CloudWatch is a comprehensive monitoring service specifically designed for AWS cloud resources and the applications you run on AWS. It offers the functionality to collect and track metrics, set alarms, and automatically react to changes within your AWS resources. CloudWatch also facilitates the collection, viewing, and analysis of logs for troubleshooting and maintaining the operational health of AWS resources. This chapter will explore the critical role of CloudWatch in ensuring the optimal performance and operational health of applications, enhancing their availability.
CloudWatch offers two monitoring options – Basic and Detailed (enhanced) monitoring:
- Basic monitoring is cost-free and comprises a set of default CloudWatch metrics. For example, EC2 instance metrics such as
CPUUtilization
,DiskReadOps
,DiskWriteOps
,NetworkIn
, andNetworkOut
are just some examples of metrics that are...