Skill 4.2.3

Implement Azure Bastion

Key Concepts

Bastion is a managed PaaS service that connects to VMs over their private IP addresses, while the administrator connects to Bastion over TLS on port 443. The SKUs are Developer (free, shared infrastructure, one connection at a time, for the VNet it is created in, no dedicated subnet), Basic, Standard (adds native client support, host scaling, IP-based connections, shareable links and file transfer through the native client) and Premium (adds session recording and private-only deployment). Dedicated SKUs need a subnet named AzureBastionSubnet of at least /26 and a Standard public IP address unless deployed private-only.

One Bastion host serves VMs in its VNet and in peered VNets. Users need Reader on the VM, its NIC and the Bastion resource to connect. VMs do not need public IPs, and their NSGs need to allow RDP or SSH only from the AzureBastionSubnet range. Connecting from a local RDP or SSH client (az network bastion rdp or ssh) requires the Standard SKU or higher.