Connecting to Azure Managed instance from a virtual machine

1) Create  a new subnet in the VNet JB_VN for a virtual machine

-> Click on Dashboard. Select resource group JB_RG and then Virtual network JB_VN. Click on Subnets under Settings and click Subnet.

Blog39_1.PNG

-> Complete the details as below and click OK.

Blog39_2.PNG

2) Create a virtual machine in the new subnet in the VNet

-> Click “Create a resource” and select “Windows Server 2016 VM”

Blog39_3.PNG

-> Complete the required details and proceed further,

Blog39_4.PNG

Blog39_5.PNG

-> On the Settings, select Subnet and select JB_VM_Subnet and click OK.

Blog39_6.PNG

-> On the Summary page, check the details and click Create.

3) Connect to virtual machine

-> Once the VM is created, Connect to it.

Blog39_7.PNG

-> Download the RDP file and connect to the RDP session.

-> In Server Manager, Click Local Server and select on in “IE Enhanced Security Configuration”. Select Off and click OK.

Blog39_8.PNG

-> Open Internet explorer. Download and Install SSMS from https://docs.microsoft.com/sql/ssms/download-sql-server-management-studio-ssms.

-> Once SSMS installation completes. Click on Dashboard and select Resource group JB_RG. Select Managed Instance jb and copy the host as shown below,

Blog39_9.PNG

-> Open SSMS and connect to the Managed Instance,

Blog39_10

Blog39_11.PNG

I have used the details present in this article to blog here.
Other articles related to Managed Instance can be found here.

Thank You,
Vivek Janakiraman

Disclaimer:
The views expressed on this blog are mine alone and do not reflect the views of my company or anyone else. All postings on this blog are provided “AS IS” with no warranties, and confers no rights.

Leave a Reply