Hi Dean, great video as usual. Just a few questions about the host pool at 15:23. You obviously hard coded the registration token (11:42) in the image version 0.24394.7295 (14:10). Then you deployed new VMs/Session hosts using your arm template from that version. What if you needed to create session hosts for multiple host pools (with unique registration tokens)? Is that part of the customscriptextension variables you deleted at 15:04? How would you build session hosts from AzureDevOps? Could you use Terraform instead of ARM?
@AzureAcademy2 жыл бұрын
Thanks files watching…um, one thing is that I don’t put the token in the image. I use my template deployment to build VMs from the image, then I deploy the AVD agents with a custom script extension
@LelandVelasco4 жыл бұрын
Well done Dean! These change the perspective of creating images. Could you make a episode for app installation, I think it would br great
@AzureAcademy4 жыл бұрын
technically I just did! We installed WVD, FSLogix and did a system configuration with the WVD Optimization code. 😁 Please let me know if you have something specific in mind for the app installs or what else you have in mind so I can work in it. Thanks for the suggestion!
@LelandVelasco4 жыл бұрын
Ohh you did! Haha! I checked out your github repo 😂 i like to setup business apps like SAP GUI 7.60, SAP B1 etc or maybe try to use chocolatey too? 😇
@AzureAcademy4 жыл бұрын
chocolatey is a great way to script the install of apps then add that into your DevOps Repo and BANG...updated image!
@hopminonther4 жыл бұрын
Hi Dean, just marvelous content. Great! Could you point me in the right direction? You deleted your extension from your json. Where do you domainjoin the created endproduct VM?
@AzureAcademy4 жыл бұрын
Thanks Maarten! If I was writing an ARM Template and wanted to have the template perform the domain join I would use an extension. In the case of Azure Image builder this was NOT needed because it is baked into the process. Here is an example of ARM domain join extension docs.microsoft.com/en-us/azure/active-directory-domain-services/join-windows-vm-template { "apiVersion": "2015-06-15", "type": "Microsoft.Compute/virtualMachines/extensions", "name": "[concat(parameters('dnsLabelPrefix'),'/joindomain')]", "location": "[parameters('location')]", "dependsOn": [ "[concat('Microsoft.Compute/virtualMachines/', parameters('dnsLabelPrefix'))]" ], "properties": { "publisher": "Microsoft.Compute", "type": "JsonADDomainExtension", "typeHandlerVersion": "1.3", "autoUpgradeMinorVersion": true, "settings": { "Name": "[parameters('domainToJoin')]", "OUPath": "[parameters('ouPath')]", "User": "[concat(parameters('domainToJoin'), '\\', parameters('domainUsername'))]", "Restart": "true", "Options": "[parameters('domainJoinOptions')]" }, "protectedSettings": { "Password": "[parameters('domainPassword')]" } } }
@deo-max92294 жыл бұрын
I can't wait to try this!
@AzureAcademy4 жыл бұрын
Hope you like it...and let me know what you are doing with it!
@VermaThinks3 жыл бұрын
all of your Contents are Great
@AzureAcademy3 жыл бұрын
👍👍
@karthikexplorincity3 жыл бұрын
Excellent Video Thank You.. I'm going to try this today.. could you please make videos for Terraform deployment in azure and use it in azure devops build and release pipeline..
@AzureAcademy3 жыл бұрын
Karthik I am still learning Terraform myself...so it is coming
@SatzingerLucas4 жыл бұрын
Hello Dean, great video as always! Can you do a video on how Disaster Recovery works for WVD? Documentation on this topic is lacking and it would super helpful
@AzureAcademy4 жыл бұрын
funny you should ask @Lucas, I am working on that with the WVD Product Group now...I will have a video once the official doc is released...Stay Tuned!
@kengjames4 жыл бұрын
Great stuff Dean! I wonder how this will play out with CSP? I found it's a bit challenging to authenticate as it defaults to our own Azure AD instead of the customers'.
@AzureAcademy4 жыл бұрын
yeah CSPs have their own challenges...but Azure LightHouse seems to be helping them and other MSP and ISVs. WVD isn't directly supported with LightHouse yet...but the PSs are working on it.
@ExpertInvisible4 жыл бұрын
Hi Dean, Great content and lots of fun with it. Thanks
@AzureAcademy4 жыл бұрын
Thanks Adeel, please let me know what other videos you would like us to create...any Azure topic!
@ExpertInvisible4 жыл бұрын
@@AzureAcademy if possible then start a new series on Azure Devops
@AzureAcademy4 жыл бұрын
sounds good @Adeel, Since DevOps is so big...is there anything in particular you are looking for?
@ExpertInvisible4 жыл бұрын
yes, you're right. Then start VMware solution on Azure
@AzureAcademy4 жыл бұрын
I have been working to get access to Azure VMWARE Solution (AVS) However, the smallest install they allow of that is $3000.00 a month...which I don't have 😒 However if The Azure Academy gets to 100K Subs then it should being in enough to support setting up AVS for a month 😁 Share The Azure Academy with others so we can help more people learn the Cloud!
@judgeokoh68064 жыл бұрын
I'm really not clear on how you came about the "inline customization script" path. i'm working on creating a hardened image with CIS benchmark and additional configuration... great lecture you have here, love it
@AzureAcademy4 жыл бұрын
I pulled the command and the path from the GitHub directions found here -- github.com/danielsollondon/azvmimagebuilder/blob/master/solutions/1_Azure_DevOps/DocsReadme.md#inline-customization-script
@Cookiekaikai4 жыл бұрын
Hi Dean..could you do some autopilot videos. I am interested in learning about the new hybrid AD join with intune.
@AzureAcademy4 жыл бұрын
Thanks for the suggestion! I don't have intune...yet, so let me get that and Autopilot setup so I can make that for you...stay tuned
@marcomav41314 жыл бұрын
@@AzureAcademy Is it possible to enroll WVD machines to Intune?
@AzureAcademy4 жыл бұрын
It is complicated...in some scenarios...YES, however it is safer for me to say not at this time...at least not the way most people expect. We need features like Azure AD Join first and Intune doesn't understand Win10 Multi-session yet, and we don't have the right kind of policies yet...there is still a ways to go on before this feature is as native as everyone expects...Stay Tuned!
@joetahsin10813 жыл бұрын
Superb!
@AzureAcademy3 жыл бұрын
👍👍
@jenzushsu4 жыл бұрын
This is awesome video on AIB! It will be nice to show a sample of script to install some common applications (i.e. Office Apps, Chrome browser, Notepad++) as part of imaging :)
@AzureAcademy4 жыл бұрын
The image I used in the WVD pipeline was a windows 10 Multi-session image with Office already in it. As for loading other application packages...you just need to download them and install with a script...this is simple for apps like Chrome and NotePad++ Just do it like I showed you, create a folder...and you can have multiple folders by the way...put your scripts in there, the code will download and run in the background
@briancubero79134 жыл бұрын
Hello Dean, great content as always! Do you have ideas on how to do a test pipeline for the image build?
@AzureAcademy4 жыл бұрын
Hey Brian! Can you clarify the question for me...test what exactly? The end result of the process is an image... you could add a step to the pipeline to build a VM automatically or build the VM and then run automated tests on that VM to validate that everything worked. This is where Packer comes in...
@briancubero79134 жыл бұрын
@@AzureAcademy The test pipeline should verify if the packages installed are actually running as a basic requirement to pass the test. Have you tried packer for this flow?
@AzureAcademy4 жыл бұрын
I have not, but I know that others have used Packer for this.
@hjorkera4 жыл бұрын
I wonder if you could create a video on Azure Lighthouse? I'm thinking about the posibilities a pipeline like the one you have just created would bring coupled with light house, and the capabilites of deploying to different tenants.
@AzureAcademy4 жыл бұрын
YES and NO...LightHouse is something anyone can setup...if you know how...but you cannot setup the entire experience without being a cloud solution provider (CSP) creating the offerings and negotiating contracts with customers etc...but you can use it to manage other internal companies or divisions...let me look into it...Stay Tuned!
@benjamingraus32644 жыл бұрын
Hi Dean, Do you know if it's possible to add multiple scripts to the customization part? BTW the "-Optimize true" parameter would break the paker process at the stage "Configuring Network Adapter Buffer Size" From the logs: [abca01ad-2169-462c-8526-748f74ae1a34] PACKER OUT azure-arm: VERBOSE: Configuring Network Adapter Buffer Size [abca01ad-2169-462c-8526-748f74ae1a34] PACKER ERR 2020/10/30 10:15:03 packer-builder-azure-arm plugin: [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f9bdd7a-6ad1-43c7-e3b8-c2062951c4ff.ps1; &'c:/Windows/Temp/script-5f9bdd7a-1124-7ee7-fdf3-78fab98c122a.ps1'; exit $LastExitCode }"' exited with code: 16001 Cheers and Thanks
@AzureAcademy4 жыл бұрын
I do not think so, only 1 customization script from AIB at a time...however you could have that script kick off other child scripts.
@dcefola3 жыл бұрын
I have an update for you Benjamin! If you use the JSON Template approach to AIB then you can run multiple customizations, app installs and configurations within one build. I will have a video on this soon.
@AzureAcademy3 жыл бұрын
👍👍
@benjamingraus32643 жыл бұрын
@@dcefola awesome! Thanks for coming back on this!
@AzureAcademy3 жыл бұрын
👍👍
@kooloolimpah4 жыл бұрын
Please don't ever delete this channel or these videos.
@AzureAcademy4 жыл бұрын
Thanks F M Are there any suggestions for new videos you have in mind?
@bloodmasto1234 жыл бұрын
@@AzureAcademy maybe 1 question about wvd's is it possible to change the vm size of the pool later? (for example right now the vm size x is best cost but in 2 years their might be a better sku with a better price for the same resources, can you change the vm size of the host pool then? ) (it's not that i wan't a tutorial for it it's just if you are out if ideas it might be a topic worth? :) ) or another possible video: if it's possible to create a golden image from a wvd joined vm to deploy someday a video about that because right now it's a bit of taking one step back and 2 forward when you work with shared image galleries in wvd
@kooloolimpah4 жыл бұрын
@@bloodmasto123 once the host pool is provisioned, can't change the sizing. would either have to create a new host pool or use Shared Image Gallery for updates to the image.
@kooloolimpah4 жыл бұрын
@@AzureAcademy what i like about azure academy is that it is fast paced and uses real world problems scenarios with real world solutions on Azure. not the step by step mundane monotonic stuff that makes u remember why u hated school. so my request would be something with Azure DevOps or Kubernetes focused solutions
@AzureAcademy4 жыл бұрын
as of today @Mathias NO you cannot change the VM or the image of the host pool after you build the first VM...the PG is aware this is a "limitation" HOWEVER, after you have build the VMs they can become a different size at any time just like every other Azure VM. Just go to the VM, click the Size blade on the left and select a new size...this will force a reboot. To your other question...I would NOT create an image from a VM that is currently joined to WVD for a few reasons. 1. the join to WVD or the domain would not survive the SysPrep process 2. Even if the join to the host pool did survive it would force you to have 1 image per host pool, which is bad image management. 3. the "limitation" you mentioned has a better way to get solved, all I can say there is...Stay Tuned!
@roni44ify4 жыл бұрын
That's great, We use Packer now the question is what better to go whit is I have all in packer now. when will the Azure Image builder but release and not only preview?
@AzureAcademy4 жыл бұрын
that is a good question Roni86...I don't have an answer that I can share publicly because things can change and I don't want to set a false expectation...but stay tuned!
@frankanderson53794 жыл бұрын
@@AzureAcademy Hey Dean, any updates on this? Very curious re the "stay tuned".
@roni44ify4 жыл бұрын
@@AzureAcademy sorry it don't work could share the script I would like to do this but I see on git hub is a different script, one run that one I git a get some error and in the RG i have no all the items
@AzureAcademy4 жыл бұрын
not yet...the product groups take as much time as they feel the product needs to be tested globally, get feedback, make sure that all major issues are resolved because it is officially released as Generally Available.
@AzureAcademy4 жыл бұрын
can you be more specific @Roni86 which script are you talking about? The entire image builder or the WVD optimizations...?
@bloodmasto1234 жыл бұрын
just wondering, what cert's do you have on azure ? :p you know like .. everything in azure xD
@AzureAcademy4 жыл бұрын
I am a certified Azure solution architect, although I personally don't find a lot of value in certs. to me a cert proved that I could pass a test, not that I know what I am talking about. I would rather you demonstrate to me that you know what you are doing...and my the way I feel the same about college / university degrees... I would love to hear your feelings on the subject.
@hjorkera4 жыл бұрын
@@AzureAcademy I think certs are helpful in the sense that give you a blueprint to follow when you are trying to learn a totally new technology that's if you are genuinely trying to learn, I find it overwhelming enough when I don’t know where to start. On the other hand, some people just learn some answers they got on the internet, and just focus in passing the exam, they just make certifications worthless. There are drawbacks though when you focus too much on the end goal of earning a cert and don’t leave time to have fun and follow your curiosity, like what I'm feeling at the moment, I am preparing for Az-400, but here I am watching your video and wondering whether I should just follow along for the next hour because it’s fun and it's what I'm interested in at the moment, or whether I should continue with the next topic on my checklist for AZ-400.
@KelvinGalabuzi4 жыл бұрын
I agree with @Azure Academy...I have passed over 15 Microsoft exams and trust me I have learnt a ton of stuff through Azure documentation & videos like this and would tell you that a cert never comes close to this. I have also had the opportunity to learn from guys with just 1 azure cert compared to me with over 4. Like he said, it's just a paper, still important but not a silver bullet.
@KelvinGalabuzi4 жыл бұрын
@@hjorkera I always do both. The paper to get my C.V up the stack, the fun stuff to enable me crush the interviews incase any question is thrown at me.Because truth is, the exam doesn't cover everything. Most times I have found myself passing hard questions on the exam not because I studied for it, but because I have tried out something similar before in my fun stuff.
@AzureAcademy4 жыл бұрын
those are great points @Humberto Jorquera when people just get the cert it is no different than paying for it without really getting the knowledge which is what happened with the MCSE, MCSA & MCSD...and Microsoft just killed those off. no more of those certs will be issued. Microsoft did this because they want everyone to focus on the cloud certs...
@ramisohail4 жыл бұрын
Amazing as always, can we have a Series on DBs like managed instances and SQL DB?
@AzureAcademy4 жыл бұрын
Sounds great Rami! I am working with Bradley Ball...@SQLBalls who joined me for our Live Q&A to do a Data series. We are working on Azure Synapse, Azure SQL, Cosmos, Data bricks Azure SQL...are there any other topics you can think of for us to add?
@sidzhang4 жыл бұрын
Dean, I love your videos and I am a big fan. But I realized that recent episodes are mainly new features or products in Preview. I have spent some time watching your old videos, those are great but not up to date, don't get me wrong I know you are not superman who can do anything. But I am not sure if a refreshment of those could drive more attentions from new comers for you, because the lifecycle of new feature videos are short, people watch it, then it may get updated and when it goes GA, all the PS scripts are included into Portal. Again, just some humble thought from me, I wish more and more people are subscribe to your channel. Thanks
@AzureAcademy4 жыл бұрын
thanks for the feedback @Ceng Xiye I truly appreciate it. It is a tough balance to maintain, there are things I need to go back and redo...like my ARM Template series, and update it for VSCode, and some of the original Azure Network videos and more...but then there are new features that are trending now...those are hot topics that bring in new viewers as well...so very tough to balance them...I am open to ideas.
@dcefola3 жыл бұрын
AIB "should" go GA this year and there are many new features coming soon...more videos as well!
@AzureAcademy3 жыл бұрын
👍👍
@anugrahgaikwad772911 ай бұрын
Can you please upload the video for Azure image builder for linux machine . For me this is giving error
@AzureAcademy11 ай бұрын
It is the exact same process for windows or Linux, you just pick a difference source image. If you are having issues in customizations, isolate the script causing the issue and run that script manually…doesn’t work properly?
@saikuricheti3 жыл бұрын
Dean, thanks for the session. The link doesnt work: aka.ms/azvmimagebuilderdemos Can you recheck?
@AzureAcademy3 жыл бұрын
Not sure what happened there...here is the direct link - github.com/danielsollondon/azvmimagebuilder
@saikuricheti3 жыл бұрын
@@AzureAcademy Thanks Dan. Not sure if i can expect more - i gave multiple attempts on the steps, getting repeatedly stuck with the following error. Unable to get over the 1st image creation. Below is my error. Can you hint me on where i may be getting this wrong? "statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"DistributeError\",\"message\":\"Failed in distributing 1 images out of total 1: Some error happened, please check the error details.\",\"details\":[{\"code\":\"BadRequest\",\"message\":\"Bad request with error detail: Code=\\\"InvalidParameter\\\" Message=\\\"Duplicate regions are not allowed in target publishing regions.\\\"
@AzureAcademy3 жыл бұрын
The error is in the distribution phase. You have asked the image be placed in the same region twice. Check the powershell, arm templates or devops you are using to do the process for duplicate regions
@roni44ify4 жыл бұрын
one more thing its that just me that don't see the full code on the Github site that you run on the demo? - github.com/danielsollondon/azvmimagebuilder/tree/master/quickquickstarts/1_Creating_a_Custom_Win_Shared_Image_Gallery_Image
@AzureAcademy4 жыл бұрын
I just took the code that is on the GitHub page you linked...I copied each code block into PowerShell_ISE so I could run it all at once...thats it.