Avatar of CHI-LTD
CHI-LTDFlag for United Kingdom of Great Britain and Northern Ireland asked on

Static Public IP for AVD or WVD..

Looking to assign a staic public IP address to my classic and newly provisioned Azure Virtual Desktops.  Any ideas?  I can only see the option to assign public IP per VM NIC.


Thanks 



AzureDesktopsVirtualization

Avatar of undefined
Last Comment
Ross McCandless

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Ross McCandless

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
CHI-LTD

Got it. Issue is that the latest AVD setup I have is within the production subnet and vnet for other VMs, so I don’t think I can use a natgw here..

can the AVD setup be reconfigured for it’s own vnet and subnet? I guess this is the recommended config? I can then use the

or

can I just allocate public ips to the AVD vms?  
Ross McCandless

It is quite a complex process to move VMs between vNets. The process is either to delete the VMs and then create again using the existing Harddisk or usea recovery vault and backup&restore.

You could create a new Subnet in your current vNet then this would allow you to change the subnet the AVDs are in and then you can associate the new vNet to the NAT Gateway. You may need to adjust the address space for the vNet to allow you to create the subnet.
When you create the subnet; select an AVD VM, Select Networking under settings, Select the Network Interface, Select IP Configuration then there is a dropdown beside Subnet, select your new subnet and click Save, if the VM is powered on it will reboot.
If you want to test this you could create a test VM in your current subnet and complete the steps above
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23