π AWS DMS Replication Instance Auto Minor Version Upgrade is not enabled π’
- Contextual name: π Replication Instance Auto Minor Version Upgrade is not enabled π’
- ID:
/ce/ca/aws/dms/replication-instance-auto-minor-upgrade
- Located in: π AWS DMS
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
Similar Policiesβ
- AWS Security Hub
- [[DMS.6] DMS replication instances should have automatic minor version upgrade enabled]([DMS.6] DMS replication instances should have automatic minor version upgrade enabled (https://docs.aws.amazon.com/securityhub/latest/userguide/dms-controls.html#dms-6)]
- Internal
dec-x-0d66ed99
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-0d66ed99 | 1 |
Logicβ
- π§ prod.logic.yaml π’
Descriptionβ
Descriptionβ
Ensure that all AWS Database Migration Service (DMS) Replication Instances have the Auto Minor Version Upgrade feature enabled.
Rationaleβ
Enabling auto minor version upgrades ensures that your DMS replication instances automatically receive the latest minor engine updates from AWS. These upgrades can include security patches, bug fixes, and performance improvements without requiring manual intervention.
Impactβ
Updates are deployed during the instanceβs defined maintenance window, which may incur a brief service interruption. Schedule this setting during periods of low traffic to minimize impact on ongoing migrations.
Auditβ
This policy marks an AWS DMS Replication Instance as
INCOMPLIANT
if theMinor Version Automatic Update
checkbox is set to false.
Remediationβ
Remediationβ
To enable automatic minor version upgrades for existing DMS replication instances, use one of the following approaches:
Using AWS CloudFormationβ
- CloudFormation template (YAML):
AWSTemplateFormatVersion: '2010-09-09'
Description: Enable Auto Minor Version Upgrade on an existing DMS replication instance
Parameters:
ReplicationInstanceIdentifier:
Type: String
Description: ARN of the existing DMS replication instance
ReplicationInstanceClass:
Type: String
Description: DMS instance class (e.g., dms.c4.large)
Resources:
AutoMinorUpgradeDMS:
Type: AWS::DMS::ReplicationInstance
Properties:
ReplicationInstanceIdentifier: !Ref ReplicationInstanceIdentifier
ReplicationInstanceClass: !Ref ReplicationInstanceClass
AutoMinorVersionUpgrade: trueNote: Ensure that the
ReplicationInstanceArn
parameter matches the target instanceβs ARN.From Command Lineβ
Run the following command to modify the replication instance:
aws dms modify-replication-instance \
--replication-instance-arn {{replication-instance-arn}} \
... [see more](remediation.md)