- Enhanced Monitoring
- Performance Insights
- Database Insights
- CloudWatch Logs
Enhanced Monitoring collects operating-system metrics (CPU, memory, I/O, network) from an agent running on the DB host. Metrics are published to CloudWatch Logs every
monitoring_interval seconds.Variables
| Variable | Default | Description |
|---|---|---|
monitoring_interval | 0 | Seconds between metric collection. 0 disables Enhanced Monitoring. Valid values: 0, 1, 5, 10, 15, 30, 60. |
create_monitoring_role | false | Create the IAM role required to publish metrics to CloudWatch. |
monitoring_role_arn | null | ARN of an existing IAM role to use. Provide this when create_monitoring_role = false and monitoring_interval > 0. |
monitoring_role_name | "rds-monitoring-role" | Name of the IAM role to create when create_monitoring_role = true. |
monitoring_role_use_name_prefix | false | When true, use monitoring_role_name as a prefix. |
monitoring_role_description | null | Description of the monitoring IAM role. |
monitoring_role_permissions_boundary | null | ARN of the IAM permissions boundary to attach to the monitoring role. |
Let the module create the IAM role
Bring your own IAM role
The enhanced-monitoring example shows how to create the role manually and pass its ARN. When using an externally managed role, setcreate_monitoring_role = false (the default) and provide monitoring_role_arn: