{"id":9659,"date":"2018-11-20T08:19:34","date_gmt":"2018-11-20T10:19:34","guid":{"rendered":"http:\/\/www.fabriciolima.net\/?p=9659"},"modified":"2018-11-20T08:19:34","modified_gmt":"2018-11-20T10:19:34","slug":"managed-instance-como-se-conectar-atraves-do-ssms-de-uma-vm-do-azure","status":"publish","type":"post","link":"https:\/\/fabriciolima.net\/blog\/2018\/11\/20\/managed-instance-como-se-conectar-atraves-do-ssms-de-uma-vm-do-azure\/","title":{"rendered":"Managed Instance &#8211; Como se conectar atrav\u00e9s do SSMS de uma VM do Azure?"},"content":{"rendered":"<p>Fala Pessoal,<\/p>\n<p>Esse \u00e9 mais um post da s\u00e9rie sobre o Azure SQL Database Managed Instance. Caso ainda n\u00e3o tenha visto, seguem os posts anteriores:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.fabriciolima.net\/blog\/2018\/03\/17\/azure-sql-db-managed-instance-introducao\/https:\/\/www.fabriciolima.net\/blog\/2018\/11\/16\/managed-instance-criando-minha-primeira-instancia\/\">https:\/\/www.fabriciolima.net\/blog\/2018\/03\/17\/azure-sql-db-managed-instance-introducao\/<\/a><\/li>\n<li><a href=\"https:\/\/www.fabriciolima.net\/blog\/2018\/03\/17\/azure-sql-db-managed-instance-introducao\/https:\/\/www.fabriciolima.net\/blog\/2018\/11\/16\/managed-instance-criando-minha-primeira-instancia\/\">https:\/\/www.fabriciolima.net\/blog\/2018\/11\/16\/managed-instance-criando-minha-primeira-instancia\/<\/a><\/li>\n<li><a href=\"https:\/\/www.fabriciolima.net\/blog\/2018\/11\/19\/managed-instance-como-se-conectar-direto-do-ssms-utilizando-uma-vpn\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.fabriciolima.net\/blog\/2018\/11\/19\/managed-instance-como-se-conectar-direto-do-ssms-utilizando-uma-vpn\/<\/a><\/li>\n<\/ul>\n<p>No post anterior mostrei como conseguimos nos conectar em um Managed Instance atrav\u00e9s de um SSMS na nossa m\u00e1quina utilizando uma VPN.<\/p>\n<p>Se voc\u00ea tiver v\u00e1rias m\u00e1quinas, teria que configurar a VPN em cada uma delas.<\/p>\n<p>Caso n\u00e3o queira fazer isso, uma segunda op\u00e7\u00e3o \u00e9 criar uma VM no Azure dentro da VNet do Managed Instance e se conectar na inst\u00e2ncia atrav\u00e9s do SSMS instalado dentro dessa VM.<\/p>\n<p>Antes de criar uma VM, temos que adcionar uma subnet na mesma VNet que temos o Managed Instance criado. Ent\u00e3o abra a op\u00e7\u00e3o Subnets e clique em + Subnet:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9670 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1.png\" alt=\"\" width=\"795\" height=\"325\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1.png 1968w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-300x123.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-1024x418.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-768x314.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-1536x628.png 1536w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-700x286.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-410x168.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-100x41.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-275x112.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_1-20x8.png 20w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/p>\n<p>Vai abrir essa tela para configurar a subnet:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9669 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2.png\" alt=\"\" width=\"623\" height=\"454\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2.png 1142w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2-300x219.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2-1024x747.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2-768x560.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2-700x511.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2-410x299.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2-100x73.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2-275x201.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_2-20x15.png 20w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/p>\n<p>1 &#8211; Escolha um nome para sua subnet.<\/p>\n<p>2 &#8211; Escolha o range de IP da subnet. N\u00e3o precisa ser \/24, podemos reduzir um pouco para \/27 por exemplo.<\/p>\n<p>As outras op\u00e7\u00f5es, n\u00e3o precisa alterar. Clique em ok para criar a subnet.<\/p>\n<p>Feito isso agora podemos criar nossa VM:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9668 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3.png\" alt=\"\" width=\"742\" height=\"342\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3.png 1800w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-300x138.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-1024x471.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-768x353.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-1536x707.png 1536w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-700x322.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-410x189.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-100x46.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-275x127.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_3-20x9.png 20w\" sizes=\"auto, (max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>1 &#8211; Vai em Virtual Machines no portal do Azure<\/p>\n<p>2 &#8211; Clique em Add<\/p>\n<p>3 &#8211; Clique em Basics<\/p>\n<p>4 &#8211; Coloque sua subscription<\/p>\n<p>5 &#8211; Escolha o Resource Group<\/p>\n<p>6 &#8211; D\u00ea um nome para sua VM<\/p>\n<p>7 &#8211; Crie a VM na mesma localiza\u00e7\u00e3o do MI<\/p>\n<p>Continuando ainda na mesma tela:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9667 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4.png\" alt=\"\" width=\"751\" height=\"399\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4.png 1551w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-300x160.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-1024x545.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-768x409.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-1536x817.png 1536w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-700x372.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-410x218.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-100x53.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-275x146.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_4-20x11.png 20w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>8 &#8211; Escolha uma imagem de Windows Server<\/p>\n<p>9 &#8211; Defina um login e uma senha complexa para logar<\/p>\n<p>10 &#8211; Clique em Next<\/p>\n<p>Na parte de disco n\u00e3o precisa alterar nada, clique em Next novamente para chegar em Networking:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9666 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5.png\" alt=\"\" width=\"799\" height=\"437\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5.png 1500w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5-300x164.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5-1024x560.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5-768x420.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5-700x383.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5-410x224.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5-100x55.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5-275x150.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_5-20x11.png 20w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/p>\n<p>1 &#8211; Escolha a VNet do nosso Managed Instance<\/p>\n<p>2 &#8211; Escolha a subnet que criamos antes de criar a VM<\/p>\n<p>3 &#8211; Clique em Next<\/p>\n<p>N\u00e3o precisamos alterar nenhuma outra op\u00e7\u00e3o. Clique em Next at\u00e9 chegar na \u00faltima tela <strong>(Review + Create)<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9665 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6.png\" alt=\"\" width=\"864\" height=\"485\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6.png 1476w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6-300x168.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6-1024x575.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6-768x431.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6-700x393.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6-410x230.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6-100x56.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6-275x154.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_6-20x11.png 20w\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" \/><\/p>\n<p>Se tudo der certo vai aparecer <strong>&#8220;Validation passed&#8221; <\/strong>conforme acima. Clique em Create para concluir.<\/p>\n<p>Ap\u00f3s alguns minutos j\u00e1 temos uma VM criada para utiliza\u00e7\u00e3o:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9664 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7.png\" alt=\"\" width=\"834\" height=\"426\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7.png 1562w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-300x153.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-1024x523.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-768x392.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-1536x785.png 1536w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-700x358.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-410x209.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-100x51.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-275x140.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_7-20x10.png 20w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><\/p>\n<p>Clique em <strong>Go to Resource<\/strong> para continuar.<\/p>\n<p>Antes de tentar se conectar na VM, precisamos liberar o acesso via RDP:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9662 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8.png\" alt=\"\" width=\"1009\" height=\"375\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8.png 2232w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-300x111.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-1024x380.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-768x285.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-1536x570.png 1536w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-2048x761.png 2048w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-700x260.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-410x152.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-100x37.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-275x102.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_8-20x7.png 20w\" sizes=\"auto, (max-width: 1009px) 100vw, 1009px\" \/><\/p>\n<p>1 &#8211; Na VM, clique em Networking<\/p>\n<p>2 &#8211; Libere a porta 3389<\/p>\n<p>3 &#8211; Aumentei a prioridade para 300<\/p>\n<p>4 &#8211; Dei o nome de RDP a regra<\/p>\n<p>Feito isso, agora clique em conect e baixe o RDP file:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9663 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9.png\" alt=\"\" width=\"781\" height=\"292\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9.png 2229w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-300x112.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-1024x383.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-768x287.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-1536x574.png 1536w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-2048x765.png 2048w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-700x262.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-410x153.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-100x37.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-275x103.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_9-20x7.png 20w\" sizes=\"auto, (max-width: 781px) 100vw, 781px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Ao iniciar o RDP, digite o usu\u00e1rio e senha que colocamos na cria\u00e7\u00e3o da VM:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9661 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10.png\" alt=\"\" width=\"789\" height=\"168\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10.png 2153w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-300x64.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-1024x218.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-768x163.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-1536x327.png 1536w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-2048x436.png 2048w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-700x149.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-410x87.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-100x21.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-275x58.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_10-20x4.png 20w\" sizes=\"auto, (max-width: 789px) 100vw, 789px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Ap\u00f3s logar na Vm, voc\u00ea deve baixar o SSMS e se conectar no MI da mesma forma que fizemos no post anterior, coloque o endere\u00e7o da inst\u00e2ncia e usu\u00e1rio que foi criado.<\/p>\n<p>Tudo dando certo, \u00e9 correr para o abra\u00e7o:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9672 aligncenter\" src=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11.png\" alt=\"\" width=\"838\" height=\"352\" srcset=\"https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11.png 1673w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-300x126.png 300w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-1024x430.png 1024w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-768x322.png 768w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-1536x645.png 1536w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-700x294.png 700w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-410x172.png 410w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-100x42.png 100w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-275x115.png 275w, https:\/\/fabriciolima.net\/blog\/wp-content\/uploads\/2018\/11\/Managedinstance_conexao_VM_11-20x8.png 20w\" sizes=\"auto, (max-width: 838px) 100vw, 838px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Tive problemas para configurar essa VM e o Dimitri me ajudou no Pass Summit.<\/p>\n<p>Prometi que faria um post para tentar ajudar a galera do Brasil. Promessa cumprida!!!<\/p>\n<p>At\u00e9 o pr\u00f3ximo post.<\/p>\n<p>Abra\u00e7os,<\/p>\n<p>Fabr\u00edcio Lima<\/p>\n<p>Microsoft Data Platform MVP<\/p>\n<p>Consultor e Instrutor SQL Server<\/p>\n<p>Trabalha com SQL Server desde 2006<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fala Pessoal, Esse \u00e9 mais um post da s\u00e9rie sobre o Azure SQL Database Managed Instance. Caso ainda n\u00e3o tenha visto, seguem os posts anteriores: https:\/\/www.fabriciolima.net\/blog\/2018\/03\/17\/azure-sql-db-managed-instance-introducao\/ https:\/\/www.fabriciolima.net\/blog\/2018\/11\/16\/managed-instance-criando-minha-primeira-instancia\/ https:\/\/www.fabriciolima.net\/blog\/2018\/11\/19\/managed-instance-como-se-conectar-direto-do-ssms-utilizando-uma-vpn\/ No post anterior mostrei como conseguimos nos conectar em um Managed Instance atrav\u00e9s de um SSMS na nossa m\u00e1quina utilizando uma VPN. Se voc\u00ea tiver v\u00e1rias m\u00e1quinas, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[1616,1617,1512,33,280],"tags":[],"class_list":["post-9659","post","type-post","status-publish","format-standard","hentry","category-azure-sql-database","category-managed-instance","category-sql-azure","category-sql-server","category-virtual-pass-br"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/posts\/9659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/comments?post=9659"}],"version-history":[{"count":8,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/posts\/9659\/revisions"}],"predecessor-version":[{"id":9719,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/posts\/9659\/revisions\/9719"}],"wp:attachment":[{"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/media?parent=9659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/categories?post=9659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fabriciolima.net\/blog\/wp-json\/wp\/v2\/tags?post=9659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}