Score:0

static external IP for azure hosts

uz flag

I am creating an Azure Virtual Desktop implementation. What is the correct way to make sure that the AVD's use a static IP address for outgoing connections?

Is it by creating a NAT Gateway?

vidarlo avatar
ar flag
Why not use DNS?
uz flag
No, this is for outbound purposes. For example, a user logged in to an Azure Virtual Desktop session accesses a web app. I want to whitelist the IP address the user is presenting, so I need that IP address to be static.
vidarlo avatar
ar flag
I would suggest adding that to the question.
Score:0
ng flag

If you are talking about the outbound IP then there are several different methods to ensure traffic from an Azure vNet uses a consitent IP, pick the one that works best for you:

  • Assigning a Public IP to the VM, which will be used for outbound traffic. Probably not workable for AVD
  • Put VMs behind an Azure load balancer and use the outbound rules to define outbound IP
  • Azure vNet NAT Gateway - defines a static outbound IP for all traffic on a vnet, probably the simplest option for your scenario
  • Azure Firewall (or other FW device) - all traffic is routed out the firewall, and will use this as the outbound IP.

See here for more details.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.