How do I create an AWS DMS replication instance?

3 minute read
0

I want to create a replication instance in AWS Database Migration Service (AWS DMS).

Short description

You can use the following methods to create and modify a replication instance:

The following resolution uses the AWS DMS console.

Resolution

Prerequisite

Create a replication subnet group with at least two subnets in two Availability Zones.

Create a replication instance

Note: If you receive errors when you run AWS CLI commands, then see Troubleshoot AWS CLI errors. Also, make sure that you're using the most recent AWS CLI version.

  1. Open the AWS DMS console
  2. From the navigation pane, choose Replication instances.
  3. Choose Create replication instance.
  4. On the Create replication instance screen, under Settings, enter the following information:
    For Name, enter a name for the instance.
    (Optional) For Descriptive Amazon Resource Name (ARN), enter a name to override the default ARN.
    (Optional) For Description, enter a description.
  5. Under Instance configuration, enter the following information:
    For Instance class, choose an instance class. For more information, see Choosing the right AWS DMS replication instance for your migration.
    For Engine version, choose your engine version.
    For High Availability, choose a failover setting.
  6. In the Storage section, for Allocated storage, choose a storage amount. Because log files and cached transaction primarily consume storage, AWS DMS doesn't use a large amount of storage. For more information, see Allocated storage in the table in Create a replication instance.
  7. Under Connectivity and Security, enter the following information:
    For Network type, select IPv4 or Dual-stack mode.
    For Virtual private cloud (VPC), select the VPC that you want the instance to be in.
    For Public accessible, choose this option if you want the replication instance to be accessible from the internet.
  8. Expand the Advanced settings section, and then enter the following information:
    For Availability zone, choose the Amazon Elastic Compute Cloud (Amazon EC2) Availability Zone where you want to create the replication instance.
    For VPC security groups, choose a VPC security group that you want to assign to the replication instance to manage the outbound traffic.
    For AWS Key Management Service (AWS KMS) key, choose the encryption key you want 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 (AWS KMS key). For more information, see Setting an encryption key and specifying AWS KMS permissions.
  9. Expand the Maintenance section to manage when modification and software updates occur on the replication instance.
    For Maintenance window, enter a time and duration to designate a weekly time range for system maintenance to automatically occur.
    For Automatic version upgrade, choose this option to apply minor engine upgrades to the replication instance automatically during the maintenance window.
  10. Choose Create.

For details about your replication instance, see the AWS CLI command for describe-replication-instances.

Related information

Database migration step-by-step walkthroughs

Migration strategy for relational databases

Working with an AWS DMS replication instance

AWS OFFICIAL
AWS OFFICIALUpdated 4 months ago