Creating Replication Subnet Groups

To be able to launch a DMS Replication instance, it is necessary to specify what subnet group in the VPC the Replication instance will run. A subnet is a range of IP addresses in your VPC in a given Availability Zone. These subnets can be distributed among the Availability Zones for the AWS Region where your VPC is located. DMS Replication instance requires at least two Availability Zones. The following step will demonstrate how to create the subnet group in 2 Availability Zones.

1. WordPress (MySQL) Replication Subnet Group

  1. In the AWS Console, open Services, Migration & Transfer, Database Migration Service.

  2. In the navigation pane, click Subnet groups, then select Create Subnet group. Create subnet group wp

  3. On the Create Subnet group page, specify the following settings:

    1. Subnet group configuration:

      • Name: WP-SubnetGroup
      • Description: Migration Immersion Day - WordPress Subnet Group
      • VPC: Target
    2. Add subnets:

      Select TargetAurora and the one that contains TargetPrivate

  4. Click on Create subnet group

Select subnet group wp

2. OFBiz (PostgreSQL) Replication Subnet Group

  1. In the AWS Console, open Services, Migration & Transfer, Database Migration Service.

  2. In the navigation pane, click Subnet groups, then select Create Subnet group. Create subnet group ofbiz

    1. Subnet group configuration:

      • Name: OFBiz-SubnetGroup
      • Description: Migration Immersion Day - OFBiz Subnet Group
      • VPC: Target
    2. Add subnets:

      Select TargetAurora and the one that contains TargetPrivate

  3. Click on Create subnet group

Select subnet group wp

Now, you have 2 subnet groups created:

All subnet groups created