Virtual machine scale sets are an Azure Compute resource you can use to deploy and manage a set of identical VMs. With all VMs configured the same, VM scale sets are designed to support true autoscale – no pre-provisioning of VMs are required – and as such make it easier to build large-scale services targeting big compute, big data, and containerized workloads.
Questions tagged [azure-vm-scale-set]
406 questions
10
votes
4 answers
Turning off ServiceFabric clusters overnight
We are working on an application that processes excel files and spits off output. Availability is not a big requirement.
Can we turn the VM sets off during night and turn them on again in the morning? Will this kind of setup work with service…

Avinash Gadiraju
- 723
- 1
- 7
- 16
8
votes
1 answer
How to get private IP of VMSS using CLI
I'm trying to automate few of our BAT script and for this our script need to know the private IP of each instances of VMSS(no public IP for instances).
Is there a way to query the private IP of all instances under a particular VMSS using azure cli.…

lambodar
- 3,495
- 5
- 34
- 58
7
votes
4 answers
VM Scaleset vs Azure Batch
VM scale set can be used to create multiple VM's based on the business requirement and, Also, Azure batch is also used to execute job in multiple VM's.
What is the exact difference between Azure Batch and VM Scale set?

Balanjaneyulu K
- 3,660
- 5
- 24
- 45
6
votes
1 answer
Azure DevOps Pipelines - Scale Set Agents: Installing Docker
We've recently reconfigured our build process to run entirely in containers, and we're now looking to migrate away from on-premise build agents to using agents in an Azure Scale Set.
We want to avoid having to maintain our own VM images for the…

Frederik Carlier
- 4,606
- 1
- 25
- 36
6
votes
1 answer
How does Azure VMSS handle existing request while scaling down or scaling in?
I have a VMSS with instance count say 3.Lets say I specified that if CPU utilization is <20%, then reduce instance by 3 to 1. Assume that these 3 instances were serving some request and let's say each request take 60 seconds to complete.
Assume at…

Roushan
- 264
- 2
- 14
6
votes
1 answer
Health probe marks instances as unhealthy but the aren't
I use a VM scale set for my node application. My app has an action which is public accessible via www.mydomain.com/api/healthcheck and prints just some json.
When I configure my health probe to use TCP protocol, everything works fine and also my api…

Munchkin
- 4,528
- 7
- 45
- 93
5
votes
1 answer
Do you know of a good explanation for fault domains and update domains?
I'm new to Azure and have been struggling with a concept specifically update domains and fault domains. Probably having a harder time understanding Update Domains.
So as I understand it, having 3 VMs in 3 fault domains would be essentially having…

Mikey
- 61
- 1
- 3
5
votes
1 answer
Can Azure Application gateway cookie be replaced by application cookie?
I have a VMSS with multiple instances that have a java application deployed in it. The VMSS is connected to an application gateway. The gateway have session affinity enabled.
Is it possible to override or tell gateway to use cookie created by java…

lambad
- 1,046
- 10
- 21
5
votes
1 answer
How can I retrieve Azure scale set's VM private IP Addresses via terraform?
I'm wondering how can I retrieve scale set VM's private IP address with Terraform-provider-azurerm. I think there are no resources nor data resources directly return VM IP's.
One option I tried was generate shellscript via template resource.
#…

guitarrapc
- 534
- 5
- 9
5
votes
1 answer
Overprovision a cluster's scale set
It seems that if you set a Scale Set's overprovision property to true (https://azure.microsoft.com/en-us/documentation/articles/virtual-machine-scale-sets-design-overview/#overprovisioning) you get an invalid SF cluster (the deleted unnecessary VMs…

Eli Arbel
- 22,391
- 3
- 45
- 71
4
votes
2 answers
Azure DevOps VM Scale Set Deployment in Linux VMs
I am trying to deploy in Azure Vm Scale Set using Run Custom Script VM extension on VM scale set in Azure DevOps Release Pipleine. I've a shell script which executes post deployment tasks.
In release pipeline I am using a storage account to archive…

Ratul
- 453
- 7
- 15
4
votes
3 answers
How to get a list of Azure Virtual Machine Scale Set Instances using powershell
I am trying to get a list of all Virtual Machine Instances within all Scale Sets of a subscription using powershell.
I have been able to list out all the Scalesets by using the code below, but I would like to show all the Virtual Machine instances…

G Beach
- 115
- 1
- 3
- 10
4
votes
2 answers
Difference between Azure availability sets and placement groups
I would like to know the difference between the two. I dont find a specific explanation and also there is no specific documentation pertaining to Placement groups. It is always explained in relation to an Availaibilty set similar to the link belo.…

Vikram
- 543
- 7
- 20
4
votes
1 answer
Adding certificates to Azure VM Scale Set
Basically I'm trying to follow this guide..
http://ronaldwildenberg.com/custom-domain-name-and-certificate-for-your-azure-service-fabric-cluster/
It says here (regarding Resource Explorer):
If you save (PUT) the updated VM Scale Set resource…

Mardoxx
- 4,372
- 7
- 41
- 67
4
votes
3 answers
Scale set using keyvault in another region
I'm working with an ARM template that creates a VM Scale Set for a Service Fabric cluster and associates some secrets with the VMs from a keyvault. I discovered this morning that it appears the VMs and keyvault must exist in the same region or I get…

BrettRobi
- 3,793
- 7
- 40
- 64