How to Configure Autoscaling on Microsoft Azure Virtual Machine Scale Sets (VMSS)

Поділитися
Вставка
  • Опубліковано 7 вер 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...

КОМЕНТАРІ • 34

  • @edipocdf
    @edipocdf Рік тому

    excelent videos series, following all of them to study for az-104.

  • @melsoliano1937
    @melsoliano1937 4 місяці тому

    well explained, keep up the good work mate!

  • @Hackenbaker
    @Hackenbaker 3 роки тому +3

    Very well explained, I will follow the rest of your amazing videos, thank you.

  • @simplydevops
    @simplydevops 3 роки тому +1

    Vary useful content...... Please make vlog on Load Balancer creation and configuration.

  • @vishnujk
    @vishnujk Рік тому

    Super video clear cut explanation

  • @sureshkumardowluri9720
    @sureshkumardowluri9720 2 роки тому +1

    Nice explanation. Can you please post videos on load balancer, App Gateway, network traffic manager concepts in azure.

  • @harimanchester7036
    @harimanchester7036 2 роки тому +1

    Very nice

  • @SuperAnildesai
    @SuperAnildesai 10 місяців тому

    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.

  • @ivaanpankajbhalgat3258
    @ivaanpankajbhalgat3258 2 роки тому

    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?

  • @barwalgayatri4655
    @barwalgayatri4655 7 місяців тому

    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

  • @lets_learn_some_tech5542
    @lets_learn_some_tech5542 Рік тому

    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!

  • @automechanictrainingcenter9461
    @automechanictrainingcenter9461 4 роки тому +1

    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 ??

    • @HarvestingClouds
      @HarvestingClouds  4 роки тому +1

      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!

    • @ITBelele
      @ITBelele 4 роки тому

      You have 2 obtions:
      - VPN
      - access the vm trough a gateway / load balancer (not a very good option for security reasons)

  • @richardwaldron1684
    @richardwaldron1684 3 роки тому +1

    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

    • @HarvestingClouds
      @HarvestingClouds  3 роки тому +1

      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.

  • @hardiktathod5978
    @hardiktathod5978 Рік тому

    Can we scale vm vertically, can you guide in that

  • @ITBelele
    @ITBelele 4 роки тому

    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.

  • @jashwanthreddy2211
    @jashwanthreddy2211 4 роки тому

    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)

  • @maheshpolusu9458
    @maheshpolusu9458 3 роки тому

    Can we maintain a common disk for all VM's... If yes can you provide the references

  • @sagarsonar3776
    @sagarsonar3776 2 роки тому

    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

  • @vinodkankanavadi5292
    @vinodkankanavadi5292 2 роки тому

    How do we access the vmss instances through the RDP ?

  • @vijay8275
    @vijay8275 3 роки тому

    Nice explanation :-) Can we set Auto scaling to those machines which are not created by VMSS? If yes then how?

    • @TutoriallabNetblog
      @TutoriallabNetblog 3 роки тому

      this is also my question.

    • @HarvestingClouds
      @HarvestingClouds  3 роки тому

      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.

  • @Eslam.Basyouni
    @Eslam.Basyouni 4 роки тому

    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

    • @HarvestingClouds
      @HarvestingClouds  3 роки тому

      You will need to convert your existing VM into an image and then create VMSS from that image.

  • @rupeshsinha769
    @rupeshsinha769 4 роки тому

    Will my application or web page also be installed automatically when a new VM instance will be added?

  • @alanf1847
    @alanf1847 3 роки тому

    hi! how make backup of the instances on scale set?

    • @HarvestingClouds
      @HarvestingClouds  3 роки тому

      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.

  • @harishl4881
    @harishl4881 4 роки тому

    Hi Sir, show us a apache webserver with sample php application by using a loadbalancer and VMSS.

    • @HarvestingClouds
      @HarvestingClouds  4 роки тому

      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.

  • @frankparth8888
    @frankparth8888 3 роки тому

    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.