Questions tagged [azure-vm-scale-set]
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.
azure-vm-scale-set
419
questions
10
votes
4
answers
3k
views
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?...
9
votes
1
answer
4k
views
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 ...
7
votes
4
answers
5k
views
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 ...
7
votes
1
answer
6k
views
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 ...
6
votes
1
answer
8k
views
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 ...
6
votes
1
answer
2k
views
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 ...
6
votes
1
answer
1k
views
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 ...
5
votes
1
answer
2k
views
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 ...
5
votes
1
answer
2k
views
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 ...
5
votes
1
answer
6k
views
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 ...
4
votes
2
answers
6k
views
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 ...
4
votes
1
answer
7k
views
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 ...
4
votes
3
answers
6k
views
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 ...
4
votes
3
answers
4k
views
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 ...
4
votes
2
answers
2k
views
Azure Multiple Public IPs on a Virtual Machine Scale Set with Resource Manager
We try to migrate our Platform from classical IIS hosting to a service fabric micro service architecture. So fare we learned that a service fabric lives in a virtual machine scale set and uses Load ...
4
votes
2
answers
693
views
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 ...
4
votes
1
answer
4k
views
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 ...
3
votes
1
answer
20k
views
Azure VM - Operation could not be completed as it results in exceeding approved standardDv2Family Cores quota
Would like to increase the capacity of existing Azure Vitrual Machine Scale set.
Issued below command:
az vmss scale --name test --new-capacity 5 --resource-group testrg
Exception Details
Operation ...
3
votes
1
answer
3k
views
Get the names of all virtual machines in an azure scale set via the Python SDK
How do I get a list of all the names of VMs in a scale set via the Python SDK?
I think this might have the answer, but I cant create an instance of the class.
3
votes
1
answer
3k
views
How to choose correct Service Fabric Reliability Tier?
I'm reading the article on Service Fabric cluster capacity, reliability tiers, and durability tiers. The article (at this time of writing) lists the following tiers:
Platinum - Run the System ...
3
votes
2
answers
2k
views
Add Multiple Certificates to new VMSS from the same KeyVault
Question
I'm trying to add multiple certificates to a new VMSS when creating it but i'm receiving error List secrets contains repeated instances of
/subscriptions/xxxxx/resourceGroups/xxxxx/...
3
votes
1
answer
984
views
Premium (SSD) managed disks for Azure VM Scale Set
I've been trying to get Premium managed disks (SSD) enabled for Azure Virtual Machine Scale Sets, but I don't seem to get it setup.
Standard (HHD) seems to work for managed disks.
Anybody got this ...
3
votes
2
answers
2k
views
VMSS extensions in linked ARM template
I have a scale set with 5 extensions. 2 of them are for Service Profiler, to install .net 4.6.1, and for the service profiler agent itself. When I deploy the template with all 5 extensions, due (I ...
3
votes
1
answer
1k
views
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'...
3
votes
1
answer
712
views
Auto scale Service Fabric Stateless Service?
Is there any way to set up auto scaling of stateless services in Service Fabric? I know you can add more nodes to the cluster using Scale sets and auto scaling, but what about adding more instances of ...
3
votes
1
answer
581
views
Renewing SSL certificate Service Fabric endpoint
How can I renew certificate on a service fabric https endpoint after it expires?
I use port sharing for multi-domain support (WebListener) and netsh to bind cert to ip:port (I can't use manifest file ...
3
votes
1
answer
3k
views
ResourcePurchaseValidationFailed when creating a VM via Azure RM REST API
Hi am trying to create a VM using Azure RM REST APIs, but It gives the following error code
"error": {
"code": "ResourcePurchaseValidationFailed",
"message": "User failed validation to ...
3
votes
0
answers
1k
views
Unable to start devops build agents using VMSS scale sets
Description: Created a VMSS scale set using a custom image from VS2019 VM and started a devops build agent in Azure devops
Issue: After creating the devops agent, the scale set instances are struck in ...
3
votes
1
answer
481
views
Terraform destroy azure load balancer
I've been trying to create an Azure virtual machine scale set with terraform and it's creating it fine, but when I try to perform Terraform destroy, I receive this message below. Any ideas on how I ...
3
votes
0
answers
219
views
Azure Virtual Machine Scale Set VMSS re-imaging without service interruption
Wondering about the best way (Powershell or ARM template way) to change VMSS image gradually without service interruption of the whole Scale-Set.
3
votes
1
answer
1k
views
Azure custom script extension stuck. not able to rerun or delete extension
I was trying to run a custom script on my scaleset vm due to the wrong location of the sh file the exeuction failed. but after that when I try to remove (az vmss extension delete) or rerun(az vmss ...
2
votes
2
answers
2k
views
How to change the OS on an existing Service Fabric cluster?
I'm trying to change my VMSS from:
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2016-Datacenter-with-Containers",
"version":...
2
votes
1
answer
2k
views
URL Rewriter Powershell DSC
I'm trying to get the URL Rewriter installed using Powershell DSC and it keeps failing. When I remove the step for installing rewriter, the script succeeds.
My setup is using Visual Studio Team ...
2
votes
2
answers
2k
views
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 ...
2
votes
1
answer
3k
views
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.
2
votes
1
answer
10k
views
How to monitor a Windows Service on an Azure VM?
I have a windows service running on a Azure VM availability set.
What is the best way to instrument monitoring for this service utilizing any of the Azure monitoring solutions?
2
votes
2
answers
5k
views
Running custom script extension on deployed scale set instances
currently I'm using custom script extension to run scripts on demand on my azure vm server as part of our software solution, our other dev team is moving an application to a scale set and i am no ...
2
votes
2
answers
1k
views
use azure cli command to change the reference image of vmss and update the vm running under the vmss
I want to use azure cli command to change the reference image of vmss and update the vm running under the vmss.
I used to use UI to update the reference image as shown below.
I tried following https:/...
2
votes
1
answer
6k
views
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 ...
2
votes
4
answers
4k
views
Azure vmss without a load balancer
My requirement is to scale vm instance (linux based custom image) based on CPU usage. Tried to follow steps mentioned in VMSS (virtual machine scale sets : https://learn.microsoft.com/en-us/azure/...
2
votes
2
answers
200
views
Azure. How to Share Files Between Highly Available Web Servers
We have 2 Ubuntu VMs inside Virtual Machine Flexible Orchestration that are behind Application Gateway and are running Apache Tomcat web servers. When a client connects to one of the VMs and uploads ...
2
votes
1
answer
2k
views
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 ...
2
votes
1
answer
1k
views
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 ...
2
votes
2
answers
763
views
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 ...
2
votes
1
answer
2k
views
Adding public IP for existing virtual machine scale set
I have an existing virtual machine scale set. Currently I have one virtual machine there. I would like to update the scale set and add a public IP to the virtual machine or somehow create a load ...
2
votes
2
answers
1k
views
How do I change the VM size of the agent pool in an Azure container service?
I have deployed an Azure Container Service a month ago and it works perfectly. However when I tried to increase the VM count in the agent pool then Azure returned an "operation not allowed" error all ...
2
votes
2
answers
2k
views
How do you get the list of vmInstanceIDs associated with Azure scale sets?
I have looked at the azure cli and tried everything under 'azure vmss' that I could find. I used the armclient and tried different REST request to determine the list. I see several requests in the cli ...
2
votes
1
answer
666
views
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"
...
2
votes
1
answer
704
views
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 ...
2
votes
2
answers
1k
views
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, ...