question

GarethColeman-2851 avatar image
0 Votes"
GarethColeman-2851 asked srbose-msft answered

Static IP Addresses for Scale Set Instances

Hi, I am in the process of building a WVD instance in Azure for a client. For the DC I was hoping to use a Scale Set so that when everyone logs in instance will scale out when resource load is high (such as first thing in the morning and last thing at night) however I was hoping to assign a Static internal IP address/s to the scale set with it being a Domain Controller. Can this be done as I have looked everywhere within the Scales Set and Instance blades and everything is greyed out. There was no option to assign static internal addresses not event to the main instance.

I don't really want to run a larger VM and have the increased cost when for 90% of the time a B2MS is perfectly adequate. Its literally for maybe 1 or 2 hours a day when its under peak load.

Thanks very much
Gareth

azure-virtual-machinesazure-virtual-machines-scale-set
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

srbose-msft avatar image
0 Votes"
srbose-msft answered

@GarethColeman-2851 , Thank you for the question.

You can add your Virtual Machine Scale Set to the backend pool of an internal Load Balancer which can be allocated a Static Private IP address from the vnet/subnet.

  1. Create a Virtual Network [How-to]

  2. Create the Virtual Machine Scale Set in the virtual network [How-to]. Please ensure that you do not put the virtual machine scale set behind a Load Balancer or Gateway during creation.

  3. Create an internal Load Balancer in the same subnet with Static IP allocation and add the Virtual Machine Scale Set to the backend pool. [How-to]

  4. Upgrade all instances of the Scale Set to propagate the changes.

Hope this helps!

Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.