

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 中的同質資料遷移程序概觀 AWS DMS
<a name="dm-getting-started"></a>

您可以在 中使用同質資料遷移 AWS DMS ，在相同類型的兩個資料庫之間遷移資料。使用下列工作流程以建立和執行資料遷移。

1. 建立 required AWS Identity and Access Management (IAM) 政策和角色。如需詳細資訊，請參閱[建立 IAM 資源](dm-iam-resources.md)。

1. 設定來源和目標資料庫，並使用同質資料遷移所需的最低許可來建立資料庫使用者 AWS DMS。如需詳細資訊，請參閱[ 建立來源資料提供者](dm-data-providers-source.md)及[ 建立和設定目標資料庫](dm-data-providers-target.md)。

1. 將您的來源和目標資料庫登入資料存放在其中 AWS Secrets Manager。如需詳細資訊，請參閱《*AWS Secrets Manager 使用者指南*》中的「[步驟 1：建立機密](https://docs.aws.amazon.com/secretsmanager/latest/userguide/hardcoded-db-creds.html#hardcoded-db-creds_step2)」。

1. 在 AWS DMS 主控台中建立子網路群組、執行個體描述檔和資料提供者。如需詳細資訊，請參閱[建立子網路群組](subnet-group.md)、[建立執行個體設定檔](instance-profiles.md)及[ 建立資料提供者](data-providers-create.md)。

1. 使用您在上一個步驟中建立的資源來建立遷移專案。如需詳細資訊，請參閱[ 建立遷移專案](migration-projects-create.md)。

1. 建立、設定和啟動資料遷移。如需詳細資訊，請參閱[建立資料遷移](dm-migrating-data-create.md)。

1. 完成完全載入或進行中複寫之後，您便可開始切換為使用新的目標資料庫。

1. 清除您的資源。Amazon 會在您完成遷移後的三天內終止遷移專案中的資料遷移。不過，您需要手動刪除這類資源，例如執行個體描述檔、資料提供者、IAM 政策和角色，以及其中的秘密 AWS Secrets Manager。

如需 中同質資料遷移的詳細資訊 AWS DMS，請閱讀 [PostgreSQL 到 Amazon RDS for PostgreSQL](https://docs.aws.amazon.com/dms/latest/sbs/dm-postgresql.html) 遷移step-by-step遷移說明。

下列影片介紹同質資料遷移的使用者介面，並協助您熟悉此功能。

[![AWS Videos](http://img.youtube.com/vi/https://www.youtube.com/embed/HOJfrR6lcuU/0.jpg)](http://www.youtube.com/watch?v=https://www.youtube.com/embed/HOJfrR6lcuU)
