Docker Containers on Azure VMSS
Good day. I would like to deploy docker containers on Azure VMSS. What needs to happen is that I have 3 docker containers. I want a VM to have all three docker containers. When traffic expands, there will be multiple VMs having the same docker…
Scheduled maintenance for Azure VMs
Dear support, we received a notification regarding scheduled maintenance for Azure Virtual Machines in set of regions. Currently our workloads live in the mentioned regions. We have several AKS clusters based on node pools built on Virtual Machine Scale…
I can't ssh into the VMSS node instance
Hi, I have set up a Bastion and have created ssh key pair. Have added the public key to the vmss instance via azure cli. I went to Azure Portal and was trying to access the VMSS instance using the private key I have and azureuser username but it…
Is it possible to edit cloud-init?
I cannot find any documentation on changing the cloud-init for VMSS. Is it possible to do this? And if so, is it possible to do this through Azure Portal or does this have to be done through Azure CLI? I need to have a script that runs each time a VM is…
Why is there a long delay between VMSS rolling update batches?
I have set up rolling updates in a VMSS. I initiate the update by setting a revised custom script using CLI. However, I notice that there is a very long delay between update batches. For example I observe healthy --> unhealthy --> healthy cycle…
Azure Virtual Machine scale set - Set to automatic OS image upgrades
Azure Virtual Machine scale set - Set to automatic OS image upgrades
Inconsistent NIC and IP Configuration Order in VMSS
I have created a Virtual Machine Scale Set (VMSS) with multiple NICs and IP configurations. The initial configuration was as follows: NIC0: Subnet 21.0.16.0/24 NIC1: Subnet 21.0.32.0/24 NIC2: Subnet 21.0.48.0/24 NIC3: Subnet 21.0.64.0/24 When the…
CMG - Azure Virtual Machine Scale Set Cloud Management Gateway instance is Unhealthy in Azure
Hi All, In our SCCM environment configured with Cloud Management Gateway. Its stopped working from last One month. In SCCM console CMG connection point show as disconnected. We checked in Azure Virtual Machine Scale Set Cloud Management Gateway instance…
Virtual Machine Scale Set in Failed Provisioning state due to failed installaiton of DependencyAgentLinux
All the virtual machine scale sets for my AKS cluster nodepools are in failed State due to unsuccessful extension installations. They OS is Linux with size Standard_D32s_v5 (2 instances). The following error log is provided The handler for VM…
I need to create custom VM Image out of single VM in Virtual Machine ScaleSet
I need to create a custom cbl-mariner based image, to do that i need to first deploy a vm using vmss ( deploying a single vm is not recommended due to security reasons) and then customize it, post that need to generalize the vm and make Image out of it.…
Adding existing non-HA VMs to a new availability set
Adding existing VMs to a new availability set in Azure is possible? My plan is to shut down the VM, create the availability set, attach-add VMs to the availability set.
can not start or run the aks-nodepool1-16827561-vmss
after stopping my vm scale set, today i tried to run it again but the start and stop buttons were gray (can not click it). how to resolve this issue?
Azure SDK for listing VMs and VMSS
Hi Team, I am looking for Azure SDK to list all VMs under the VMSS. I can see that we have APIs to list the resources but I need to implement this using SDK. Please let me know if there is any SDK that I can leverage to. Thanks.
How can I make a VM in a scale set wait for systemd to gracefully shutdown?
I am interested in using VM scale sets for a workload with automatic scale in policies. Unfortunately it seems the scale down policy for shutting down the VMs that part of the scale set is overly aggressive. In my testing I've found that it waits at most…
Vmss OS type name issue
I have VM image captured of type windows server 2019. I used this in vmss for auto scaling purpose, but in main screen of vmss, it shows os type as Linux, but my vm image is windows. And when I come inside that vmss, it shows os type as windows. Can you…
How to deploy a 3tier architecture to Azure using Terraform?
Hi everyone, currently, I'm working on deploying a 3tier architecture to Azure using Terraform. By chance, does anyone have a sample template we could use? Or put me on the correct path to creating this. Also, how do we deploy this template into Azure…
Gracefully shutdown scale set with more than 15 minutes timeout
I'm deploying a scale set and need to implement a graceful scale-in process for instances running jobs that take over 15 minutes to complete…
VMSS stopped suddenly doing AutoOSUpgrade
We are 3 VMSS in each env, in all env suddenly VMSS has stopped doing AutoOSUpgrade even after 12hrs of image creation. last AutoOSUpgrade was done at oct25 Upgrade Policy mode : Rolling
❌All succeeded
I created a VMSS with spot VM. Due to the eviction policy of spot VM, some of instances will be deleted sometime, and new instances will be created by VMSS autoscaling. However, when some instances are creating, provison state of this VMSS is failed,…
[Azure] How can I retrieve the private IP addresses of all instances within an Azure Virtual Machine Scale Set using the Instance Metadata Service (IMDS)?
I am utilizing the IMDS endpoint mentioned to retrieve the private IP address of a specific scale set instance. (Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -Uri…
![](https://techprofile.blob.core.windows.net/images/pITtupyqL0eyih673iM4HQ.png?8D90E7)