reference deployment

AWS Database Migration Service Automation Framework on AWS

One-time database migration or continuous replication

This Amazon Web Services (AWS) Quick Start deploys an automated framework to migrate relational databases by using AWS Database Migration Service (AWS DMS) on the AWS Cloud.

This Quick Start is for users who need to do one of the following:

  • Separate AWS DMS migration tasks into two phases (full load and change data capture, or CDC) because they need to run structured query language (SQL) code on the target database in between the two phases
  • Require, due to environment or change-management restrictions, a fully automated code deployment framework for relational database migrations that is repeatable and customizable

You can use this Quick Start as a building block in the entire migration process. This template builds only the components you need and sets up a workflow that notifies you of the status of the migration.

AWS logo

This Quick Start was developed by AWS.


AWS Service Catalog administrators can add this architecture to their own catalog.  

  •  What you'll build
  • Use this Quick Start to automatically set up the following environment in an existing virtual private cloud (VPC) on AWS:

    • A highly available architecture that spans two Availability Zones*
    • In the private subnets:
      • AWS CodeBuild to deploy code into the target Amazon Relational Database Service (Amazon RDS) database
      • An AWS DMS replication instance*
    • AWS DMS endpoints for migrating data and replicating on-going changes from source to target**
    • A versioned Amazon Simple Storage Service (Amazon S3) bucket, used as a source to trigger AWS CodePipeline
    • Amazon Simple Notification Service (Amazon SNS), which streams CodePipeline and AWS DMS events to AWS Lambda and to the end user over email
    • AWS Systems Manager Parameter Store for storing the CodePipeline execution token

    *  The default is not to create a new replication instance, but you have the option to create one.
    ** The template will prompt you for your existing AWS DMS resource configuration.

  •  How to deploy
  • To deploy AWS DMS Automation Framework, follow the instructions in the deployment guide. The deployment process takes about 30 minutes and includes these steps:

    1. Sign in to your AWS account.
    2. Launch the Quick Start.
    3. Test the deployment.

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on this solution.  

  •  Cost and licenses
  • You are responsible for the cost of the AWS services used while running this Quick Start reference deployment. There is no additional cost for using the Quick Start.

    The AWS CloudFormation templates for this Quick Start include configuration parameters that you can customize. Some of these settings, such as instance type, will affect the cost of deployment. For cost estimates, see the pricing pages for each AWS service you will be using. Prices are subject to change.

    Tip: After you deploy the Quick Start, we recommend that you enable the AWS Cost and Usage Report to track costs associated with the Quick Start. This report delivers billing metrics to an S3 bucket in your account. It provides cost estimates based on usage throughout each month, and finalizes the data at the end of the month. For more information about the report, see the AWS documentation.