Skip to content

Commit 9d4a7d5

Browse files
committed
Add security content to DMS FAQ
1 parent 456bca2 commit 9d4a7d5

File tree

1 file changed

+67
-17
lines changed

1 file changed

+67
-17
lines changed

articles/dms/faq.yml

Lines changed: 67 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ metadata:
55
services: database-migration
66
author: croblesm
77
ms.author: roblescarlos
8-
ms.reviewer: craigg
8+
ms.reviewer: randolphwest
99
ms.service: dms
1010
ms.workload: data-services
1111
ms.custom: mvc
1212
ms.topic: faq
13-
ms.date: 02/20/2020
13+
ms.date: 03/28/2023
1414
title: FAQ about using Azure Database Migration Service
1515
summary: This article lists commonly asked questions about using Azure Database Migration Service together with related answers.
1616

@@ -38,7 +38,7 @@ sections:
3838
When migrating from SQL Server, supported sources for Azure Database Migration Service are SQL Server 2005 through SQL Server 2019. If you are using Azure Data Studio with SQL Migration extension, supported sources are SQL Server 2008 through SQL Server 2022.
3939
4040
- question: |
41-
When using Azure Database Migration Service, whats the difference between an offline and an online migration?
41+
When using Azure Database Migration Service, what's the difference between an offline and an online migration?
4242
answer: |
4343
You can use Azure Database Migration Service to perform offline and online migrations. With an *offline* migration, application downtime starts when the migration starts. With an *online* migration, downtime is limited to the time to cut over at the end of migration. We suggest that you test an offline migration to determine whether the downtime is acceptable; if not, do an online migration.
4444
@@ -48,18 +48,67 @@ sections:
4848
- question: |
4949
How does Azure Database Migration Service compare to other Microsoft database migration tools such as the Database Migration Assistant (DMA) or SQL Server Migration Assistant (SSMA)?
5050
answer: |
51-
Azure Database Migration Service is the preferred method for database migration to Microsoft Azure at scale. For more detail on how Azure Database Migration Service compares to other Microsoft database migration tools and for recommendations on using the service for various scenarios, see the blog posting [Differentiating Microsofts Database Migration Tools and Services](https://techcommunity.microsoft.com/t5/microsoft-data-migration/differentiating-microsoft-s-database-migration-tools-and/ba-p/368529).
51+
Azure Database Migration Service is the preferred method for database migration to Microsoft Azure at scale. For more detail on how Azure Database Migration Service compares to other Microsoft database migration tools and for recommendations on using the service for various scenarios, see the blog posting [Differentiating Microsoft's Database Migration Tools and Services](https://techcommunity.microsoft.com/t5/microsoft-data-migration/differentiating-microsoft-s-database-migration-tools-and/ba-p/368529).
5252
5353
- question: |
5454
How does Azure Database Migration Service compare to the Azure Migrate offering?
5555
answer: |
56-
Azure Migrate assists with migration of on-premises virtual machines to Azure IaaS. The service assesses migration suitability and performance-based sizing, and it provides cost estimates for running your on-premises virtual machines in Azure. Azure Migrate is useful for lift-and-shift migrations of on-premises VM-based workloads to Azure IaaS VMs. However, unlike Azure Database Migration Service, Azure Migrate isnt a specialized database migration service offering for Azure PaaS relational database platforms such as Azure SQL Database or Azure SQL Managed Instance.
56+
Azure Migrate assists with migration of on-premises virtual machines to Azure IaaS. The service assesses migration suitability and performance-based sizing, and it provides cost estimates for running your on-premises virtual machines in Azure. Azure Migrate is useful for lift-and-shift migrations of on-premises VM-based workloads to Azure IaaS VMs. However, unlike Azure Database Migration Service, Azure Migrate isn't a specialized database migration service offering for Azure PaaS relational database platforms such as Azure SQL Database or Azure SQL Managed Instance.
5757
5858
- question: |
5959
Does Database Migration Service store customer data?
6060
answer: |
6161
No. Database Migration Service does not store customer data.
6262
63+
- name: Security
64+
questions:
65+
- question: |
66+
What services are created and consumed when an instance of DMS is created and run?
67+
answer: |
68+
The following list contains the resources that are created behind the scenes when a DMS instance is created.
69+
70+
* Azure VM
71+
* Storage container
72+
* Service Bus topic
73+
* Storage tables
74+
75+
- question: |
76+
How is metadata and client data extracted from source and written to target?
77+
answer: |
78+
User has to extract the metadata, that is, the schema manually using the `pg_dump` command line utility, and restored using `pg_restore`.
79+
80+
For client data, DMS internally uses `pg_dump` and `pg_restore` for initial load and logical decoding for CDC.
81+
82+
- question: |
83+
Are there any public endpoints used?
84+
answer: |
85+
While creating DMS (Classic), users are asked to provide the network configuration. Based on the public or private VNet used, DMS uses those endpoints accordingly.
86+
87+
- question: |
88+
Is all data encrypted in transit and at rest?
89+
answer: |
90+
The source and target connection have properties 'Trust server certificate' (default `false`) and 'Encrypt Connection' (default `true`). At rest, data is encrypted based on the storage encryption selected.
91+
92+
- question: |
93+
Do all Azure services that underpin DMS (Classic) use private endpoints?
94+
answer: |
95+
No, they aren't using private endpoints. But each resource is dedicated / scoped to that particular DMS (Classic) instance, and protected with SAS keys.
96+
97+
- question: |
98+
Do all Azure services that underpin DMS (Classic) make use of CMK for data at rest?
99+
answer: |
100+
CMK can't be used for data at rest.
101+
102+
- question: |
103+
What type of encryption is used for data in transit?
104+
answer: |
105+
All communication between resources and compute VMs uses TLS 1.2. The DMS (Classic) portal page has a configuration page where this setting can be managed.
106+
107+
- question: |
108+
Is there any data that isn't protected by CMK, and what type of data? For instance, metadata, logs, and so on.
109+
answer: |
110+
No, CMK isn't supported.
111+
63112
- name: Setup
64113
questions:
65114
- question: |
@@ -83,19 +132,19 @@ sections:
83132
You may also need to include the port source that SQL Server is listening on the allowlist. By default, it's port 1433, but the source SQL Server may be configured to listen on other ports as well. In this case, you need to include those ports on the allowlist as well. You can determine the port that SQL Server is listening on by using a Dynamic Management View query:
84133
85134
```sql
86-
SELECT DISTINCT
87-
local_tcp_port
88-
FROM sys.dm_exec_connections
89-
WHERE local_tcp_port IS NOT NULL
135+
SELECT DISTINCT
136+
local_tcp_port
137+
FROM sys.dm_exec_connections
138+
WHERE local_tcp_port IS NOT NULL;
90139
```
91140
92141
You can also determine the port that SQL Server is listening by querying the SQL Server error log:
93142
94143
```sql
95-
USE master
96-
GO
97-
xp_readerrorlog 0, 1, N'Server is listening on'
98-
GO
144+
USE master;
145+
GO
146+
xp_readerrorlog 0, 1, N'Server is listening on';
147+
GO
99148
```
100149
101150
- question: |
@@ -112,8 +161,8 @@ sections:
112161
113162
1. Create a target database(s).
114163
2. Assess your source database(s).
115-
* For homogenous migrations, assess your existing database(s) by using [DMA](https://www.microsoft.com/download/details.aspx?id=53595).
116-
* For heterogeneous migrations (from compete sources), assess your existing database(s) with [SSMA](/sql/ssma/sql-server-migration-assistant). You also use SSMA to convert database objects and migrate the schema to your target platform.
164+
* For homogenous migrations, assess your existing database(s) by using [DMA](https://www.microsoft.com/download/details.aspx?id=53595).
165+
* For heterogeneous migrations (from compete sources), assess your existing database(s) with [SSMA](/sql/ssma/sql-server-migration-assistant). You also use SSMA to convert database objects and migrate the schema to your target platform.
117166
3. Create an instance of Azure Database Migration Service.
118167
4. Create a migration project specifying the source database(s), target database(s), and the tables to migrate.
119168
5. Start the full load.
@@ -123,7 +172,7 @@ sections:
123172
- name: Troubleshooting and optimization
124173
questions:
125174
- question: |
126-
Im setting up a migration project in DMS, and Im having difficulty connecting to my source database. What should I do?
175+
I'm setting up a migration project in DMS, and I'm having difficulty connecting to my source database. What should I do?
127176
answer: |
128177
If you have trouble connecting to your source database system while working on migration, create a virtual machine in the same subnet of the virtual network with which you set up your DMS instance. In the virtual machine, you should be able to run a connect test, such as using a UDL file to test a connection to SQL Server or downloading Robo 3T to test MongoDB connections. If the connection test succeeds, you shouldn't have an issue with connecting to your source database. If the connection test doesn't succeed, contact your network administrator.
129178
@@ -143,4 +192,5 @@ sections:
143192
additionalContent: |
144193
145194
## Next steps
146-
For an overview of the Azure Database Migration Service and regional availability, see the article [What is the Azure Database Migration Service](dms-overview.md).
195+
196+
- [What is the Azure Database Migration Service](dms-overview.md).

0 commit comments

Comments
 (0)