To monitor EC2 instances, it is good to monitor the status checks metrics in addition to default metrics or some custom metrics. AWS does not provide an in-built way to monitor memory utilization, swap utilization, or disk utilization, but they do provide the script so that you can create the required metrics and publish them to CloudWatch. Once you have the metric data available in CloudWatch, you can create an alarm and get notified. There are two types of system checks available for EC2 instances.
- System status checks: Things that are outside of your control are indicated by this status check. These include:
- Loss of system power
- Hardware issues on the physical host
- Software issues on the physical host
- Loss of network connectivity
In order to solve this status check, you must stop and restart the EC instance. This way, AWS will launch an EC2 instance...