Azure Image Builder Master Class

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 89

  • @parasmani1052
    @parasmani1052 2 года назад +2

    Hey Dean,
    I'm new to Azure virtual desktop as I was into Citrix Virtual Desktop for last few years. You explained all the different elements of powershell scripts like image build, JSON file, VM creation and housekeeping very well. I loved watching all your other videos related to AVD. Looking forward to watch videos related to Nerdio and Devops pipeline.
    Thank you very much mate and I hope you all the best.

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Thank you Paras! Let me know what else you are looking for so I can create it ☺️

  • @jerenius
    @jerenius 3 года назад +3

    Guaranteed Dean and AA quality as always. Informative, efficient and entertaining.

  • @heivio
    @heivio 2 года назад +1

    you presented difficult process into simple way to let us learn. thank you.

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Thanks for your feedback! I had fun doing it, and I’m glad it was helpful to you👍

  • @mosksky
    @mosksky 3 года назад +1

    great training Dean! just one thing would be good to mention, if u need to pickup any packages from SA which is behind PE . Specify vnet where the image is going to be crated
    "vmProfile": {
    "vmSize": "Standard_D2_v2",
    "osDiskSizeGB": 127,
    "vnetConfig": {
    "subnetId": "/subscriptions/xxxxxxx/providers/Microsoft.Network/virtualNetworks/ImageVNET/subnets/ImageSM"
    }
    },

  • @schlomo33
    @schlomo33 2 года назад +2

    Hi Dean, were you able to create a Windows 11 GEN2 image with Image builder, all our tries so far got stuck with the vm not proceeding with the build. Very hard to troubleshoot:( Please let me know...Thanks

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      I have not tried AIB with windows 11 yet.
      Troubleshooting is best done using the packer logs that are in your storage account

  • @jackgleeson8321
    @jackgleeson8321 3 года назад +1

    I believe the image builder service is GA now. I really enjoyed your video.

  • @robb1267
    @robb1267 3 года назад +1

    Very excited for this and also very excited that I learned about the Desktops in the Cloud channel (which I didn't know about) so I can subscribe to that, too!

  • @haraprasadnayak4040
    @haraprasadnayak4040 3 года назад +1

    Great Dean. Have been waiting for thin since a while. Hope it will be all on AIB+MSIX

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      AIB and MSIX don’t directly have anything to do with each other ☺️
      After you use AIB...then build your hostpool...then you can attach your MSIX...we will show that in the next video on Apps...stay tuned!

  • @shahid1990able
    @shahid1990able 3 года назад +1

    Well explained.. I also wait for videos.. great stuff

  • @mahendiranr2359
    @mahendiranr2359 3 года назад +1

    Great session....It's helpful lot to me.,,

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      Glad to hear it! keep watching for everything new in Azure...and please share with everyone and on social media! 👍👍

  • @heivio
    @heivio 2 года назад +1

    Thanks

  • @seancornelius5507
    @seancornelius5507 3 года назад +1

    Great session!

  • @Mallins679
    @Mallins679 3 года назад +1

    He Dean, I want to give you some feedback. Because I like this style of how you do this video. I think this is the best format from the videos I have seen. Explaining something on the portal, then going to powershell. And doing the full session we can see you, and we get your recommendation.
    But one an additional question. In a lot of videos I see that we have to run the WVD optimization script after the sysprep like a start script. But on this video we say we want to include it on the image build process. Does that mean we doing it twice?

    • @AzureAcademy
      @AzureAcademy  3 года назад +2

      Thanks for the feedback Markus!
      First off...running it twice won't hurt anything. This way you can keep you current deployment process and scripts as they are, as well as your image build scripts.
      Second, IF it is included in the image then you should know that not everything in the optimizations will survive the sysprep process today...the Virtual Desktop Team is working to improve that and you can see more details on their GitHub page.
      Finally, If you choose to not include it in the image and just do it as a deployment script...that is fine as well.

  • @christianibiri
    @christianibiri 2 года назад +1

    Awesome, this is great! just for curiosity, this service is based on Hashicorp Packer?

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Yes, Packer is the back end service, if you need any of the packer logs, they will be in your storage account

  • @ericagbayani1638
    @ericagbayani1638 2 года назад +1

    Is it possible to use azure image builder as an imagining platform for physical laptops? Or is this mainly used just for VWs?

  • @johndoucette444
    @johndoucette444 2 года назад +2

    Great video. I am working through this in Azure and when creating the Image template resource I get error "A parameter cannot be found that matches parameter name 'api-version' I have been searching online for solution to this with no success. I see other tutorials using the same command. Do you have any idea why I get this error?

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Thanks!!! You are probably getting this error because one of the input parameters by default is looking for an API version. This should work
      2020-02-14

    • @johndoucette444
      @johndoucette444 2 года назад +1

      @@AzureAcademy Thanks. In the end I got it to work. Definitely I had issues with the json file.

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Glad you got it working

  • @ANILMAHADEV
    @ANILMAHADEV 3 года назад +1

    Great work man! Got you a subscriber!

    • @AzureAcademy
      @AzureAcademy  3 года назад +2

      Awesome thanks 👍
      Let me know what other videos you are interested in me making for you?

    • @ANILMAHADEV
      @ANILMAHADEV 3 года назад +1

      Probably when we don’t need to use Powershell to use AIMB :). I just AWS EC2 image builder and it’s pretty cool.

    • @AzureAcademy
      @AzureAcademy  3 года назад +2

      Nice! I plan on the GUI for AIB once it is public

  • @prasantchettri133
    @prasantchettri133 Год назад +1

    Wonder if there is bicep version of the script for image builder instead of ARM template.

    • @AzureAcademy
      @AzureAcademy  Год назад +2

      Here ya go
      learn.microsoft.com/en-us/azure/virtual-machines/linux/image-builder-json?tabs=bicep%2Cazure-powershell

    • @prasantchettri133
      @prasantchettri133 Год назад +1

      @@AzureAcademy Thank you. I should have checked the docs before the posting the question and clicked on the right tab :) thank you for sharing the link

    • @AzureAcademy
      @AzureAcademy  Год назад +1

      no worries!

  • @khanonymous3975
    @khanonymous3975 3 года назад +1

    Good session. I want to have Default User Profile to be customized, it doesn't survive capture image stage. New VM build from new image always have clean Default User Profile. Because of this, part of WVD Optimization Script settings related to default user will be lost. So I have to run it after new VM deployment and apply my default user customizations.
    Is it possible to prevent Azure image capture process from resetting Default User Profile?

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      no you can't prevent that...it is a natural function of Sysprep...nothing to do with Azure Image Builder.
      If something can't survive Sysprep...then it must be done at or after deployment time

  • @deepakmore9596
    @deepakmore9596 3 года назад +1

    Great videos sir, I am a bit new to this and struggling to add Azure VM extensions using builder. We need to add extensions like anti malware, what would be the best way to do that?

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      That would be a customization and you should do that through a power shell script
      Or you don’t put it in the image at all and instead make it part of your deployment template/script

  • @thedarkwonder9954
    @thedarkwonder9954 2 года назад +1

    I have a question for anyone to help me with. In the section where we Submit the Template my output is an error. It's saying the value are Null for various parameters in the command. Any reason why that may be? I assume it is referencing the .json file we previously edited and saved. If I type out the parameters rather than just have $ Then I'll get an error back telling me that a "property id '' at path '' is invalid. Expect fully qualified resource Id start with '/subscription/{subscriptionId}' or 'provider/{resourceProviderNamespace/'. I'm not sure where to change this but, I aready input the subscription ID and path where the galleryImageID is under Distribute. Not sure where else I can change it or why the command doesn't work to begin with.

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Could be the umanaged user I’d as well
      For all your ids make sure that they start and end with double quotes as well for proper formatting

    • @thedarkwonder9954
      @thedarkwonder9954 2 года назад +1

      @@AzureAcademy I'm not sure where I'm supposed to input the property Id. Nowhere in the .json file is it mentioned. There is a galleryImageId though and I input that correctly. I couldn't get that command to work in general so I input the parameters manually. It looked like it started to do something but, then I was presented with the error about propertyId.

    • @thedarkwonder9954
      @thedarkwonder9954 2 года назад +1

      @@AzureAcademy So I found out a few errors within the armsTemplateWinSIG.json file that I had to change that weren't particularly mention in this video. Understandably, I believe the file changed since your video was made. 1. Had to input the managedId fully qualified path in the "identity" portion. Also, had to put something in "runOutputName" under the distribute section. Finally in the replication region part, the current version of the file had an extra line and "", after the first replication region so I deleted that. I change all this and then put in the parameters manual for the command instead of $ and got it to work. I'm kind of glad it happened this way because I'm an Azure newb and I learn a few things from this video and that particular file haha. Thanks!

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      This is the user managed ID. There is a line for identity…that is the line for it.

    • @AzureAcademy
      @AzureAcademy  2 года назад +1

      Awesome! Thanks for sharing. Now for bonus points you can go to the Github repo and add a pull request to fix the problems you pointed out in the code so everyone else can benefit from what you learned…Pay it forward ☺️

  • @SLeversen
    @SLeversen Год назад +1

    Great series! Can Azure Image Builder be used to maintain physical client images?

    • @AzureAcademy
      @AzureAcademy  Год назад +1

      Not at this time…Azure Image Builder is only for cloud VMs today

  • @haraprasadnayak4040
    @haraprasadnayak4040 3 года назад +1

    Hi Dean. While testing this in our POC environment I was able to complete all the steps and could see the staging RG getting created but the image build process is failing with an error: Operation timed out. This happens because the build and image distribution have exceeded the `buildTimeoutInMinutes`. Please review the build customization.log, and examine for long running operations. If expected, consider increasing the `buildTimeoutInMinutes` property in the Image Builder Template.
    Initially I thought it could be because of the customization that we are trying to do during the image build. So removed the customization block from the armtemplateWVD.json but still having the same error. Not sure where is the issue?

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      Where did your source Image come from??
      If You check the image template resource does the json view show the customization block is empty?
      If not then delete the image template resource and recreate it…and try again.

    • @haraprasadnayak4040
      @haraprasadnayak4040 3 года назад +1

      @@AzureAcademy In source filed of the JSON I see below which I think is pointing to market place image. I knowingly selected 20h1-evd to test. Also i have checked the customization block in the JSON and it is all empty after I edited armTemplateWVD.json. Yeah I deleted the image template number of times. Downloaded the armTemplateWVD.json and tried recreating the image template before building the image. It creates the staging RG and underlaying VM in it but the capture of image gets timed out
      "source": {
      "offer": "windows-10",
      "publisher": "MicrosoftWindowsDesktop",
      "sku": "20h1-evd",
      "type": "PlatformImage",
      "version": "latest (19041.985.2105050408)"
      },

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      Have you tried to delete the resource group and the image staging resource group…so everything can start fresh.
      If you have/still have the problem then I suggest opening Ticket

  • @domannicette
    @domannicette 3 года назад +1

    Can we use this service to provision a VM for WVD service? Thanks for your feedback and most of all the videos you put out there!

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      Thanks for watching Dominique! In order to use the service account you would have to grant it more rights…but yes you could

  • @juanjosenocedalaguilera2556
    @juanjosenocedalaguilera2556 3 года назад +1

    Hi Dean, great video as all the others in your channel. In terms of the VM that is created during the image building process, is this VM AD-joined or is not? Because sometimes there are policies restrictions or WSUS updates configurations from these policies and I want to know if Windows Update will download patches from internet or from the server configured in policy from AD. I don't know if I was clear but thanks as always for your answer!

    • @AzureAcademy
      @AzureAcademy  3 года назад +3

      Hey Juan! Joining a domain is not part of the process I showed in the video…however if you need to join your domain to complete your processes you can…do this Join through a personal script, The do a reboot, and you are good to go. One caution, I suggest that you un-join the domain, then reboot as one of your last processes, so your image is as clean as possible.

  • @angusszarpidrut1930
    @angusszarpidrut1930 Год назад +1

    Hello Dean. Great video. I have asked uncle google, but he did not help me, I am asking uncle Dean. Can you point me to the place where I can see some examples for WindowsUpdate provisioner ? In your video there is default settings not to install any preview patches. I got some more complicated include and exclude part. I appreciate any help :)

    • @AzureAcademy
      @AzureAcademy  Год назад +2

      My next video will be an update to AIB, stay tuned for Tuesday, for now check this out learn.microsoft.com/en-us/cli/azure/image/builder/customizer?view=azure-cli-latest#az-image-builder-customizer-add-examples

    • @angusszarpidrut1930
      @angusszarpidrut1930 Год назад +1

      @@AzureAcademy thank you. I will stay vigilant :)

    • @AzureAcademy
      @AzureAcademy  Год назад +1

      👍👍

  • @thenyaris
    @thenyaris 3 года назад +1

    Hey Dean, Great work as always :) - Please can you share the link to the session where IAB is integrated with Azure portal? I can't seem to find it from the desktop in the cloud series.

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      Desktops in the Cloud with Daniel Sol (Azure Image Builder)
      ruclips.net/video/N6dz6nspLkY/видео.html

  • @PatrickBahizi
    @PatrickBahizi 3 года назад +1

    Hi Dean, can we have same training for Windows servers either 2016 or 2019?

    • @AzureAcademy
      @AzureAcademy  3 года назад +2

      This is one of the things that makes Azure Image Builder so cool…the OS doesn’t matter. It is just another source image. So windows 10, server 2022, SUSE Linux, Ubuntu There is no difference.
      Select your image
      Add your customizations
      Select your distribution point
      Your done

    • @AzureAcademy
      @AzureAcademy  3 года назад +2

      Let me know what you want in a server 2019 AIB video

  • @MikeLister
    @MikeLister 3 года назад +1

    Devops pipeline task doesn’t support the reboot which is a shame.

    • @AzureAcademy
      @AzureAcademy  3 года назад +1

      It’s not a share Mike…it’s an opportunity for improvement! I thought it was there…I will check and I will give the team your feedback
      Thanks!

  • @Timmy-Hi5
    @Timmy-Hi5 Год назад +2

    Hey Superman > this Batman 😳ruclips.net/video/3MGCz8RY32M/видео.html published new ver of AZ Image Builder > looks like you missed this one 🥚🐰🍫🍪🍰🥮possibly too much Easter Yum Yums 😁..We all missing Walter 😂

    • @AzureAcademy
      @AzureAcademy  Год назад +2

      Ok Batman…my video on this will be out tomorrow 9:00am EST, let me know what you think!

    • @Timmy-Hi5
      @Timmy-Hi5 Год назад +1

      @@AzureAcademy 👌✨🤩 always the best of course 👌🤩🐇🐰😁

    • @AzureAcademy
      @AzureAcademy  Год назад +2

      Thanks as always but I think being different is better than being the best, because everyone has something to offer to some audience. I just want to help as many as I can with engaging, entertaining and educational content so YOU can achieve more ☺️

    • @Timmy-Hi5
      @Timmy-Hi5 Год назад +1

      @@AzureAcademy ✨🐰🤩That is why you are Superman 🙏 three are only two people that I follow @John Savill (btw he also used Clark Kent) 😁 &Dean Cefola✅🎉. You too are from the same planet 😁 Krypton_MS 🤩 right💯💻🥇. It's a shame that I'm far away from the cold and gray land of Essex_UK😁. Azure Academy should really have an on-line Academy for foreigners like me or Walter 😂.. 🤩

    • @AzureAcademy
      @AzureAcademy  Год назад +2

      Thanks! John is also great, I hope to get as many views / subscribers as he does!