DMS replication instances should be configured to use multiple Availability Zones
Checks that the DMS replication instance is a Multi-AZ deployment. DMS then keeps a synchronously replicated standby in another Availability Zone, and if the primary fails or stops responding, the standby resumes the running tasks with minimal interruption.
- service
- DMS
- severity
- Medium
- scope
- evaluated in every region
How to fix it
- Interrupts service: AWS recommends stopping the instance's tasks before modifying it and resuming them once it shows Available, so replication pauses for the change.
In the console
Database Migration Service → Replication instances → the instance → Modify
- Multi-AZ
- Enabled
- Apply changes immediately
- Selected at a quiet time, or left clear to apply the change in the next maintenance window
With the AWS CLI
aws dms modify-replication-instance --replication-instance-arn <replication-instance-arn> --multi-az --region <region>With Terraform
resource "aws_dms_replication_instance" "this" {
replication_instance_id = var.replication_instance_id
replication_instance_class = var.replication_instance_class
multi_az = true
}
See which of your accounts this check is failing on.
Book a live scan