How to Configure Autoscaling on Microsoft Azure Virtual Machine Scale Sets (VMSS)
HTML-код
- Опубликовано: 9 ноя 2024
- In this video, we see how to configure autoscaling on Microsoft Azure Virtual Machine Scale Sets (VMSS) and how to work with it. We look at how to configure and update the scaling rules, how to view the history of scaling, working with individual instances in VMSS, and various other aspects of working with VMSS.
Previous Video on the topic of "Creating Microsoft Azure Virtual Machine Scale Sets (VMSS)": • Creating Microsoft Azu...
excelent videos series, following all of them to study for az-104.
Very well explained, I will follow the rest of your amazing videos, thank you.
Very very informatic ...
Vary useful content...... Please make vlog on Load Balancer creation and configuration.
well explained, keep up the good work mate!
Nice explanation. Can you please post videos on load balancer, App Gateway, network traffic manager concepts in azure.
Super video clear cut explanation
Thanks for amazing knowledge sharing. I have one doubt that, when scale out happen, Instance which will create, is it clone of 1st instance or all vm are different and need to configure manually?
Very nice
How fast is this scaling? Let's say I am running a python script to a large ML model will it the code as it will hit a RAM and CPU limit. Thanks for the awesome video!
Hi, instead of using a virtual machine host-level metric, can we use a custom apache2 guest-level metric in VMSS, to scaleup the instance based on request per minute.? any suggestion for this.
Can we maintain a common disk for all VM's... If yes can you provide the references
Nice explanation :-) Can we set Auto scaling to those machines which are not created by VMSS? If yes then how?
this is also my question.
Autoscaling is an out of box solution only available for VMSS. For normal VMs, you will need to set up the VMs behind a load balancer and then scale out via your own custom solution. E.g. via a script inside Azure Automation that will be triggered based on a query in Azure Log Analytics monitoring solution. Generally, when you need autoscaling, VMSS is the way to go. Or if you need granular control then set up multiple VMs behind a load balancer and scale per your requirements via ARM Templates and script.
Hi when new machine spins in, how ecommerce application will be loaded in it ? It will be a completely new vm right?? I am trying to search this answer but not getting it anywhere
Can we scale vm vertically, can you guide in that
you have shown everything in detail about the scale set, but you didn't mention how to connect to the virtual machines in the scale set since the scale set didn't have any public ip, how do you connect to vms from on-premises ??
Hi there! Thanks for checking out this video. I just touched the topic around 2:55 min mark. To your point, as this does not have Public IP address the connectivity options were intentionally skipped from this video. I am right now doing a series around Networking related videos where I will be covering Site-to-Site VPN, Express Route etc. for connectivity options. That is a prereq and I will definitely revisit connectivity for VMSS after covering those topics. Thanks for your feedback!
You have 2 obtions:
- VPN
- access the vm trough a gateway / load balancer (not a very good option for security reasons)
How do we access the vmss instances through the RDP ?
I've noticed that if i setup VM scale set and modify the initial instance, when the scalling out occurs the other instances are only empty VMs.
Basicly what i did was to add inside the initial instance docker and 2 containers that hold our application.
I'm concerned because each time we deploy a new version of the application normally we delete the old container and add the container with new code.
great video but I have a question please when you changed the minimum and default values from 1 to 2 at 7:17. You said the number of instances would go to 2 and I thought that would be the case too from what was configured. However at 9:54 the portal shows the original 1 instance plus a further 2 getting created. Why was this? Thanks
Great catch Richard! When recording the videos I have to edit and re-record various parts and I think that it was just a mismatch in the recording. I assure you that when you set minimum and default values, the net number of instances will be 2 after the settings.
how to connect a VMSS with load balancer ( the load balancer is already created and I tried to add VMSS to backend pool it's not showing in the list/not adding)
Will my application or web page also be installed automatically when a new VM instance will be added?
yes
Hello Everyone,Cam it possible To scale down VM at night at specific time and again Scale Up VM in morning using Automation account or custom script
can i apply Virtual Machine Scale Sets on my Current VM or i must create my VM from the beginning in Virtual Machine Scale Sets
You will need to convert your existing VM into an image and then create VMSS from that image.
hi! how make backup of the instances on scale set?
Hi Alan, The backup does not apply to VM Scale Sets (or VMSS) as the VMs in Scale Set are supposed to be stateless. That is you should be able to create and delete VMs from the base image in a VMSS without affecting the solution. A typical example would be a website.
Any data that you would store would be outside of the VMSS. E.g. a file uploaded from a website on VMs in VMSS would be stored in a storage account outside VMSS.
If you need to maintain state then you should not use VMSS and should set up individual VMs behind a load balancer. Then you can backup those VMs as well.
Hi Sir, show us a apache webserver with sample php application by using a loadbalancer and VMSS.
Hi Harish, Great suggestion! I will definitely try to do that after I cover up the current planned topics. I am focusing on Networking related videos for now. I will add this to my to-do list for sure.
What's the point of having a VM Scale Set if you can't connect to an first instance of a VM to configure an application to run on it? I mean you're walking through very basic features on this video, but it's completely useless in the end. Even contacting Microsoft support they failed to do a simple walk through of how to connect to a VM instance. There goes $1000 for nothing.