Connect Your Virtual Machine Using Bastion

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”.
 
Connect Your Virtual Machine Using Bastion
 
Step 2
 
In the Bastion Mode we need to configure Subnet, so click “Manage subnet configuration”.
 
Connect Your Virtual Machine Using Bastion
 
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”.
 
Connect Your Virtual Machine Using Bastion
 
Step 4
 
Repeat step 1. Now we can’t find the Subnet error, so enter the new Public IP address and click “Create”.
 
Connect Your Virtual Machine Using Bastion
 
Step 5
 
Select “Open in new window”, and then enter the Username and Password, and then click “Connect”
 
Connect Your Virtual Machine Using Bastion
 
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”.
 
Connect Your Virtual Machine Using Bastion
 
Step 7
 
Now we can access our Virtual Machine using Internet Browser.
 
Connect Your Virtual Machine Using Bastion
 

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.


IFS R&D International (Private) Limited
IFS is a global enterprise software vendor providing solutions that help companies get better return