What is Amazon Database Migration Service? - Amazon Database Migration Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

What is Amazon Database Migration Service?

Amazon Database Migration Service (Amazon DMS) is a cloud service that makes it easy to migrate relational databases, data warehouses, NoSQL databases, and other types of data stores. You can use Amazon DMS to migrate your data into the Amazon Web Services Cloud or between combinations of cloud and on-premises setups.

With Amazon DMS, you can perform one-time migrations, and you can replicate ongoing changes to keep sources and targets in sync. If you want to migrate to a different database engine, you can use the Amazon Schema Conversion Tool (Amazon SCT) to translate your database schema to the new platform. You then use Amazon DMS to migrate the data. Because Amazon DMS is a part of the Amazon Web Services Cloud, you get the cost efficiency, speed to market, security, and flexibility that Amazon services offer.

At a basic level, Amazon DMS is a server in the Amazon Web Services Cloud that runs replication software. You create a source and target connection to tell Amazon DMS where to extract from and load to. Then you schedule a task that runs on this server to move your data. Amazon DMS creates the tables and associated primary keys if they don't exist on the target. You can precreate the target tables yourself if you prefer. Or you can use Amazon Schema Conversion Tool (Amazon SCT) to create some or all of the target tables, indexes, views, triggers, and so on.

The following diagram illustrates the Amazon DMS replication process.

            Getting started with Amazon DMS

For information about what Amazon Regions support Amazon DMS, see Working with an Amazon DMS replication instance. For information on the cost of database migration, see the Amazon Database Migration Service pricing page.

Migration tasks that Amazon DMS performs

Amazon DMS takes over many of the difficult or tedious tasks involved in a migration project:

  • In a traditional solution, you need to perform capacity analysis, procure hardware and software, install and administer systems, and test and debug the installation. Amazon DMS automatically manages the deployment, management, and monitoring of all hardware and software needed for your migration. Your migration can be up and running within minutes of starting the Amazon DMS configuration process.

  • With Amazon DMS, you can scale up (or scale down) your migration resources as needed to match your actual workload. For example, if you determine that you need additional storage, you can easily increase your allocated storage and restart your migration, usually within minutes.

  • Amazon DMS uses a pay-as-you-go model. You only pay for Amazon DMS resources while you use them, as opposed to traditional licensing models with up-front purchase costs and ongoing maintenance charges.

  • Amazon DMS automatically manages all of the infrastructure that supports your migration server, including hardware and software, software patching, and error reporting.

  • Amazon DMS provides automatic failover. If your primary replication server fails for any reason, a backup replication server can take over with little or no interruption of service.

  • Amazon DMS can help you switch to a modern, perhaps more cost-effective, database engine than the one you are running now. For example, Amazon DMS can help you take advantage of the managed database services provided by Amazon Relational Database Service (Amazon RDS) or Amazon Aurora. Or it can help you move to the managed data warehouse service provided by Amazon Redshift, NoSQL platforms like Amazon DynamoDB, or low-cost storage platforms like Amazon Simple Storage Service (Amazon S3). Conversely, if you want to migrate away from old infrastructure but continue to use the same database engine, Amazon DMS also supports that process.

  • Amazon DMS supports nearly all of today's most popular DBMS engines as source endpoints. For more information, see Sources for data migration.

  • Amazon DMS provides a broad coverage of available target engines. For more information, see Targets for data migration.

  • You can migrate from any of the supported data sources to any of the supported data targets. Amazon DMS supports fully heterogeneous data migrations between the supported engines.

  • Amazon DMS ensures that your data migration is secure. Data at rest is encrypted with Amazon Key Management Service (Amazon KMS) encryption. During migration, you can use Secure Socket Layers (SSL) to encrypt your in-flight data as it travels from source to target.