> For the complete documentation index, see [llms.txt](https://mamawhocode.gitbook.io/aws/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mamawhocode.gitbook.io/aws/services/migration/dms.md).

# DMS

Database migration service

[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&amp;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&amp;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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://mamawhocode.gitbook.io/aws/services/migration/dms.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
