How to create azure scale set with static public IP address to all it's VMs?

vsi_pranav 156 Reputation points
2021-06-09T02:28:23.383+00:00

Hello,
Is it possible to create an Azure Virtual Machine Scale Set with the public static IP address to all it's Virtual Machines.
Also, how can I add the custom domain name and SSL/TLS certificate to the Scale Set or all it's VMs?

Kindly please guide me in this scenario.

Note: Due to only 300 load balancing rules limit per NIC, I can not attach this vm scale set to a load balancer.

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
753 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.
441 questions
{count} votes

Accepted answer
  1. prmanhas-MSFT 17,916 Reputation points Microsoft Employee
    2021-06-09T11:37:00.33+00:00

    @vsi_pranav Thank you for your query!!!

    As per this To create a scale set that assigns a public IP address to each virtual machine with the CLI, add the --public-ip-per-vm parameter to the vmss create command.

    To create a scale set using an Azure template, make sure the API version of the Microsoft.Compute/virtualMachineScaleSets resource is at least 2017-03-30, and add a publicIpAddressConfiguration JSON property to the scale set ipConfigurations section.

    Also here To create a scale set with a custom DNS name for virtual machines using the CLI, add the --vm-domain-name argument to the virtual machine scale set create command, followed by a string representing the domain name.

    For static public IP you can refer to this as well.

    As mentioned here you need a scale set of more than 100 VMs with load balancer, use the Application Gateway instead

    Hope it helps!!!

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

    2 people found this answer helpful.

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.