Day-9/16 Azure DevOps Self Hoted Agents | Virtual Machine Scale Sets (VMSS) Azure DevOps Full Course

à¹à¸Šà¸£à¹Œ
à¸à¸±à¸‡
  • เผยà¹à¸žà¸£à¹ˆà¹€à¸¡à¸·à¹ˆà¸­ 8 à¸.ย. 2024
  • Welcome to Day 9/16 of the Azure DevOps Zero to Hero series. In this video, we will be discussing Azure DevOps self-hosted agents on Virtual Machine Scale sets (VMSS) in detail. We'll cover all the relevant concepts and provide a hands-on demo. Our focus will be on the self-hosted agents and VMSS concepts and demos from a beginner's perspective. Additionally, we will implement an end-to-end CICD Pipeline using the self-hosted agents on Azure DevOps.
    📌By the end of this video, you will learn the following:
    Self Hosted agents on Azure Virtual machine scale sets
    - Microsoft-hosted vs. self-hosted agents
    - Use case of self-hosted agents
    - Ways to setup self-hosted agents: VM, VMSS, container
    - What is a Virtual machine scale set
    - Set up a self-hosted agent using VMSS
    - Register the agent on an agent pool
    - Install custom utilities on the agent
    - Use the self-hosted agent on a pipeline
    - Comparison between self-hosted and Microsoft-hosted agents
    ✅ð—”ð—¹ð—¹ ð˜ð—µð—² ð—°ð—¼ð˜‚ð—¿ð˜€ð—² ð—¼ð˜‚ð˜ð—¹ð—¶ð—»ð—², diagrams, notes and code snippets ð—µð—®ð˜€ ð—¯ð—²ð—²ð—» ð˜‚ð—½ð—¹ð—¼ð—®ð—±ð—²ð—± ð˜ð—¼ ð—ºð˜† ð—šð—¶ð˜ð—µð˜‚ð—¯ ð—¿ð—²ð—½ð—¼ð˜€ð—¶ð˜ð—¼ð—¿ð˜†
    github.com/piy...
    ð—–ð—¢ð— ð—£ð—Ÿð—˜ð—§ð—˜ ð—§ð—¨ð—§ð—¢ð—¥ð—œð—”ð—Ÿ ð—¦ð—˜ð—¥ð—œð—˜ð—¦ 👌 It’s 🅵ðŸ†ðŸ…´ðŸ…´ ⛳
    ✅ ð—”ð˜‡ð˜‚ð—¿ð—² ð——ð—²ð˜ƒð—¢ð—½ð˜€ ð—­ð—²ð—¿ð—¼ ð˜ð—¼ ð—›ð—²ð—¿ð—¼:
    • Azure DevOps Zero to H...
    ✅ ð—”ð—­ðŸµðŸ¬ðŸ¬ ð—”ð˜‡ð˜‚ð—¿ð—² ð—™ð˜‚ð—»ð—±ð—®ð—ºð—²ð—»ð˜ð—®ð—¹ð˜€ ð—™ð˜‚ð—¹ð—¹ ð—–ð—¼ð˜‚ð—¿ð˜€ð—²
    • AZ900WithPiyush - Azur...
    ✅ ð—¡ð—®ð—ºð—®ð˜€ð˜ð—² ð—šð—¼ð—¼ð—´ð—¹ð—² ð—–ð—¹ð—¼ð˜‚ð—± | ð—šð—–ð—£ ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ ð—³ð—¼ð—¿ ð—¯ð—²ð—´ð—¶ð—»ð—»ð—²ð—¿ð˜€, ð—® ð—°ð—¼ð—ºð—½ð—¹ð—²ð˜ð—² ð—½ð—¹ð—®ð˜†ð—¹ð—¶ð˜€ð˜ ð—³ð—¼ð—¿ ð˜ð—µð—² ð—”ð˜€ð˜€ð—¼ð—°ð—¶ð—®ð˜ð—² ð—–ð—¹ð—¼ð˜‚ð—± ð—˜ð—»ð—´ð—¶ð—»ð—²ð—²ð—¿ (ð—”ð—–ð—˜) ð—–ð—²ð—¿ð˜ð—¶ð—³ð—¶ð—°ð—®ð˜ð—¶ð—¼ð—» ð—˜ð˜…ð—®ð—º:
    • Namaste Google Cloud, ...
    ✅ ð—”ð˜‡ð˜‚ð—¿ð—² ð——ð—®ð˜ð—® ð—³ð˜‚ð—»ð—±ð—®ð—ºð—²ð—»ð˜ð—®ð—¹ð˜€ ð——ð—£ ðŸµðŸ¬ðŸ¬ ð—³ð˜‚ð—¹ð—¹ ð—°ð—¼ð˜‚ð—¿ð˜€ð—²
    • Microsoft Azure Data F...
    ✅ ð—ð—²ð—»ð—¸ð—¶ð—»ð˜€ ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ ð—³ð—¼ð—¿ ð—•ð—²ð—´ð—¶ð—»ð—»ð—²ð—¿ð˜€
    • Jenkins Tutorial For B...
    ✅ #ðŸ­ðŸ¬ð˜„ð—²ð—²ð—¸ð˜€ð—¼ð—³ð—°ð—¹ð—¼ð˜‚ð—±ð—¼ð—½ð˜€ - ð—¥ð—²ð—®ð—¹-ð˜ð—¶ð—ºð—² ð—°ð—¼ð—ºð—½ð—¹ð—²ð˜… ð—µð—®ð—»ð—±ð˜€-ð—¼ð—» ð—½ð—¿ð—¼ð—·ð—²ð—°ð˜ð˜€ ð—¼ð—» ð—–ð—¹ð—¼ð˜‚ð—± ð—®ð—»ð—± ð——ð—²ð˜ƒð—¢ð—½ð˜€
    • 10WeeksOfCloudOps Chal...
    ✅ ð——ð—²ð˜ƒð—¢ð—½ð˜€ ð—®ð—»ð—± ð—–ð—¹ð—¼ð˜‚ð—± ð—£ð—¼ð—±ð—°ð—®ð˜€ð˜ð˜€:
    • DevOps and Cloud Podcasts
    ✅ ð—šð—¶ð˜ð—¹ð—®ð—¯ ð—–𗜠ð—–ð—— ð—§ð˜‚ð˜ð—¼ð—¿ð—¶ð—®ð—¹ | ð—˜ð—»ð—± ð—§ð—¼ ð—˜ð—»ð—± ð—¥ð—²ð—®ð—¹-ð˜ð—¶ð—ºð—² ð—£ð—¿ð—¼ð—·ð—²ð—°ð˜ [ð—™ð˜‚ð—¹ð—¹ ð—–ð—¼ð˜‚ð—¿ð˜€ð—²]
    • Gitlab CI CD Tutorial ...
    Subscribe to our channel to get notified about the latest videos.
    🔥 / techtutorialswithpiyush
    -----------------------------------------------------------------------------------------------------------------------
    ð—–ð—¼ð—»ð—»ð—²ð—°ð˜ ð—ºð—² ð—›ð—²ð—¿ð—²:👇👇
    🔥ð—¬ð—¼ð˜‚ð—§ð˜‚ð—¯ð—² â–¶ / techtutorialswithpiyush
    ⛳ð—Ÿð—¶ð—»ð—¸ð—²ð—±ð—œð—» â–¶ / piyush-sachdeva
    🚀ð—œð—»ð˜€ð˜ð—®ð—´ð—¿ð—®ð—º â–¶ / techtutorialswithpiyush
    ðŸŒð—§ð˜„ð—¶ð˜ð˜ð—²ð—¿ â–¶ / techie_piyush
    👨â€ðŸ’» ð—šð—¶ð˜ð—µð˜‚ð—¯ â–¶ github.com/piy...
    ✠ð— ð—²ð—±ð—¶ð˜‚ð—º.ð—°ð—¼ð—º â–¶ / piyush.sachdeva055
    📚 ð—±ð—²ð˜ƒ.ð˜ð—¼ â–¶ dev.to/piyushs...
    ✨ð——ð—¶ð˜€ð—°ð—¼ð—¿ð—± â–¶ / discord
    -----------------------------------------------------------------------------------------------------------------------
    References 📚:
    #devops #techtutorialswithpiyush
    Azure DevOps self-hosted agent
    Azure DevOps self-hosted agent Linux
    Azure DevOps VMSS
    Virtual Machine Scale Sets
    VMSS
    What is Virtual Machine Scale Set
    Azure DevOps tutorial
    Azure DevOps pipeline
    Azure DevOps full course
    Azure DevOps CI/CD
    Azure DevOps zero to hero
    Azure Pipelines
    Azure DevOps
    Azure tutorial
    Azure DevOps tutorial for beginners
    Self-hosted agent Azure DevOps
    Self-hosted agent Azure DevOps Linux
    Create a self-hosted build agent Azure DevOps
    Azure
    devops

ความคิดเห็น • 43

  • @MohanArora-mk7kv
    @MohanArora-mk7kv 2 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    Haven't seen a better tutorial for devops on youtube yet, thanks for all the efforts.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนà¸à¹ˆà¸­à¸™

      Glad you liked it!

  • @CptTurk81
    @CptTurk81 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    This is BEST Azure DevOps Course on TH-cam ðŸ‘

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

      Wait till you start the CKA course :D Thank you so much for the feedback!

    • @CptTurk81
      @CptTurk81 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

      @@TechTutorialswithPiyush thank you. I'm currently studying for the AZ-400. I will most definitely look at your CKA course after that 😄ðŸ‘

  • @abilaztanguturi
    @abilaztanguturi à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Great explanation and depth of each topic. The bgm is making me sleepy though. ;)

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

      Thanks for the feedback, I removed the music after a few videos, you won't hear it in the later videos

  • @mgdesire9255
    @mgdesire9255 8 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    Nice explanation very informative video â¤â¤

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  8 หลายเดือนà¸à¹ˆà¸­à¸™

      Thank you so much 🙂

  • @user-vz7ob5ek3y
    @user-vz7ob5ek3y 8 หลายเดือนà¸à¹ˆà¸­à¸™ +2

    Good one. Two feedback
    1. Avoid background music
    2. It will be great if you can show the linux script execution part as well

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  8 หลายเดือนà¸à¹ˆà¸­à¸™ +1

      Thank you for the fantastic feedback. Yes, I will be excluding the background audio during the demo and explaination from now on.
      The reason I did not include that part, I wanted everyone to try themselves, steps are straight forward and I am here to help if you are stuck anywhere.

  • @axelhernandez8435
    @axelhernandez8435 5 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    Thanks for the video :)

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  5 หลายเดือนà¸à¹ˆà¸­à¸™

      You're most welcome!

  • @dr.hemantchauhan2613
    @dr.hemantchauhan2613 8 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    Welcome to India Engg sahab

  • @monibahartinne2497
    @monibahartinne2497 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    Please avoid background music. Its very distracting. Other than that, your videos are very helpful. Thank you :)

  • @imdadakhtar1389
    @imdadakhtar1389 7 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    superb explanation, But getting the issue when install the npm by custom script, please share the document of install npm by custom script on linux.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  7 หลายเดือนà¸à¹ˆà¸­à¸™

      Thank you for the feedback. Steps are same as what I have shown for agent installation. What issue are you facing? can you join our discord server and share the details in help az devops channel?

  • @juliancampos1479
    @juliancampos1479 2 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    Very nice video!!! I have a question, how do I stop machines running in the scale set if there are no jobs available ?

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนà¸à¹ˆà¸­à¸™

      You can use the metrics based autoscaling and set the min instance count to 0 . Here are more details
      stackoverflow.com/a/64346804/7141267

    • @juliancampos1479
      @juliancampos1479 2 หลายเดือนà¸à¹ˆà¸­à¸™ +1

      @@TechTutorialswithPiyush Ok thank you very much, I am testing and apparently leaving the instances at 0 in standby works, but now I have a doubt, if my instances do not have a public IP, how is it that the instance can communicate with Azure DevOps ? How does the internet connection work if I don't have a public IP ? Anyway it works because it is able to upload pipeline artifacts and send files to s3 buckets.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  2 หลายเดือนà¸à¹ˆà¸­à¸™

      @@juliancampos1479 it uses the Azure internal network and communicates via agent

    • @juliancampos1479
      @juliancampos1479 2 หลายเดือนà¸à¹ˆà¸­à¸™

      @@TechTutorialswithPiyush Do you have any documentation to guide me? I can't find anything specific to internet connection with private IP.

  • @manojtalluri5087
    @manojtalluri5087 8 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    When do you complete please complete fast it is very helpful

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  8 หลายเดือนà¸à¹ˆà¸­à¸™

      Yes brother, I am trying my best to complete this ASAP. Video #10 will be published on Monday and already sent video #11 for editing.

  • @ARUN5583
    @ARUN5583 3 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    @TechTutorialswithPiyush Do we need to whitelist any public IP related to Azure devops in our VMSS SUBNET to install the extension.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  3 หลายเดือนà¸à¹ˆà¸­à¸™

      The extension needs to be able to download the build agent files from vstsagentpackage.azureedge.net/agent, and the build agent needs to be able to register with Azure DevOps Services. Make sure that this URL and Azure DevOps Services-related IPs and URLs are open on the instance. For IPs and URLs that need to be unblocked on your firewall, see below
      learn.microsoft.com/en-us/azure/devops/organizations/security/allow-list-ip-url?view=azure-devops&tabs=IP-V4

  • @nikhilyadav-st8gh
    @nikhilyadav-st8gh à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

    I'm getting ProvisioningState/failed/VMExtensionHandlerNonTransientError error, please provide any solution

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

      This is not the complete error. I am not sure what steps have you performed and where you are getting the error. Please join our discord server and share the issue in detail.

    • @paridhishivhare5690
      @paridhishivhare5690 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™

      @@nikhilyadav-st8gh non transistent basically time out error try to run one more time

  • @Abhi6goswami
    @Abhi6goswami 25 วันที่ผ่านมา

    Why are we installing npm in the agent manually when we already have npm installation command in the Yaml pipeline itself?
    What's the different in installing npm once in the agent and then into pipeline?

  • @dannyroy8571
    @dannyroy8571 8 หลายเดือนà¸à¹ˆà¸­à¸™

    Hey, hii Piyush - Nice Sharing..!! sorry for asking you out of the video question but its regarding Azure only
    Had an question regarding "Azure registry container images should have vulnerabilities resolved (powered by Microsoft Defender Vulnerability Management)" - lets say suppose for this azure recommendation i want to turn off scanning of old images images and only with the latest tag image should be scanned and rest all should be ignored - How can i do it soo ?? Need to Improve my Azure secure score

  • @awssoorinje747
    @awssoorinje747 8 หลายเดือนà¸à¹ˆà¸­à¸™ +3

    Sir, please could we not have background music? It's distracting to concentrate.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  8 หลายเดือนà¸à¹ˆà¸­à¸™

      Sure bro, thanks for the feedback

    • @TM-wv1zc
      @TM-wv1zc 8 หลายเดือนà¸à¹ˆà¸­à¸™ +1

      Nice music i like it@@TechTutorialswithPiyush

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  8 หลายเดือนà¸à¹ˆà¸­à¸™ +1

      @@TM-wv1zc Now I'm confused whether to keep it or remove from next time onwards. May be I will start a poll 😄

    • @shivkant5039
      @shivkant5039 4 หลายเดือนà¸à¹ˆà¸­à¸™

      It's good

    • @monibahartinne2497
      @monibahartinne2497 à¸«à¸¥à¸²à¸¢à¹€à¸”ือนà¸à¹ˆà¸­à¸™ +1

      @@TechTutorialswithPiyush please remove it :)

  • @user-jk5gg5um7d
    @user-jk5gg5um7d 8 หลายเดือนà¸à¹ˆà¸­à¸™ +1

    You don't need to appolise man. You are doing a get job.

    • @TechTutorialswithPiyush
      @TechTutorialswithPiyush  8 หลายเดือนà¸à¹ˆà¸­à¸™

      Thank you for the support!