Service · Migration and Transfer
AWS Database Migration Service (AWS DMS)
Moves a database to AWS while the source database keeps running.
AWS Cloud
DMS
Source database
Target database
Application
still in use- 1DMS reads the data and the ongoing changes from the source.
- 2It writes them to the target database on AWS.
- 3When the target has caught up, the application switches to it. The pause is short.
Step by step
- 1DMS reads the data and the ongoing changes from the source.
- 2It writes them to the target database on AWS.
- 3When the target has caught up, the application switches to it. The pause is short.
What it is
AWS Database Migration Service (AWS DMS) copies data from a source database to a target database. The source stays fully in use during the migration, and ongoing changes are replicated until you switch over, so downtime is small.
If both sides use the same engine, DMS is enough. If the engines differ, the schema must be converted first. You can do this with DMS Schema Conversion, which is part of DMS, or with the AWS Schema Conversion Tool (AWS SCT), an application you download.
Remember
- The source database stays live during migration.
- Homogeneous: same engine on both sides, for example Oracle to Oracle.
- Heterogeneous: different engines, for example Oracle to Amazon Aurora.
- It can also replicate data continuously, not only migrate once.
On the exam
- “Migrate a database with minimal downtime” is AWS DMS.
- If the question adds “to a different database engine”, the answer includes AWS SCT as well.