Monitoring is an important aspect of the application life cycle. It involves checking application performance, health checks, resource consumption metrics, and so on. Traditionally, we need to configure external software that will monitor our application and notify the user that some problem is happening with the system; then the user can take the necessary steps to overcome the problem. Problems can be the failure of some application or hardware, high memory consumption, sudden high traffic on the applications, no traffic redirected to a distributed application, requests being processed slowly, which causes delay in response times.
Amazon CloudWatch is a smart tool to monitor AWS resources and our applications deployed on AWS. It allows us to use existing AWS resource metrics and also we can add our custom metrics, which can be used for monitoring purposes...