Profile Applicability
- Level 2
Description
The Auto Minor Version Upgrade feature for AWS Database Migration Service (DMS) replication instances ensures that minor engine upgrades, including security patches and performance improvements, are automatically applied during the maintenance window. Enabling this feature helps maintain the stability, security, and performance of your DMS instances without manual intervention.
Rationale
Enhanced Security: Ensures timely application of security patches.
Improved Performance: Keeps instances up-to-date with the latest minor version improvements.
Operational Efficiency: Reduces the need for manual upgrades, minimizing administrative overhead.
Impact
Pros:
Keeps DMS replication instances secure and up-to-date.
Reduces the risk of vulnerabilities due to outdated software.
Simplifies maintenance by automating minor version upgrades.
Cons:
May introduce changes that require compatibility testing.
Requires proper scheduling of maintenance windows to avoid disruptions.
Default Value
By default, Auto Minor Version Upgrade is disabled for DMS replication instances. It must be explicitly enabled during instance creation or modification.
Pre-Requisite
IAM Permissions Required:
dms:DescribeReplicationInstances
dms:ModifyReplicationInstance
AWS CLI installed and configured.
Remediation
Test Plan:
Using AWS Console:
Sign in to the AWS Management Console.
Navigate to Database Migration Service (DMS) > Replication Instances.
Select the replication instance to check its configuration.
Under the Maintenance section, verify if Auto Minor Version Upgrade is enabled.
Using AWS CLI:
Describe the replication instance:
aws dms describe-replication-instances --filters Name=replication-instance-id,Values=<instance-id>
Check the AutoMinorVersionUpgrade field in the output. Ensure it is set to true.
Implementation Steps:
Using AWS Console:
Navigate to Database Migration Service (DMS) > Replication Instances.
Select the replication instance to update.
Click Modify and enable Auto Minor Version Upgrade under the Maintenance section.
Save the changes.
Using AWS CLI:
Enable Auto Minor Version Upgrade for the replication instance:
aws dms modify-replication-instance \ --replication-instance-arn <instance-arn> \ --auto-minor-version-upgrade
Verify the updated configuration:
aws dms describe-replication-instances --filters Name=replication-instance-id,Values=<instance-id>
Backout Plan
Using AWS Console:
If enabling Auto Minor Version Upgrade causes issues, sign in to the AWS Management Console.
Navigate to AWS DMS, select the replication instance, and go to the Modify settings.
Set Auto Minor Version Upgrade to No.
Save the changes and verify that the instance is no longer automatically upgrading to newer minor versions.
Using AWS CLI:
To disable Auto Minor Version Upgrade, run:
aws dms modify-replication-instance --replication-instance-arn <REPLICATION_INSTANCE_ARN> --auto-minor-version-upgrade false
Verify that the setting has been updated by running:\
aws dms describe-replication-instances --replication-instance-arn <REPLICATION_INSTANCE_ARN>