How do I create an AWS DMS replication instance?
Last updated: 2018-10-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), or the AWS DMS API Reference. 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.
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 in which 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 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 have minor engine upgrades applied automatically to the replication instance 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.