

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

# SQL Server 資料庫遷移方法
<a name="methods"></a>

遷移 SQL Server 資料庫的方法有多種 AWS。您可以根據您的評估和需求，從 AWS 服務和 SQL Server 原生功能中進行選擇。本節說明一些最常見的方法，這些方法摘要在下列兩個資料表中。本指南稍後的 Amazon EC2 和 Amazon RDS 章節中包含部分這些方法的詳細討論。

**AWS 服務**


****  

| 遷移方法 | Target | 功能和限制 | 其他資訊 | 
| --- | --- | --- | --- | 
| **AWS DMS** | Amazon EC2 Amazon RDS Amazon RDS Custom Amazon Aurora | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [AWS DMS](heterogeneous-migration-tools.md#aws-dms) 區段 | 
| **AWS Migration Hub Orchestrator** | Amazon EC2 Amazon RDS | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [AWS Migration Hub Orchestrator](mho.md) 區段 | 
| **AWS Application Migration Service** | Amazon EC2 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | 本指南未涵蓋 （請參閱 [Application Migration Service 文件](https://docs.aws.amazon.com/mgn/index.html)) | 
| **AWS Snowball Edge** | Amazon EC2 Amazon RDS Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [Snowball Edge](snowball-edge.md) 區段 | 

**SQL Server 原生方法**


****  

| 遷移方法 | Target | 功能和限制 | 其他資訊 | 
| --- | --- | --- | --- | 
| **原生備份和還原** | Amazon EC2 Amazon RDS Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [原生 SQL Server 備份/還原](native-backup-restore.md)區段 （您可以使用 [AWS Migration Hub Orchestrator](mho.md)來自動化原生備份和還原） | 
| **日誌傳送** | Amazon EC2 Amazon RDS Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [日誌運送](log-shipping.md)區段 | 
| **自訂日誌運送** |  Amazon RDS Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [使用自訂日誌運送將內部部署或 Amazon EC2 SQL Server 自動化至 Amazon RDS for SQL Server 遷移](https://aws.amazon.com/blogs/database/automate-on-premises-or-amazon-ec2-sql-server-to-amazon-rds-for-sql-server-migration-using-custom-log-shipping/) (AWS 部落格文章） | 
| **資料庫鏡像** | Amazon EC2 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [資料庫鏡像](db-mirroring.md)區段 | 
| **Always On 可用性群組** | Amazon EC2 Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [Always On 可用性群組](always-on.md)區段 | 
| **Basic Always On 可用性群組** | Amazon EC2 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | 本指南未涵蓋 （請參閱 Microsoft 文件中[單一資料庫的基本 Always On 可用性群組](https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/basic-availability-groups-always-on-availability-groups)) | 
| **分散式可用性群組** | Amazon EC2 Amazon RDS Custom （僅限遷移） | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [分散式可用性群組](distributed-groups.md)區段 | 
| **交易式複寫** | Amazon EC2 Amazon RDS Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | [交易複寫](trans-rep.md)區段 | 
| **大量複製程式 (bcp)** | Amazon EC2 Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | 本指南未涵蓋 （請參閱《Amazon RDS 文件》中的[使用其他方法大量複製一節匯入和匯出 SQL Server 資料](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.Snapshots.html)) **  | 
| **分離並連接** | Amazon EC2 Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | 本指南未涵蓋 （請參閱 Microsoft 文件中的[資料庫分離和連接](https://learn.microsoft.com/en-us/sql/relational-databases/databases/database-detach-and-attach-sql-server)) | 
| **匯入/匯出** | Amazon EC2 Amazon RDS Amazon RDS Custom | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/methods.html) | 本指南未涵蓋 （請參閱《Amazon RDS 文件》中的[使用其他方法匯入和匯出 SQL Server 資料](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.Snapshots.html#SQLServer.Procedural.Exporting.SSIEW)) | 

# 原生 SQL Server 備份/還原
<a name="native-backup-restore"></a>

Amazon RDS 支援使用完整和差異備份 (.bak) 檔案的 Microsoft SQL Server 資料庫原生備份和還原操作。它也支援 Amazon RDS for SQL Server 資料庫執行個體或 Amazon EC2 SQL Server 執行個體上的差異還原和日誌還原選項，以將應用程式的停機時間降至最低。

**注意**  
您可以在 Amazon RDS for SQL Server 上執行完整、差異和日誌還原操作。不過，您目前只能執行完整和差異備份 （非日誌備份）。

使用原生 .bak 檔案是備份和還原 SQL Server 資料庫的最簡單方法。您可以使用此方法在 Amazon RDS 之間遷移資料庫。您可以備份和還原單一資料庫，而不是整個資料庫執行個體。您也可以在 Amazon RDS for SQL Server 資料庫執行個體之間移動資料庫。

當您使用 Amazon RDS 時，您可以在 Amazon Simple Storage Service (Amazon S3) 中存放和傳輸備份檔案，為災難復原增加一層保護。例如：
+ 您可以從本機伺服器建立資料庫的完整備份，將其複製到 S3 儲存貯體，然後將其還原至現有的 Amazon RDS SQL Server 資料庫執行個體。
+ 您可以從 Amazon RDS for SQL Server 資料庫執行個體取得備份，將其存放在 Amazon S3 中，然後視需要還原。
+ 您可以實作 [Amazon S3 生命週期](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html)組態規則來封存或刪除長期備份。

Amazon RDS for SQL Server 支援將 SQL Server 原生備份還原至已設定僅供讀取複本的 SQL Server 資料庫執行個體。這表示您不需要移除僅供讀取複本，即可將原生備份檔案還原至 Amazon RDS for SQL Server 資料庫執行個體。

**注意**  
您可以使用 Migration Hub Orchestrator 自動化和協調 SQL Server 資料庫遷移至 Amazon EC2 或 Amazon RDS，方法是使用原生備份和還原。如需詳細資訊，請參閱 [AWS Migration Hub Orchestrator 一節](mho.md)。

 下圖顯示原生 SQL Server 備份/還原程序。您可以使用 Migration Hub Orchestrator 來自動化此程序。您也可以使用此程序將 SQL Server 資料庫備份和還原至 Amazon EC2。

 ![\[SQL Server migration process with native SQL Server backup/restore\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/images/sql-native-backup-restore.png) 

若要自動化備份和還原，請參閱 [Migration Hub Orchestrator 文件](https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/what-is-migrationhub-orchestrator.html)。

若要使用 Amazon S3 設定原生備份/還原，請參閱 [Amazon RDS 文件](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html#SQLServer.Procedural.Importing.Native.Enabling)。

如需使用 SQL Server 原生備份和還原時的限制，請參閱 Amazon RDS 文件中的[限制和建議](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html#SQLServer.Procedural.Importing.Native.Limitations)。

# 日誌傳送
<a name="log-shipping"></a>

您可以使用日誌運送，將交易日誌備份從主要現場部署 SQL Server 資料庫傳送至部署在 EC2 執行個體或 AWS 雲端中 Amazon RDS for SQL Server 資料庫執行個體上的一或多個次要 （暖待命） SQL Server 資料庫。若要在 Amazon RDS for SQL Server 上設定日誌運送，您必須使用自己的自訂指令碼。

在此案例中，您會在 EC2 執行個體或 Amazon RDS for SQL Server 資料庫執行個體上設定暖待命 SQL Server 資料庫，並在現場部署資料庫與 AWS 雲端中的暖待命伺服器之間以非同步方式傳送交易日誌備份。然後，交易日誌備份會套用至暖待命資料庫。套用所有日誌後，您可以執行手動容錯移轉並切換到雲端。

此選項支援 SQL Server 的所有版本和版本。將資料庫遷移至 AWS 雲端之後，您可以使用 Always On 可用性群組來新增次要複本，以實現高可用性和彈性。

 ![\[SQL Server migration process with log shipping\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/images/sql-migration-log-shipping.png) 

如需有關使用此方法在 Amazon EC2 上實現 SQL Server 資料庫高可用性、資料保護和災難復原的詳細資訊，請參閱《*Amazon EC2 for SQL Server*》一節中的[日誌運送](ec2-log-shipping.md)。

# 資料庫鏡像
<a name="db-mirroring"></a>

您可以使用資料庫鏡像來設定 SQL Server 資料庫的混合雲端環境。此選項需要 SQL Server Enterprise Edition。在此案例中，您的主要 SQL Server 資料庫會在內部部署執行，而您會在雲端中建立暖待命。您可以非同步複寫資料，並在準備好進行切換時執行手動容錯移轉。將資料庫遷移至 AWS 雲端之後，您可以使用 Always On 可用性群組來新增次要複本，以實現高可用性和彈性。

如需有關使用此方法在 Amazon EC2 上實現 SQL Server 資料庫高可用性、資料保護和災難復原的詳細資訊，請參閱*《Amazon EC2 for SQL Server*》一節中的[資料庫鏡像](ec2-db-mirroring.md)。

# Always On 可用性群組
<a name="always-on"></a>

SQL Server Always On 可用性群組是一項進階的企業級功能，可提供高可用性和災難復原解決方案。如果您使用 SQL Server 2014 和更新版本，即可使用此功能。您也可以使用 Always On 可用性群組，將內部部署 SQL Server 資料庫遷移至 Amazon EC2 AWS。此方法可讓您在最短或完全沒有停機時間的情況下遷移資料庫。

如果您現有的現場部署 SQL Server Always On 可用性群組，您的主要複本和次要複本將同步複寫可用性群組中的資料。因此，若要將資料庫遷移至 AWS 雲端，您可以將 Windows Server 容錯移轉叢集 (WSFC) 叢集擴展至雲端。這可以是暫時的，僅用於遷移目的。然後，您可以在 AWS 雲端中建立次要複本，並使用非同步複寫，如下圖所示。次要複本與主要現場部署資料庫同步之後，只要準備好進行切換，您就可以執行手動容錯移轉。

 ![\[SQL Server migration process with Always On availability groups\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/images/sql-migration-always-on.png) 

如需有關使用此方法在 Amazon EC2 上實現 SQL Server 資料庫高可用性、資料保護和災難復原的詳細資訊，請參閱 *Amazon EC2 for SQL Server *區段中的 [Always On 可用性群組](ec2-always-on.md)。

# 分散式可用性群組
<a name="distributed-groups"></a>

分散式可用性群組跨越兩個不同的可用性群組。您可以將其視為可用性群組的可用性群組。基礎可用性群組是在兩個不同的 WSFC 叢集上設定。參與分散式可用性群組的可用性群組不需要共用相同的位置。它們可以是實體或虛擬、內部部署或公有雲端。分散式可用性群組中的可用性群組不需要執行相同版本的 SQL Server。目標資料庫執行個體可以執行較來源資料庫執行個體更新的 SQL Server 版本。

分散式可用性群組架構可讓您靈活地重新託管關鍵任務 SQL Server 執行個體或資料庫 AWS。它提供了一個混合解決方案，用於提升和轉移 （或提升和轉換） 您的關鍵 SQL Server 資料庫 AWS。

使用分散式可用性群組架構比將現有的內部部署 WFSC 叢集延伸至其中更有效率 AWS。資料只會從內部部署主要 傳輸到其中一個複本 AWS (*轉寄站*)。轉送者負責將資料傳送至其他次要僅供讀取複本 AWS。

在下圖中，第一個 WSFC 叢集 (WSFC 1) 託管於內部部署，並具有內部部署可用性群組 (AG 1)。第二個 WSFC 叢集 (WSFC 2) 託管在 上， AWS 並具有 AWS 可用性群組 (AG 2)。 [Direct Connect](https://aws.amazon.com/directconnect/) 用作內部部署環境與 之間的專用網路連線 AWS。內部部署可用性群組 (AG 1) 有兩個複本 (*節點*)。節點之間的資料傳輸是同步的，具有自動容錯移轉。同樣地， AWS 可用性群組 (AG 2) 也有兩個複本，而且它們之間的資料傳輸與自動容錯移轉同步。分散式可用性群組會以非同步方式讓資料庫保持同步。資料會從 AG 1 （內部部署） 中的 SQL Server 主要複本傳輸至 AG 2 （開啟） 中的主要複本 （轉寄站） AWS。轉送者負責將資料傳送至 上的其他僅供讀取複本， AWS 並保持更新狀態。現場部署和 AWS 資料庫同步後，您可以手動容錯移轉分散式可用性群組 AWS。 AWS 資料庫會成為從應用程式讀取/寫入存取的主要資料庫。

 ![\[SQL Server migration process with distributed availability groups\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/images/sql-migration-distributed-availability-groups.png) 

**注意**  
在任何指定的時間點，只有一個資料庫可用於寫入操作。您可以使用剩餘的次要複本進行讀取操作。若要擴展讀取工作負載，您可以在多個可用區域中新增更多僅供讀取複本 AWS。

如需分散式可用性群組的詳細資訊，請參閱：
+ [Microsoft SQL Server 文件](https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/distributed-availability-groups)
+ [如何使用資料庫部落格上的分散式可用性群組來架構混合 Microsoft SQL Server 解決方案](https://aws.amazon.com/blogs/database/how-to-architect-a-hybrid-microsoft-sql-server-solution-using-distributed-availability-groups/) AWS 
+ 在 AWS 規範指引 網站上[AWS 使用分散式可用性群組將 SQL Server 遷移至](https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/migrate-sql-server-to-aws-using-distributed-availability-groups.html) 

# 交易式複寫
<a name="trans-rep"></a>

交易複寫是一種 SQL Server 技術，用於複寫兩個資料庫之間的變更。這些變更可能包括資料庫物件，例如資料表 （需要主索引鍵）、預存程序、檢視等，以及資料。複寫程序涉及*發佈者* （發佈資料的主要資料庫）、*訂閱者* （接收複寫資料的次要資料庫） 和*經銷商* （存放中繼資料和交易以進行交易複寫的伺服器）。您可以在 Amazon EC2 和 Amazon RDS for SQL Server 資料庫執行個體上使用 SQL Server 的交易複寫。

交易複寫會建立現場部署 （發佈） 資料庫中物件和資料的快照，並將其傳送至訂閱者資料庫。將快照套用至訂閱者之後，在發佈者進行的所有後續資料變更和結構描述修改都會在發生時傳送給訂閱者。然後，資料變更會以發佈者發生的相同順序持續套用至訂閱者。

同步完成後，您會對目標 SQL Server 資料庫執行個體執行驗證。當兩個資料庫同步時，您可以停止現場部署資料庫上的活動，確保複寫已完成，然後執行目標 SQL Server 資料庫執行個體的切換。然後，您可以停止推送訂閱、將其刪除，並開始使用 Amazon RDS for SQL Server。

訂閱者資料庫也可以用作唯讀資料庫。記錄同步任務的經銷商建議位於不同的伺服器上。如果您的目標資料庫位於 Amazon RDS for SQL Server，您可以設定推送訂閱，將變更傳播給訂閱者。

當您想要執行下列動作時，建議您使用交易複寫：
+ 將您的資料一次性遷移至 Amazon RDS 或 Amazon EC2。
+ 將結構描述層級或資料表層級物件遷移至 AWS。
+ 將資料庫的一部分遷移至 AWS。
+ 透過新增其他訂閱者，使用現有的 SQL Server 複寫策略，以最短的停機時間進行遷移。

如果您打算使用交易複寫將資料一次性遷移到 Amazon RDS for SQL Server，我們建議您設定複寫的單一可用區組態。複寫程序完成後，您可以將環境轉換為多可用區域架構，以獲得高可用性。

下圖顯示 Amazon RDS 和 Amazon EC2 上資料庫的交易複寫程序。

 ![\[SQL Server migration process with transactional replication\]](http://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/migration-sql-server/images/sql-migration-transactional-replication.png) 

如需交易複寫的詳細資訊，請參閱 AWS 資料庫部落格上的 [Microsoft SQL Server 文件](https://docs.microsoft.com/en-us/sql/relational-databases/replication/transactional/transactional-replication)和文章[如何使用交易複寫遷移至 Amazon RDS for SQL Server](https://aws.amazon.com/blogs/database/how-to-migrate-to-amazon-rds-for-sql-server-using-transactional-replication/)。

# AWS Migration Hub Orchestrator
<a name="mho"></a>

**注意**  
AWS Migration Hub 自 2025 年 11 月 7 日起不再向新客戶開放。對於類似 的功能 AWS Migration Hub，請探索 [AWS Transform](https://aws.amazon.com/transform/)。

AWS Migration Hub Orchestrator 可協助您協調 SQL Server 資料庫並自動遷移至 Amazon EC2 或 Amazon RDS。的此功能 AWS Migration Hub 可協助您使用根據最佳實務建置的預先定義工作流程範本快速入門。Migration Hub Orchestrator 會自動執行遷移過程中涉及的容易出錯的手動任務，例如檢查環境準備程度和連線。除了 SQL Server 資料庫之外，您也可以使用 Migration Hub Orchestrator 來協調和加速 .NET 應用程式、SAP 工作負載和虛擬機器映像的遷移。您可以透過 [Migration Hub Orchestrator 主控台](https://console.aws.amazon.com/migrationhub/orchestrator/)存取此工具。

針對 SQL Server 遷移，Migration Hub Orchestrator 支援三種使用案例：
+ 在 Amazon EC2 上重新託管 SQL Server。您可以選擇特定的 SQL 伺服器，並在 Migration Hub Orchestrator 中使用自動原生備份和還原，在 Amazon EC2 上重新託管這些伺服器。若要進一步了解，請參閱 Migration Hub Orchestrator 文件中的在 [Amazon EC2 上重新託管 SQL 伺服器](https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/rehost-sql-ec2.html )。
+ 在 Amazon RDS 上複寫 SQL Server。您可以選擇特定的 SQL Server 資料庫，並使用 Migration Hub Orchestrator 中的自動原生備份和還原，在 Amazon RDS 上進行重新格式化。若要進一步了解，請參閱 Migration Hub Orchestrator 文件中的在 [Amazon RDS 上複寫 SQL 伺服器](https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/replatform-sql-rds.html)。
+ 在 Amazon EC2 上重新託管 Windows 和 SQL Server 應用程式。您可以使用 Amazon EC2 *範本上的 Rehost 應用程式，將執行 .NET 和 SQL Server 的 Windows 伺服器移至 Amazon EC2*。若要進一步了解，請參閱 Migration Hub Orchestrator 文件中的在 [Amazon EC2 上重新託管應用程式](https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/rehost-on-ec2.html)。

Migration Hub Orchestrator 有助於避免 SQL Server 遷移中的排程和預算超支。其他主要優點包括：
+ 使用規範方法遷移應用程式。您可以根據經過驗證的遷移最佳實務，快速開始使用預先定義的工作流程範本。您也可以根據您的需求新增、重新排序和移除步驟，以自訂遷移工作流程。例如，您可以新增切換核准的步驟。
+ 自動化手動步驟。Migration Hub Orchestrator 會自動執行手動任務，例如安裝代理程式、匯入內部部署映像、佈建目標環境 AWS，以及驗證來源和目標環境。自動化可節省時間和成本，同時減少錯誤。
+ 協調遷移工作流程。Migration Hub Orchestrator 透過重複使用庫存中繼資料、組態規格和環境內容來協調遷移步驟中使用的工具，以將這些工具所需的輸入數量降至最低。

如需詳細資訊，請參閱下列資源：
+ [Migration Hub Orchestrator 主控台](https://console.aws.amazon.com/migrationhub/orchestrator/)
+ [在 Amazon EC2 上託管應用程式](https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/rehost-on-ec2.html) (*Migration Hub Orchestrator 使用者指南*)
+ [Amazon RDS 上的 Replatform SQL 伺服器](https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/replatform-sql-rds.html) (*Migration Hub Orchestrator 使用者指南*)
+ [遷移工作流程 ](https://docs.aws.amazon.com/migrationhub-orchestrator/latest/userguide/migration-workflows.html)(*Migration Hub Orchestrator 使用者指南*)
+ [使用 Migration Hub Orchestrator 簡化和加速 Microsoft SQL Server 遷移](https://aws.amazon.com/blogs/modernizing-with-aws/aws-migration-hub-orchestrator-sql-server-migrations-to-aws/) (AWS 部落格文章）
+ [使用 簡化遷移 Windows Server 映像 AWS Migration Hub Orchestrator](https://aws.amazon.com/blogs/modernizing-with-aws/simplify-migrating-your-windows-server-images-with-aws-migration-hub-orchestrator/) (AWS 部落格文章）

# AWS Snowball Edge
<a name="snowball-edge"></a>

**注意**  
AWS Snowball Edge 不再提供給新客戶。新客戶應探索[AWS DataSync](https://aws.amazon.com/datasync/)是否有線上傳輸、[AWS 資料傳輸終端機](https://aws.amazon.com/data-transfer-terminal/)是否有安全的實體傳輸，或 AWS Partner 解決方案。針對邊緣運算，探索 [AWS Outposts](https://aws.amazon.com/outposts/)。

您可以使用 AWS Snowball Edge 遷移非常大型的資料庫 （大小上限為 210 TB)。Snowball 具有 10 Gb 的乙太網路連接埠，您可以將其插入現場部署伺服器，並將所有資料庫備份或資料放置在 Snowball Edge 裝置上。將資料複製到 Snowball Edge 之後，您可以將設備傳送至 AWS ，以放置在指定的 S3 儲存貯體中。然後，您可以從 Amazon S3 下載備份，並在 EC2 執行個體上的 SQL Server 上還原備份，或執行`rds_restore_database`預存程序將資料庫還原至 Amazon RDS。您也可以將 [AWS Snowcone](https://aws.amazon.com/snowcone/) 用於大小上限為 8 TB 的資料庫。如需詳細資訊，請參閱 Amazon RDS 文件中的 [AWS Snowball Edge 文件](https://docs.aws.amazon.com/snowball/latest/developer-guide/whatisedge.html)和[匯入和匯出 SQL Server 資料庫](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html#SQLServer.Procedural.Importing.Native.Using)、*還原資料庫*一節。