Services or capabilities described in this page might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China Regions. Only “Region Availability” and “Feature Availability and Implementation Differences” sections for specific services (in each case exclusive of content referenced via hyperlink) in Getting Started with Amazon Web Services in China Regions form part of the Documentation under the agreement between you and Sinnet or NWCD governing your use of services of Amazon Web Services China (Beijing) Region or Amazon Web Services China (Ningxia) Region (the “Agreement”). Any other content contained in the Getting Started pages does not form any part of the Agreement.

Amazon Database Migration Service Documentation

Amazon Database Migration Service (Amazon DMS) is designed to help you migrate databases to Amazon Web Services so that the source database remains operational during the migration, helping minimize downtime to applications that rely on the database. The Amazon Database Migration Service can migrate your data to and from many widely-used commercial and open-source databases.

Amazon Database Migration Service supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle or Microsoft SQL Server to Amazon Aurora. With Amazon Database Migration Service, you can continuously replicate your data with high availability and consolidate databases into a petabyte-scale data warehouse by streaming data to Amazon Redshift and Amazon S3.

Benefits

Simple to use

With Amazon Database Migration Service, there is no need to install any drivers or applications, and it does not require changes to the source database in most cases. You can begin a database migration in the Amazon Web Services Management Console. Once the migration has started, DMS manages the migration process including automatically replicating data changes that occur in the source database during the migration process. You can also use this service for continuous data replication.

Minimal downtime

Amazon Database Migration Service is designed to help you migrate your databases to Amazon Web Services with minimal downtime. Data changes to the source database that occur during the migration are continuously replicated to the target, allowing the source database to be operational during the migration process. After the database migration is complete, the target database will remain synchronized with the source for as long as you choose, allowing you to switchover the database at a convenient time.

Supports widely used databases

Amazon Database Migration Service can migrate your data to and from many of the widely used commercial and open source databases. It supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle to Amazon Aurora. Migrations can be from on-premises databases to Amazon RDS or Amazon EC2, databases running on EC2 to RDS, or vice versa, as well as from one RDS database to another RDS database. It can also move data between SQL, NoSQL, and text based targets.

On-going replication

You can set up a DMS task for either one-time migration or on-going replication. An on-going replication task keeps your source and target databases in sync. Once set up, the on-going replication task will continuously apply source changes to the target. Data validation and transformations are available for any replication task.

Reliability

The Amazon Database Migration Service continually monitors source and target databases, network connectivity, and the replication instance. In case of interruption, it restarts the process and continues the migration from where it stopped. Multi-AZ option allows you to have high-availability for database migration and continuous data replication by enabling redundant replication instances.

Use cases

Homogeneous Database Migrations

In homogeneous database migrations, the source and target database engines are the same or are compatible like Oracle to Amazon RDS for Oracle, MySQL to Amazon Aurora, MySQL to Amazon RDS for MySQL, or Microsoft SQL Server to Amazon RDS for SQL Server. Since the schema structure, data types, and database code are compatible between the source and target databases, this kind of migration can be a one-step process. You create a migration task with connections to the source and target databases, and then start the migration. The source database can be located in your own premises outside of Amazon Web Services, running on an Amazon EC2 instance, or it can be an Amazon RDS database. The target can be a database in Amazon EC2 or Amazon RDS.

Heterogeneous Database Migrations

In heterogeneous database migrations, the source and target databases engines are different like in the case of Oracle to Amazon Aurora, Oracle to PostgreSQL, or Microsoft SQL Server to MySQL migrations. In this case, the schema structure, data types, and database code of source and target databases can be quite different, requiring a schema and code transformation before the data migration starts. That makes heterogeneous migrations a two-step process. First use the Amazon Schema Conversion Tool, which is designed to convert the source schema and code to match that of the target database, and then use the Amazon Database Migration Service, which is designed to migrate data from the source database to the target database. Required data type conversions will be done by the Amazon Database Migration Service during the migration. The source database can be located in your own premises outside of Amazon Web Services, running on an Amazon EC2 instance, or it can be an Amazon RDS database. The target can be a database in Amazon EC2 or Amazon RDS.

Development and Test

Amazon Database Migration Service is also designed to be used to migrate data both into and out of the cloud for development purposes. There are two common scenarios. The first is to deploy development, test or staging systems on Amazon Web Services Cloud, to take advantage of the cloud’s scalability and rapid provisioning. This way, it is possible for developers and testers to use copies of real production data, and they can copy updates back to the on-premises production system. The second scenario is when development systems are on-premises (often on personal laptops), and you migrate a current copy of an Amazon Web Services Cloud production database to these on-premises systems either once or continuously. This can help avoid disruption to existing DevOps processes while ensuring the up-to-date representation of your production system.

Database Consolidation

Amazon Database Migration Service is also designed to consolidate multiple source databases into a single target database. This can be done for homogeneous and heterogeneous migrations, and you can use this feature with all supported database engines. The source databases can be located in your own premises outside of Amazon Web Services, running on an Amazon EC2 instance, or it can be an Amazon RDS database. The sources databases can also be spread across different locations. For example, one of the source databases can be in your own premises outside of Amazon Web Services, while the second one in Amazon EC2, and the third one in an Amazon RDS database. The target can be a database in Amazon EC2 or Amazon RDS.

Continuous Data Replication

Amazon Database Migration Service is also designed to perform continuous data replication. Continuous data replication has a multitude of use cases including Disaster Recovery instance synchronization, geographic database distribution and Dev/Test environment synchronization. You can use DMS for both homogeneous and heterogeneous data replications for all supported database engines. The source or destination databases can be located in your own premises outside of Amazon Web Services, running on an Amazon EC2 instance, or it can be an Amazon RDS database. You can replicate data from a single database to one or more target databases or consolidate and replicate data from multiple databases to one or more target databases.

Additional Information

For additional information about service controls, security features and functionalities, including, as applicable, information about storing, retrieving, modifying, restricting, and deleting data, please see https://docs.amazonaws.cn/en_us. This additional information does not form part of the Documentation for purposes of the Sinnet Customer Agreement for Amazon Web Services (Beijing Region), Western Cloud Data Customer Agreement for Amazon Web Services (Ningxia Region) or other agreement between you and Sinnet or NWCD governing your use of services of Amazon Web Services China Regions.