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.

406 questions
0
votes
0 answers

Virtual Machine Scale set in Azure doesn't scale

Virtual Machine scale set in Azure doesn't scale. The CPU usage on the VM is 99%, but the utilziation shown on Azure for only one is around 10%-20%. I have tried adjusting the scale lower for the average cpu to 40%, but it doesn't change…
0
votes
1 answer

Creating vm instance on azure through shell or ansible?

I want to create a VM instance on azure through ansible/shell script from my machine. ways i have found Installing az cli on my machine, az login and create instance. Problem with az cli :In this way i can create instance but i need a session…
TechChain
  • 8,404
  • 29
  • 103
  • 228
0
votes
1 answer

Access API hosted in Azure VM on Private IP via Azure Data Factory

I have Apache server running on Azure VM that exposes certain APIs. I am triggering those APIs using web activity of Azure Data Factory. My question is How can I acess the API over private network rather than using public API. that way I can…
0
votes
1 answer

Renewing ACS Kubernetes cluster

I've ACS kubernetes cluster running on azure vmss, recently I renewed my acs service principal by adding the new key in /etc/kubernetes/azure.json in master and worker nodes and restarted them but the issue is new nodes created as part of scaling…
0
votes
2 answers

Cannot SSH into scale set instances using application gateway

I've created a scale-set with two instances and connected the scale-set with application gateway. Now, I want to ssh into the instances but I cannot do it using application gateway. The instances do not have public IP assigned. I was able to ssh…
0
votes
1 answer

How Do I Specify a Custom/AppInsights Metric When Creating an AutoScale Rule with Powershell?

I'm looking to use Azure Powershell to disable auto-scaling on an AZVMSS I've created during deploy to avoid hangups in the deploy process with our deploy server(the problem is our software tries to do too much at once and it makes a 5 minute deploy…
0
votes
1 answer

Create a Azure VM with unmanaged data disks enabled using powershell

I am trying to create a azure vm using powershell so that it would allow to attach unmanaged data disks in future. I see documentation on creating but those always create with managed disks
hemanth s
  • 1
  • 1
0
votes
1 answer

Attach managed disk to vmss instance using java

I'm using azure-libraries-for-java (https://github.com/Azure/azure-libraries-for-java/) to handle some azure management stuff, and one of the features I'm not able to figure out is hot to attach a managed disk to a vmss instance. This action can be…
Cesar
  • 2,027
  • 2
  • 18
  • 29
0
votes
1 answer

How do I associate a VM scale set with a load balancer using Azure PowerShell

I can do it in the Azure Portal by browsing to the backend pool of the load balancer and associate my VMSS, but I need to automate it with Azure PowerShell. This is what I have so far but I can not save the updated network settings. $vmss =…
0
votes
1 answer

azure - Autoscaling a VM with DB

Recently, I have been introduced to Azure and I have to replicate my network with VM. I have some doubts about the scaling. the documentation says: When you create a scale set, you define the number of VM instances that you wish to run. As your…
0
votes
1 answer

Set environment variable using custom extension for linux in azure

I am trying to set environment variable in virtual machine using custom extension but i am not able to do so. I created a script.sh file with following content #!/bin/bash if [ -z "$hiddencode" ] then echo "Setting user information" echo…
0
votes
1 answer

Does environment variables get passed to new scale set instances created from deprovisoned azure vm(linux) image

I have created a few environment variables in my Linux VM hosted in Azure. The environment variables reside in ~/.profile file. The variables are: admin_user=heroadmin export admin_user admin_password=heropassword export…
lambad
  • 1,046
  • 10
  • 21
0
votes
1 answer

Problem on distributing traffic from public load balancer to nginx

I am trying to distribute requests that comes to load-balancer to azure scale set instances. I created a scale set using a linux vm image. In image, Nginx is already installed in the vm. Nginx config is shown below: server { listen 80…
0
votes
1 answer

Database on a Virtual Machine on an Azure Scale Set

I have to set up a database on an Virtual Machine on a Scale Set, for scalability. This database will update itself every 30 sec from an external source and it will be then used (read only) internally in Azure by other virtual machines. What I'm…
0
votes
1 answer

Azure website with scaling and redundency

I currently have a website in IIS in Azure VMs. I have the site replicated over 2 VMs in 2 availability zones. This protects the site against downtime. I need to implement some scalabilty for high load moments. This seems to be what Scale sets were…