- Microsoft Azure subscription
In this exercise, you will deploy the source environment for this lab. The source environment is designed to represent the existing on-premises environment you will migrate to Azure SQL Data Warehouse.
-
Browse to the Azure Portal at https://portal.azure.com
-
Click +Create a resource, and type SQL Server 2016 in the search box. Choose the latest service pack version of Free License: SQL Server 2016 SP2 Developer on Windows Server 2016 from the search results.
-
Click the Create button to begin deployment of the SQL Server
-
On the Basics blade, use the following configurations:
-
Name: SQLcohoDW
-
VM disk type: SSD
-
User name: demouser
-
Password: Demo@pass123
-
Subscription: Your subscription
-
Resource Group: Create new OnPremisesEnvironment
-
Location: Choose a location near you
-
-
On the size blade, choose D2s_v3. If this option is not available in your chosen region, choose DS2_V2.
-
On the Settings blade, change the Auto-shutdown time zone to reflect your current time zone. Then, click OK.
-
On the SQL Server settings blade, enable SQL Authentication, and click OK.
-
On the Summary blade, review your settings. Then, click Create.
-
Login to the SQLcochoDW virtual machine you created in the previous task
-
From Server Manager, click on Local Server select IE Enhanced Security Configuration, and set it to Off
-
Install the Azure PowerShell command-line tools from:
-
Open File Explorer, and create two new folders called C:\LabFiles, C:\Migration
-
Download the Student Files from http://cloudworkshop.blob.core.windows.net/migrate-edw/StudentFiles-06-2018.zip, and extract the files to C:\LabFiles
-
Launch SQL Server Management Studio, and connect to the SQLcohoDW instance
-
Open a New Query window, and cut/paste the following code into the window
RESTORE DATABASE CohoDW FROM DISK = 'C:\LabFiles\CohoDW.bak' WITH MOVE 'CohoDW_Data' TO 'F:\Data\CohoDW_Data.mdf' , MOVE 'CohoDW_Log' TO 'F:\Log\CohoDW_Log.ldf'
-
Click Execute to restore the database
-
Browse to the Azure Portal and authenticate at https://portal.azure.com/
-
Click +Create a resource and type SQL Database in the search box. Choose SQL Database from the results
-
Click Create on the SQL Database blade. Specify the following information, and click Create.
-
Database name: **cohoOLTP **
-
Subscription: Your subscription
-
Resource group: Create new - CohoOLTP
-
Select source: Sample (AdventureWorksLT)
-
Server: Create a new server
-
Server name: Choose a unique name
-
Server admin login: demouser
-
Password: Demo@pass123
-
Location: The same location you used for your other resources
-
Allow azure services to access server: checked
-
-
Pricing tier: S1
-