On-premise setup :
- Domain (ravvarapu.com)
- Sql server (2012)
- Sql database (weblocal)
- Consummate Network settings.
Cloud setup :
- Cloud platform (Microsoft Azure)
- Valid subscription.
- Azure Migrate project with a valid project name and location.
- Sql Managed instance (Deploying can take up to 6 hrs.) or Sql Database.
Procedure :
- Download DMA tool (Data Migration Assistant) on the sql instance (On-premise).
- Install the DMA tool on the server and run as administrator.
- Create New project with type Assessment.
- Populate the fields as described below and create the project.
| Project Name | A valid project name |
| Assessment type | Database engine |
| Source server type | Sql server |
| Target server type | Azure sql database managed instance |
- Click next to define the source sql server, define the server name and authenticate accordingly.
- Add the required source databases that can be migrated to azure.
- Start the assessment. (while this takes a quite good amount of time depending on the individual.)
- Verify and rectify, if any feature parity or any compatibility issues. More database compatibility can be learned at aka.ms/dbcompat.
- If everything is perfect upload to Azure Migrate and select the desired Azure environment (Azure) and connect to the Azure account for both feature parity and compatibility issues.
- Select the created migration project in the Azure and upload.
- Refresh the Azure migrate screen to update the details of data assessment.
- Click on Accessed database instances to check the status of the database readiness.
- Plunge into the on-premise sql server DMA tool and create a new project.
- Populate the fields as shown below.

- Create the migration by populating the fields.
- Connect to the sql server and authenticate accordingly. (Enable the Trust server certificate).
- Select the databases that needed to be migrated.
- Connect to the target server (Sql database or sql managed instance) with default sql authentication (Enable the Trust server certificate).
- Select the newly created database in the target server and generate the script.
- Deploy the generated script and select the desired tabled to migrate the data.
Substantiation :
Once the data has been successfully migrated to the target server, connect to the target server from the local sql server and check the migrated data. The latency of the migrated sql database depends upon the region in which the target sql database or target sql managed instance is in.