This rule ensures detailed monitoring is enabled for EC2 instances.
Rule | EC2 instance detailed monitoring should be enabled |
Framework | NIST 800-53 Revision 4 |
Severity | ✔ Medium |
Rule Description
Enabling detailed monitoring for EC2 instances is an important security measure to meet the requirements of NIST 800-53 Revision 4. Detailed monitoring provides a higher level of visibility into the performance metrics of your EC2 instances, allowing you to closely monitor their health and performance. This rule ensures that detailed monitoring is enabled for all EC2 instances, helping you meet the compliance requirements of NIST 800-53.
Troubleshooting Steps
If detailed monitoring is not enabled for an EC2 instance, follow these troubleshooting steps to resolve the issue:
Confirmation: Verify if detailed monitoring is actually disabled for the EC2 instance in question. You can check this by viewing the instance details in the AWS Management Console or by using the AWS Command Line Interface (CLI).
Permission Issues: Ensure that you have the necessary permissions to modify the monitoring settings for the EC2 instance. Check if you have the required IAM (Identity and Access Management) permissions to enable detailed monitoring.
Monitoring Configuration: Review the configuration of your EC2 instances to ensure that detailed monitoring is not explicitly disabled in the instance launch parameters or any auto-scaling configuration.
Instance Type Compatibility: Detailed monitoring is supported for most of the instance types, but there are a few limited instance families that do not support it. Check if the instance type you are using supports detailed monitoring. If not, consider migrating to a compatible instance type.
AWS CLI: If the above steps did not resolve the issue, you can try enabling detailed monitoring using the AWS CLI. Ensure that you have the AWS CLI installed and configured properly.
Necessary Codes
There are no specific codes required to enable detailed monitoring for EC2 instances as it can be done through the management console or AWS CLI.
Step-by-Step Guide for Remediation
To enable detailed monitoring for EC2 instances, follow these step-by-step instructions:
Using AWS Management Console:
Using AWS CLI:
instance-id
with the actual ID of the instance:aws ec2 monitor-instances --instance-ids instance-id
Following these steps will ensure that detailed monitoring is enabled for the EC2 instances, helping you meet the NIST 800-53 Revision 4 compliance requirements.