Virtual machine with an RDP port
This sample template demonstrates how to create a NAT rule in loadbalancer to allow RDP to a vm.
You can connect to the vm using:
- mstsc.exe /v:<publicDnsName>.<location>.cloudapp.azure.com:<rdpPort>
This template deploys the following resources:
- storage account
- vnet
- public ip
- load balancer with a NAT rule for RDP
- a virtual machine
Tags: Microsoft.Network/publicIPAddresses, Microsoft.Storage/storageAccounts, Microsoft.Network/networkSecurityGroups, Microsoft.Network/virtualNetworks, Microsoft.Network/loadBalancers, Microsoft.Network/networkInterfaces, Microsoft.Compute/virtualMachines