# DMS

[Console](https://aws.amazon.com/dms/?nc2=type_a) | [Document](https://docs.aws.amazon.com/dms/index.html) | [FAQ](https://aws.amazon.com/dms/faqs/)

## Overview

* Managed service helps you migrate DB to the cloud with virutally no downtime.
* All data changes to the source database that occur during the migration are ***continuously replicated to the target***

<figure><img src="https://2259236002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuh9xZDZ53qGqmMCM44PU%2Fuploads%2F3SXye3RuGAZFmsAWBjeH%2Fimage.png?alt=media&#x26;token=9b11e982-7af9-4bcc-bf8c-f6aeefbf2808" alt=""><figcaption><p>Evaluate the use of DMS</p></figcaption></figure>

## Features

* automatically assesses and converts your source schemas to a new target engine.
* can replicate data from source DB to target DB in real-time
* multiple DB support: Oracle, SQL Server, MySQL, PostgreSQL, MongoDB...

### Homogeneous (x to x)

migrate to the `same` DB engine

### Heterogeneous (x to y)

migrate to `different` DB engine

## Migration process

<figure><img src="https://2259236002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuh9xZDZ53qGqmMCM44PU%2Fuploads%2FHBrpt1NPE46jBTjiwxtJ%2Fimage.png?alt=media&#x26;token=430d2427-faae-4af8-9bcf-f1b3d177f440" alt=""><figcaption><p>Migration process</p></figcaption></figure>

## Use cases

* In case there is no other official dump and restore tool.

## Best practices

* Use SCT tool: help convert the DB Schema to a format that compatible with your target DB.

## Trivia

* DMS is free, you pay for the replication instances.
