Static IP Addresses for Scale Set Instances

Gareth Coleman 31 Reputation points
2021-06-09T10:11:57.83+00:00

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 Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,134 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
419 questions
0 comments No comments
{count} votes

Accepted answer
  1. SRIJIT-BOSE-MSFT 4,336 Reputation points Microsoft Employee
    2021-06-09T12:26:31.593+00:00

    @Gareth Coleman , 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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.