Azure Bastion for accessing VM's in different VNET

PR 130 Reputation points
2023-06-15T14:09:03.1233333+00:00

Is there any way can access VM's in different VNET's using one Azure Bastion?

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
247 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tech-Hyd-1989 5,761 Reputation points
    2023-06-15T14:46:17.0866667+00:00

    Hello Puneeth Raya

    No, Azure Bastion does not provide direct access to virtual machines (VMs) in different virtual networks (VNets) simultaneously. Azure Bastion is designed to provide secure and convenient remote access to VMs within the same VNet where it is deployed.

    Each Azure Bastion instance is deployed within a specific VNet and subnet, and it enables secure RDP/SSH access to VMs within that VNet. It uses a private IP address from the subnet where it is deployed and establishes a secure connection to the target VMs within the same VNet.

    If you have VMs in different VNets and want to access them using Azure Bastion, you would need to deploy separate Azure Bastion instances in each VNet. Each Azure Bastion instance will provide access only to the VMs within the same VNet where it is deployed.

    However, if you require centralized access to VMs across multiple VNets, you may consider alternative solutions such as establishing VPN or VNet peering between the VNets to enable connectivity between them. This way, you can connect to the VMs in different VNets using a single VPN gateway or virtual network gateway.

    Keep in mind that network connectivity and security considerations, including routing, subnets, and network security groups, need to be carefully planned and configured when connecting VMs across multiple VNets.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. TP 82,736 Reputation points
    2023-06-15T15:12:46.2533333+00:00

    Hi,

    Yes, you can access VMs in different VNets using one Azure Bastion using VNet peering. Please see article below for specific details:

    bastion vnet peering

    VNet peering and Azure Bastion

    https://video2.skills-academy.com/en-us/azure/bastion/vnet-peering

    Please click Accept Answer if the above was useful.

    Thanks.

    -TP

    3 people found this answer helpful.
    0 comments No comments