This rule checks whether a MongoDB instance uses a non-shared-resource instance type.
Scenarios
Dedicated instances have exclusive access to CPU and memory resources, which ensures stable long-term performance unaffected by other instances on the same physical server.
Risk level
Default risk level: Low.
You can change the risk level as needed.
Detection logic
-
A MongoDB instance is considered compliant if it uses a non-shared-resource instance type.
-
A MongoDB instance is considered non-compliant if it uses a shared-resource instance type. To resolve this issue, see Remediation.
Rule details
|
Parameter |
Description |
|
Rule name |
Use dedicated or exclusive instance types for MongoDB |
|
Rule identifier |
mongodb-instance-class-not-shared |
|
Tags |
MongoDB, Instance |
|
Automatic remediation |
Not supported |
|
Rule trigger |
Configuration changes |
|
Supported resource types |
MongoDB instances |
|
Input parameters |
None |
Remediation
Change the instance type of your MongoDB instance to a non-shared-resource type. For more information, see Instance types.