Introduction
The Azure Bastion service is a new feature to access our Virtual Machines. If you plan to connect your virtual machine using Bastion you do not need a Public IP Address.
Earlier Bastion mode activated in the Azure Public Preview Mode; now it’s available in the Portal Mode.
In this demo, we are going to see how to deploy Bastion Mode. Before you enable this mode make sure that it supports your Virtual Machines location. For more details about the supporting location
click here.
Step 1
Open your existing Virtual Machine and click "Connect". In the Connect your Virtual Machine part, Click "Bastion" and then Click “Use Bastion”.
Step 2
In the Bastion Mode we need to configure Subnet, so click “Manage subnet configuration”.
Step 3
In the Site2VNet, select the “Subnets” under the Settings, then Click “+ Subnet”, in the Add Subnet Enter the Name “AzureBastionSubnet” and the Address Range is /27, and then click “Ok”.
Step 4
Repeat step 1. Now we can’t find the Subnet error, so enter the new Public IP address and click “Create”.
Step 5
Select “Open in new window”, and then enter the Username and Password, and then click “Connect”
Step 6
When you click Connect sometimes you get a Pop-ups block message. If the Pop-up blocked, click the notification and select "Always allow pop-up" and then click “Done”.
Step 7
Now we can access our Virtual Machine using Internet Browser.
Summary
In this article, we have learned how to access our existing virtual machines using Bastion services, if you have any questions feel free to comment under the article.