This rule ensures that RDS DB instance and cluster enhanced monitoring is enabled for enhanced security and performance.
Rule | RDS DB instance and cluster enhanced monitoring should be enabled |
Framework | NIST 800-171 Revision 2 |
Severity | ✔ High |
Rule Description:
Enabling RDS DB instance and cluster enhanced monitoring is essential for complying with the NIST 800-171 Revision 2 security requirements. This rule aims to ensure that all RDS database instances and clusters within an organization's AWS environment have the enhanced monitoring feature enabled. Enhanced monitoring provides detailed insights into database performance metrics, enabling better troubleshooting, performance optimization, and security monitoring.
Troubleshooting Steps:
Remediation Steps:
AWS Management Console:
AWS CLI:
Ensure you have the AWS CLI installed and configured with appropriate credentials.
Open the command-line interface or terminal.
Run the following command to enable enhanced monitoring on an RDS instance:
aws rds modify-db-instance --db-instance-identifier <DBInstanceIdentifier> --monitoring-interval <MonitoringInterval> --apply-immediately
Replace
<DBInstanceIdentifier>
with the identifier of the target RDS instance and <MonitoringInterval>
with the desired monitoring interval (in seconds).Alternatively, for RDS clusters, use the following command:
aws rds modify-db-cluster --db-cluster-identifier <DBClusterIdentifier> --cloudwatch-logs-export-configuration <CloudWatchLogsExportConfiguration> --apply-immediately
Replace
<DBClusterIdentifier>
with the identifier of the target RDS cluster and <CloudWatchLogsExportConfiguration>
with the appropriate configuration details.Execute the command, and the enhanced monitoring will be enabled on the specified RDS instance or cluster.
Note: It is recommended to test the changes in a non-production environment before applying them to production instances or clusters.