Monitor memory and disk metrics for Amazon EC2 Linux instances You can use Amazon CloudWatch to collect metrics and logs from the operating systems for your EC2 instances. The CloudWatch monitoring scripts are deprecated. We strongly recommend that you use the CloudWatch agent to collect metrics and logs. For more information, see Collect Metrics from Amazon EC2 Instances and On-Premises Servers w