How do I create an AWS DMS replication instance?
Last updated: 2020-12-17
How do I create a replication instance in AWS Database Migration Service (AWS DMS)?
You can create and modify a replication instance by using the AWS DMS console, the AWS Command Line Interface (AWS CLI), the AWS DMS API reference, or AWS CloudFormation. The following resolution uses the AWS DMS console.
Note: Before you begin, create a replication subnet group with at least two subnets in two Availability Zones (AZs).
Note: If you receive errors when running AWS CLI commands, make sure that you’re using the most recent version of the AWS CLI.
Create a replication instance
- Open the AWS DMS console, and choose Replication instances from the navigation pane.
- Choose Create replication instance.
- Configure the following parameters:
Name - Enter a name.
Description - Enter a description.
Instance class - Choose the instance class. For more information, see Selecting the right AWS DMS replication instance for your migration.
Engine version - Choose your engine version.
Allocated storage - AWS DMS doesn't use a significant amount of storage because storage is primarily consumed by log files and cached transactions. For more information about allocated storage, see Allocated storage in the table in Create a replication instance.
VPC - Select the virtual private cloud (VPC) that you want the instance to be in.
Multi-AZ - Choose Yes or No. For more information, see Working with an AWS DMS replication instance.
Publicly accessible - Choose this option if you want the replication instance to be accessible from the internet.
- Expand the Advanced security and network configuration section, and then configure the following:
Replication subnet group - Select the replication subnet group that you created.
Availability Zone - The Amazon Elastic Compute Cloud (Amazon EC2) Availability Zone where the replication instance will be created.
VPC security group(s) - Choose a VPC security group that you want to assign to the replication instance to manage the outbound traffic.
KMS master key - Choose the encryption key to use to encrypt replication storage and connection information. You can choose the default key with an alias (aws/dms) or a customer managed key (CMK). For more information, see Setting an encryption key and specifying AWS Key Management Service (AWS KMS) permissions.
- Expand the Maintenance section to manage when modification and software updates occur on the replication instance.
Auto minor version upgrade - Choose this option to apply minor engine upgrades to the replication instance automatically during the maintenance window.
Maintenance window - Choose this option to designate a weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Choose Create.
For details about your replication instance, see the AWS CLI command for describe-replication-instances.