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
2
votes
1 answer
Terraform: Azure VMSS rolling_upgrade does not re-image instances
Having the following VMSS terraform config:
resource "azurerm_linux_virtual_machine_scale_set" "my-vmss" {
...
instances = 2
...
upgrade_mode = "Rolling"
rolling_upgrade_policy {
max_batch_instance_percent = 100
…

Michael
- 357
- 2
- 12
2
votes
1 answer
How to disable the Azure Bastion for Virtual Machine in Azure cloud?
I am using a Virtual Machine in Azure portal. Over there, I connected the VM via RDP. Now when I saw at my credits $19 are spent and the uses by Azure Bastion.
After it, I did some R&D and figured out how to delete all Azure Bastion resources via…

Robin
- 85
- 2
- 12
2
votes
1 answer
Avoid Hostname Collisions With Specialized ScaleSets in Azure Devops
I created a Scale Set within Azure from a specialized Windows 10 image with some custom software stack installed.
When I try to run pipeline jobs on this, all seem to work fine until suddenly the agent gets killed as unhealthy by Azure Devops. While…

seflue
- 41
- 3
2
votes
1 answer
Vertical scaling of azure kubernetes cluster
I am unable to scale vertical my AKS cluster.
Currently, I have 3 nodes in my cluster with 2 core and 8 ram, I am trying to upgrade it with 16 code and 64 RAM, how do I do it?
I tried scaling the VM scale set, on Azure portal it shows it is scaled…

Abhishek Anvekar
- 338
- 1
- 5
- 18
2
votes
0 answers
DSC cannot create SSL/TLS secure channel in the SendConfigurationApply function
I am trying to add a vm scale set to an agent pool in Azure Devops. I have set up the VMSS and now am adding DSC as an extension which will then call "SendConfigurationApply" to send to the agent pool.
However when I upgrade the VMs I get this…

HellyBelly
- 23
- 2
2
votes
1 answer
Are there any ways to put AKS cluster nodepool into different fault/update domains together with availability zones?
When deploying AKS cluster into different availability zones ("1,2,3" in our case) the vm scaleset is used for default nodepool deployment (not availability set). Everything is pretty fine there, but the problem is - while using the default nodepool…

misfit
- 107
- 7
2
votes
1 answer
How do I verify that an Azure VM scale set instance is using SSD for ephemeral OS disk?
I'm using a VM scale set for Azure DevOps build agents, successfully. I have it configured for ephemeral OS disk, but it's hard to confirm that the instances are actually set up the way I expect.
Here's how the scale set is configured:
az vmss…

WaitingForGuacamole
- 3,744
- 1
- 8
- 22
2
votes
2 answers
Reduce or replace virtual machine premium storage disk sizes within Azure Virtual Machine Scale Sets
I have provisioned an Azure Kubernetes Cluster which uses Virtual machine scale sets containing 3 virtual machines. The issue is that there is storage automatically attached to each VM, namely P10 Premium SSD type. To be honest I would like to have…

mirind4
- 1,423
- 4
- 21
- 29
2
votes
2 answers
Windows Automatic Updates on Windows VM in Azure Scale Set
I have Azure Scale Set with a custom Windows VM image (syspreped Windows 2016 DC image with some app preinstalled).
There is an option to enable Windows automatic updates on the operating system, level, but I'm missing information how it affects the…

filipbe
- 165
- 15
2
votes
1 answer
Load balance between two Azure Virtual Machine Scale Set (VMSS)
Our issue:
The amount of time for provisioning a new instance takes a long time because of steps like certificate, encryption, domain join, TLS and Cipher changes,...
Solution:
In our use case, we end up to have two different VMSS for the purpose…

Benyamin Famili
- 119
- 11
2
votes
1 answer
Change windows registry of Azure Virtual Machine Scale Set
I want to use Microsoft provided image and do the registry change for disabling weak ciphers and TLS.
What is the best way to change registry of Azure Virtual Machine Scale Set as a part of the provisioning process

Benyamin Famili
- 119
- 11
2
votes
1 answer
Azure Key Vault mark private key as exportable
I'm looking for a way to install a PFX certificate into my azure scaleset and mark the private key as exportable.
Currently the certificate is installed on the cluster via the ARM template:
{
"certificateUrl":…

Thieme
- 294
- 1
- 13
2
votes
1 answer
Using Terraform. Do azurerm_autoscale_setting or azurerm_monitor_autoscale_setting have memory metric
I am using terraform to create autoscale settings for VMs. I am able to add rules for autoscale based on CPU percentage metric:
rule {
metric_trigger {
operator = "GreaterThan"
threshold …

yanis
- 303
- 3
- 15
2
votes
2 answers
Azure Virtual Machine Scale Set Scaling Provisions two Instances
So I am trying to provision a scaleset and have it join a domain using the JsonADDomainExtension. Everything works, however when scaling in any way (auto scale or manual) two instances instead of one gets provisioned, however when the provisioning…

Sjokoladefoged
- 63
- 1
- 6
2
votes
1 answer
How to add Azure Scaleset to Log Analytics
How do I add Azure Scale Set to Log analytics. From log analytics I am able to see the VM but unlike VMs the connect button is not enabled. What do I need to do. to enable this connection.

kumar
- 8,207
- 20
- 85
- 176