Microsoft Q&A

Azure Virtual Machine Scale Sets

253 questions

Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.

Browse all Azure tags

253 questions with Azure Virtual Machine Scale Sets tags

Sort by: Updated
1 answer

Is there way to manually upgrade VMSS instances to a specific version of an OS?

We have a VM Scale Set that currently uses Ubuntu 18.04, whose end of life is on May 20th 2023. We want to upgrade to Ubuntu 20.04. I checked the Azure Portal and VMSS CLI and didn't find a way to start an OS upgrade to a specific image version. On Azure…

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.
253 questions
asked 2023-05-22T16:18:43.5666667+00:00
Youssef Sabih 0 Reputation points
commented 2023-05-22T19:39:32.87+00:00
Youssef Sabih 0 Reputation points
3 answers One of the answers was accepted by the question author.

How AKS upgrades with multiple node pools?

Hello, Consider we have 2 node pools with 2 machines each. After initiating the complete upgrade i.e. control plane + node pool together, does AKS upgrade each node one by one or it will pick 1 node per node pool and start upgrading them in parallel.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,315 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.
253 questions
asked 2023-05-19T15:21:31.76+00:00
Tanul 936 Reputation points
accepted 2023-05-22T11:15:48.8366667+00:00
Tanul 936 Reputation points
0 answers

Azure VM. The extension failed to execute: .agent file not found

We have Azure Virtual machine scale set working as pipeline agent pool. This error may appear on any new pipeline run. And after it happens once it happens on all subsequent runs. Recreating agent pool or vm scale set fixes the issue. Restarting or…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,240 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.
253 questions
asked 2023-05-17T11:03:20.85+00:00
Ruslan Burnashev 0 Reputation points
commented 2023-05-19T07:38:29.2666667+00:00
Ruslan Burnashev 0 Reputation points
1 answer One of the answers was accepted by the question author.

Load balancing Services on a Single VM Using VMSS to Decrease Costs

Is it possible to use VMSS to load balance services on a single VM and scale out instead of scheduling a scale up with the associated downtime and complexity that introduces? Currently, Azure Advisor suggests resizing several VMs, but I am not a fan of…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,240 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.
253 questions
asked 2023-05-18T11:57:30.5966667+00:00
Travis Haviv 20 Reputation points
accepted 2023-05-18T13:58:06.1266667+00:00
Travis Haviv 20 Reputation points
1 answer

Azure Virtual Machine Monitoring

Good day I am needing to monitor the resources of the virtual machines. Both the CPU, Disk, RAM memory or network use. Which is the best option? Would it be with Azure Monitor? In case it is with Azure Monitor, how is it implemented? Should a plugin be…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,072 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.
253 questions
asked 2023-05-17T12:49:54.4533333+00:00
Fernando Gutierrez 40 Reputation points
commented 2023-05-18T05:46:50.34+00:00
AnuragSingh-MSFT 12,556 Reputation points
1 answer

VMAppExtension not running in Linux VMSS

Recently, VM App Extensions are not starting on VM scale set with Linux OS (Ubuntu 22_04-lts-gen2). It's failing with: The handler for VM extension type 'Microsoft.CPlat.Core.VMApplicationManagerLinux' has reported terminal failure for VM extension…

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.
253 questions
asked 2023-04-26T16:24:35.3966667+00:00
Brano 15 Reputation points
answered 2023-05-08T19:42:33.6666667+00:00
DL-3648 10 Reputation points
1 answer

Settings to non domain vmss instances

We are planning to use VMSS and because instance count are chaining based of load, we plan not to domain join them. This leads that they are not getting our normal GPOs but we still need to somehow manage certain settings. I tried to find best…

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.
253 questions
asked 2023-03-29T07:04:03.5366667+00:00
Wool Sock 261 Reputation points
commented 2023-05-08T11:16:28.2233333+00:00
vipullag-MSFT 18,901 Reputation points Microsoft Employee
1 answer

Hi, We have provisioned a virtual machine scale set and installed RabbitMQ on them. Before add them in to the cluster, we are trying to perform the connectivity test on multiple ports specific to RabbitMQ but both of these machines are not communicating.

Hi, We have provisioned a virtual Machine scale set and installed RabbitMQ on the virtual machines. Before add them in to the cluster, we are trying to perform the connectivity test on to multiple ports specific to RabbitMQ but both of these machines…

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.
253 questions
asked 2023-05-05T18:55:34.5966667+00:00
siri 0 Reputation points
answered 2023-05-08T03:37:26.1133333+00:00
vipullag-MSFT 18,901 Reputation points Microsoft Employee
0 answers

I am reaching out to seek assistance with an issue I am facing with the Azure Scale Set Agent failing

I am reaching out to seek assistance with an issue I am facing with the Azure Scale Set Agent failing to start on my virtual machine instances. I have attempted to troubleshoot the issue on my own, but unfortunately, I have not been successful in…

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.
253 questions
asked 2023-04-24T09:43:42.62+00:00
Appinventiv Technologies 0 Reputation points
commented 2023-05-02T19:08:37.91+00:00
deherman-MSFT 27,091 Reputation points Microsoft Employee
0 answers

Custom script exrension installed in scaleset doesn't get installed in the default instances

We have created a new scale set using Azure Powershell script and ran those scripts in cloud shell. Whereas we can see the custom script extension installed under scale set in Azure Portal. Here under scale set we have 2 Instances. The same custom script…

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.
253 questions
asked 2023-04-25T06:44:22.26+00:00
Prasath Selvaraj 6 Reputation points
edited a comment 2023-05-02T04:01:28.3866667+00:00
KarishmaTiwari-MSFT 13,362 Reputation points Microsoft Employee
0 answers

Difference VMSS Flexible orchestration mode and legacy mode

Error: VMSS with flexible orchestration mode is not currently supported for DCR as it does not use system-assigned managed identity.

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.
253 questions
asked 2023-04-25T11:16:46.51+00:00
suresh Reddy 41 Reputation points
edited a comment 2023-04-28T23:52:48.2766667+00:00
KarishmaTiwari-MSFT 13,362 Reputation points Microsoft Employee
3 answers

Shoutdown scripts or lifecyclehooks in Azure ScaleSets

I want to make sure that instances removed from a Scaleset run a script before being shutdown. Is there a solution in Azure to run a shutdown script before deleting an instance from a scaleset in Azure? Similar to the AWS scale out lifecicle hooks or…

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.
253 questions
asked 2023-04-20T01:07:36.09+00:00
Riccardo Marinelli 0 Reputation points
commented 2023-04-27T18:24:33.0533333+00:00
deherman-MSFT 27,091 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

VM ScaleSet doesnt run CSE for initial intances

I have an VMSS with manual scaling + custom script extension (CSE). The script looks like this: #!/bash/bin curl "someurl.com" > /my/path/to/file.txt In terraform I use it like this: resource…

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.
253 questions
asked 2023-04-22T15:26:26.7166667+00:00
previousversiondocs 46 Reputation points
commented 2023-04-26T13:03:55.17+00:00
previousversiondocs 46 Reputation points
2 answers One of the answers was accepted by the question author.

Disable "Windows automatic updates" when creating a VMSS in azure portal

You can create a vmss in Azure Portal. Is it possible to disable "Windows automatic updates" in Azure Portal while creating the vmss, and on which tab is the setting and what is the setting called please? I left "Guest OS updates >…

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.
253 questions
asked 2023-03-16T14:14:54.9133333+00:00
ClementJohannes-1110 20 Reputation points
accepted 2023-04-18T09:36:07.91+00:00
ClementJohannes-1110 20 Reputation points
1 answer

Will ADAL to MSAL migration be enabled for Microsoft HPC Pack, after ADAL deprecation in June 2023?

If an application uses Microsoft HPC Pack 2019 for deployment and management of HPC cluster in Azure, how can it be protected when ADAL is deprecated on June 30th 2023. Will HPC Pack receive an upgrade to MSAL and the applications using HPC Pack continue…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,651 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,240 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.
253 questions
asked 2023-04-14T15:21:14.53+00:00
Philip Bull 0 Reputation points Microsoft Employee
answered 2023-04-18T07:34:17.8366667+00:00
Shweta Mathur 14,911 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

Strategies regarding number of node pools and their management?

Team, We need to create a new cluster regarding which I have few questions: How many node pools are considered as part of better management of production cluster If multiple node pools are a good approach, then how to organize the user and system…

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,315 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.
253 questions
asked 2023-04-13T07:52:50.76+00:00
Tanul 936 Reputation points
commented 2023-04-17T08:23:28.0933333+00:00
Tanul 936 Reputation points
1 answer

How can I disable health probe of an instance in a VMSS using Python so that the application gateway stops sending new requests to that instance?

I have an application gateway which has a backend pool configured. The backend pool points to a VMSS which contains multiple instances. Health probe is also configured. When I want to downscale the VMSS instances from say 4 to 3, I want the application…

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
665 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.
253 questions
asked 2023-04-06T13:55:35.44+00:00
Shobhana Sriram 0 Reputation points
answered 2023-04-15T21:23:08.2366667+00:00
Micheal Falowo 1 Reputation point
1 answer One of the answers was accepted by the question author.

Setup VMSS to work with Total Sessions as a metric trigger

We are needing to build out a VMSS for clients, however our sessions have a broad range and we do not need X servers running throughout the day. We would like to scale our VMSS using "Total Sessions" as a trigger. For example: Start with 5…

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,240 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
300 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.
253 questions
asked 2023-04-10T19:20:56.3066667+00:00
Camron Shelton 20 Reputation points
accepted 2023-04-13T21:26:46.6133333+00:00
Camron Shelton 20 Reputation points
1 answer One of the answers was accepted by the question author.

Is there a way to limit SKU via azure policy for VMSS

Hi I setup a policy for restricting SKU-s in one of my subscription to limit deployment of vm to B1, and it works when I try to deploy a Vm but when deploying VMSS I still can select any SKU I want w/o restriction. Is there a builtin policy that allows…

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
600 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.
253 questions
asked 2023-04-11T07:52:44.9433333+00:00
Arkadiusz Matalewski 20 Reputation points
commented 2023-04-11T13:47:41.1366667+00:00
Arkadiusz Matalewski 20 Reputation points
1 answer

scale set uniform mode

Is it possible to take advantage of Defender for Servers' JIT capabilities in scale set uniform mode? I would like to know the procedure if possible.

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.
253 questions
asked 2023-03-06T23:49:16.7433333+00:00
浩明 島田 20 Reputation points
answered 2023-04-11T06:12:18.3+00:00
KarishmaTiwari-MSFT 13,362 Reputation points Microsoft Employee