{"id":27601,"date":"2020-12-21T08:57:32","date_gmt":"2020-12-21T08:57:32","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=27601"},"modified":"2020-12-21T08:57:32","modified_gmt":"2020-12-21T08:57:32","slug":"deploy-and-configure-azure-bastion-service","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/","title":{"rendered":"Deploy and configure Azure Bastion Service"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Go back to Tutorial<\/strong><\/a><\/p>\n\n\n\n<p>In this we will learn about, how to connect to a virtual machine through your browser using Azure Bastion and the Azure portal. In the Azure portal, we will deploy Bastion to your virtual network. After deploying Bastion, we will connect to a VM via its private IP address using the Azure portal. Further, in this we will learn how to create a bastion host for your VNet and connect to a Windows virtual machine.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Prerequisites<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, a virtual network.<\/li><li>Secondly, Windows virtual machine in the virtual network.<\/li><li>The following required roles:<ul><li>Reader role on the virtual machine. <\/li><\/ul><ul><li>Then, Reader role on the NIC with private IP of the virtual machine. <\/li><li>Reader role on the Azure Bastion resource.<\/li><\/ul><\/li><li>Lastly, Ports: To connect to the Windows VM, you must have the following ports open on your Windows VM:<ul><li>Inbound ports: RDP (3389)<\/li><\/ul><\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-free-practice-test\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"117\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/12\/z104-prac-tests-1-750x117.png\" alt=\"Deploy and configure Azure Bastion Service AZ-104  practice tests\" class=\"wp-image-27611\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/12\/z104-prac-tests-1-750x117.png 750w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/12\/z104-prac-tests-1.png 961w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Create a bastion host<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, from the Home page, select + Create a resource.<\/li><li>Then, on the New page, in the Search box, type Bastion, then select Enter to get to the search results. On the result for Bastion, verify that the publisher is Microsoft. Then, Select Create.<\/li><li>Next, on the Create a Bastion page, configure a new Bastion resource.<ul><li>Subscription: The Azure subscription you want to use to create a new Bastion resource.<\/li><li>Resource Group: The Azure resource group in which the new Bastion resource will be created. If you don&#8217;t have an existing resource group, you can create a new one.<\/li><li>Name: The name of the new Bastion resource.<\/li><li>Region: The Azure public region that the resource will be created in.<\/li><li>Virtual network: The virtual network in which the Bastion resource will be created. You can create a new virtual network in the portal during this process, or use an existing virtual network.<\/li><li>Subnet: Once you create or select a virtual network, the subnet field will appear. The subnet in your virtual network where the new Bastion host will be deployed. Then, the subnet will be dedicated to the Bastion host. Select Manage subnet configuration and create the Azure Bastion subnet. Select +Subnet and create a subnet using the following guidelines:<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>After finishing the settings, select Review + Create. This validates the values. Once validation passes, you can create the Bastion resource.<\/li><li>Then, select Create.<\/li><li>Lastly, you will see a message letting you know that your deployment is underway. Status will display on this page as the resources are created. It takes about 5 minutes for the Bastion resource to be created and deployed.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Connect to a VM<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, open the Azure portal. Navigate to the virtual machine that you want to connect to, then select Connect. Select Bastion from the dropdown.<\/li><li>After you select Bastion from the dropdown, a side bar appears that has three tabs: RDP, SSH, and Bastion. Because Bastion was provisioned for the virtual network, the Bastion tab is active by default. Select Use Bastion.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/en-us\/azure\/includes\/media\/bastion-vm-rdp\/select-use-bastion.png\" alt=\"Select Use Bastion\"\/><figcaption>Image Source: Microsoft<\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Then, select Use Bastion<\/li><li>Next, on the Connect using Azure Bastion page, enter the username and password for your virtual machine, then select Connect.<\/li><li>Lastly, the RDP connection to this virtual machine via Bastion will open directly in the Azure portal (over HTML5) using port 443 and the Bastion service.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-online-course\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"117\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/12\/az104-online-course-750x117.png\" alt=\"Deploy and configure Azure Bastion Service AZ-104 online course\" class=\"wp-image-27612\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/12\/az104-online-course-750x117.png 750w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/12\/az104-online-course.png 961w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/a><\/figure><\/div>\n\n\n\n<p><strong>Reference:<\/strong> <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/bastion\/tutorial-create-host-portal\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Documentation<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Go back to Tutorial<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go back to Tutorial In this we will learn about, how to connect to a virtual machine through your browser using Azure Bastion and the Azure portal. In the Azure portal, we will deploy Bastion to your virtual network. After deploying Bastion, we will connect to a VM via its private IP address using the&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-27601","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Deploy and configure Azure Bastion Service - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Increase your skills by learning about Deploy and configure Azure Bastion Service using Microsoft Azure AZ-104 online course Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deploy and configure Azure Bastion Service - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Increase your skills by learning about Deploy and configure Azure Bastion Service using Microsoft Azure AZ-104 online course Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/12\/z104-prac-tests-1-750x117.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/\",\"name\":\"Deploy and configure Azure Bastion Service - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-12-21T08:57:32+00:00\",\"dateModified\":\"2020-12-21T08:57:32+00:00\",\"description\":\"Increase your skills by learning about Deploy and configure Azure Bastion Service using Microsoft Azure AZ-104 online course Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deploy and configure Azure Bastion Service\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Deploy and configure Azure Bastion Service - Testprep Training Tutorials","description":"Increase your skills by learning about Deploy and configure Azure Bastion Service using Microsoft Azure AZ-104 online course Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/","og_locale":"en_US","og_type":"article","og_title":"Deploy and configure Azure Bastion Service - Testprep Training Tutorials","og_description":"Increase your skills by learning about Deploy and configure Azure Bastion Service using Microsoft Azure AZ-104 online course Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/","og_site_name":"Testprep Training Tutorials","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/12\/z104-prac-tests-1-750x117.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/","name":"Deploy and configure Azure Bastion Service - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-12-21T08:57:32+00:00","dateModified":"2020-12-21T08:57:32+00:00","description":"Increase your skills by learning about Deploy and configure Azure Bastion Service using Microsoft Azure AZ-104 online course Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/deploy-and-configure-azure-bastion-service\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Deploy and configure Azure Bastion Service"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/27601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=27601"}],"version-history":[{"count":6,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/27601\/revisions"}],"predecessor-version":[{"id":27648,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/27601\/revisions\/27648"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=27601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=27601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=27601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}