# Ensure Monitoring and Alerting is Enabled

- Source: https://support.icompaas.com/support/solutions/articles/62000234486-ensure-monitoring-and-alerting-is-enabled
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS AWS Database Services Benchmark v1.0.0](https://support.icompaas.com/support/solutions/62000112688) › [CIS AWS Database Services Benchmark v1.0.0](https://support.icompaas.com/support/solutions/folders/62000169253)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

Profile Applicability • Level 1

Description  
 Implement monitoring and alerting for your database services using Amazon CloudWatch, EventBridge, and other AWS tools to detect and respond to anomalies in performance, usage, and potential security events.

Rationale  
 Monitoring and alerting ensure continuous visibility into the health and performance of services. Prompt alerts enable timely response to operational or security incidents, reducing downtime and exposure.

Impact

Pros: Improves incident response time, operational insight, and security visibility.  
 − Cons: May introduce additional cost due to CloudWatch metrics and logs usage.  

Default Value  
 By default, monitoring and alerting are not enabled in all AWS database services.

Pre-Requisites  
 • AWS CloudWatch permissions  
• Configured database cluster  
 • IAM roles for CloudWatch and EventBridge if used

### Remediation

#### Test Plan

Sign in to the AWS Management Console  
  

Navigate to the relevant database console (e.g., DocumentDB, Neptune, ElastiCache)  
  

Verify that enhanced monitoring is enabled  
  

Check for configured CloudWatch alarms  
  

Validate EventBridge rules if used  
  

Confirm alerts are triggered on threshold breaches  
  

#### Implementation Plan

Using AWS Console

Sign in to AWS Console  
  

Go to the database service (e.g., Amazon DocumentDB)  
  

Select the cluster and go to Monitoring tab  
  

Enable Enhanced Monitoring and select interval  
  

Go to CloudWatch > Alarms  
  

Click Create Alarm  
  

Select metric (e.g., CPU, memory)  
  

Set threshold and actions (e.g., email, SNS)  
  

Click Create Alarm  
  

(Optional) Go to EventBridge > Rules  
  

Click Create rule, define event pattern  
  

Set target (Lambda, SNS, etc.) and create rule  
  

Using AWS CLI

Enable monitoring:  

aws docdb modify-db-instance --db-instance-identifier mydbinstance --monitoring-interval 60

  
Create alarm:

aws cloudwatch put-metric-alarm --alarm-name HighCPUUtilization \\
  --metric-name CPUUtilization --namespace AWS/DocDB \\
  --statistic Average --period 300 --threshold 80 \\
  --comparison-operator GreaterThanThreshold \\
  --evaluation-periods 2 --alarm-actions arn:aws:sns:us-east-1:123456789012:MyTopic

  
(Optional) Create EventBridge rule:  

aws events put-rule --name MonitorDBEvents --event-pattern file://pattern.json

  
Add target:  

aws events put-targets --rule MonitorDBEvents \\
  --targets "Id"="1","Arn"="arn:aws:lambda:us-east-1:123456789012:function:MyFunction"

  

#### Backout Plan

Using AWS Console

Go to CloudWatch > Alarms  
  

Select alarm and click Delete  
  

Go to database service and disable Enhanced Monitoring  
  

Go to EventBridge > Rules and delete the rule  
  

Using AWS CLI

Delete alarm:  

aws cloudwatch delete-alarms --alarm-names HighCPUUtilization  
Disable monitoring:  
  

aws docdb modify-db-instance --db-instance-identifier mydbinstance --monitoring-interval 0

  
Delete EventBridge rule:  

aws events remove-targets --rule MonitorDBEvents --ids 1

aws events delete-rule --name MonitorDBEvents

  
References

[AWS Monitoring and Logging  
  
](https://docs.aws.amazon.com/cloudwatch/)

[CIS Benchmark - DocumentDB 7.8](https://docs.aws.amazon.com/documentdb/latest/developerguide/monitoring.html)  
  

CIS Controls Mapping

<table style="border:none;border-collapse:collapse;font-family:&quot;Helvetica Neue&quot;"><colgroup style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"></colgroup><tbody style="font-family:&quot;Helvetica Neue&quot;"><tr style="height:40pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Controls Version</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control ID</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control Name</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">IG1</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">IG2</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">IG3</span></span></span></div></td></tr><tr style="height:40pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">v8</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">8.1</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Establish and Maintain an Audit Log Management</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">✔️</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">✔️</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">✔️</span></span></span></div></td></tr><tr style="height:28pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">v7</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">6.2</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Activate audit logging</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">✔️</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">✔️</span></span></span></div></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><div style="text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">✔️</span></span></span></div></td></tr></tbody></table>

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
