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
Haven't seen a better tutorial for devops on youtube yet, thanks for all the efforts.
Glad you liked it!
This is BEST Azure DevOps Course on TH-cam ðŸ‘
Wait till you start the CKA course :D Thank you so much for the feedback!
@@TechTutorialswithPiyush thank you. I'm currently studying for the AZ-400. I will most definitely look at your CKA course after that 😄ðŸ‘
Great explanation and depth of each topic. The bgm is making me sleepy though. ;)
Thanks for the feedback, I removed the music after a few videos, you won't hear it in the later videos
Nice explanation very informative video â¤â¤
Thank you so much 🙂
Good one. Two feedback
1. Avoid background music
2. It will be great if you can show the linux script execution part as well
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.
Thanks for the video :)
You're most welcome!
Welcome to India Engg sahab
Thank you sir!
Please avoid background music. Its very distracting. Other than that, your videos are very helpful. Thank you :)
Noted
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.
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?
Very nice video!!! I have a question, how do I stop machines running in the scale set if there are no jobs available ?
You can use the metrics based autoscaling and set the min instance count to 0 . Here are more details
stackoverflow.com/a/64346804/7141267
@@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.
@@juliancampos1479 it uses the Azure internal network and communicates via agent
@@TechTutorialswithPiyush Do you have any documentation to guide me? I can't find anything specific to internet connection with private IP.
When do you complete please complete fast it is very helpful
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.
@TechTutorialswithPiyush Do we need to whitelist any public IP related to Azure devops in our VMSS SUBNET to install the extension.
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
I'm getting ProvisioningState/failed/VMExtensionHandlerNonTransientError error, please provide any solution
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.
@@nikhilyadav-st8gh non transistent basically time out error try to run one more time
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?
Let me check this
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
Sir, please could we not have background music? It's distracting to concentrate.
Sure bro, thanks for the feedback
Nice music i like it@@TechTutorialswithPiyush
@@TM-wv1zc Now I'm confused whether to keep it or remove from next time onwards. May be I will start a poll 😄
It's good
@@TechTutorialswithPiyush please remove it :)
You don't need to appolise man. You are doing a get job.
Thank you for the support!