Use Custom Image Templates in Azure Virtual Desktop and never patch session hosts again?

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

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

  • @PetterTech
    @PetterTech  7 месяцев назад +1

    What do you think about this service? Is it better than manually creating images? Better than Azure Image Builder? Or do you prefer the more hands-on approach to imaging?

  • @jackasnacks
    @jackasnacks 2 месяца назад

    If you continuously tear down and stand up the session hosts each month, is that also going to remove all user generated data alongside it? In my case, we would need user data to be persistent throughout versioning of the hosts. Assuming this would only work with something like FSlogix to reattach your data back to the new session host?

    • @PetterTech
      @PetterTech  2 месяца назад +1

      That is correct. Have some form of central storage for user profiles, e.g. Azure Files, and use FSLogix to connect to them. And avoid storing data locally on the session hosts or in user profiles

  • @matthewsmith741
    @matthewsmith741 5 месяцев назад +1

    Thanks for this video. It's been very helpful, but could you add a short section @23:50 or follow-up video where you install PowerShell with all resources contained in a storage account within the same resource group? My use case requires assets be within my own subscription, but I can't find any examples of this on-line.

    • @PetterTech
      @PetterTech  4 месяца назад

      Interesting scenario, is it enough to have all resources in the same subscription or is there also a requirement to be accessing things through private networks?
      Because it could be as simple as deploying a storage account and placing the scripts there with public access enabled.
      But if it should also be accessed through private networks then you would need a private endpoint for the storage account that is accessible from the vnet used to build the image

  • @ronjat8
    @ronjat8 7 месяцев назад

    Akkuratt videoen jeg trengte! Har fagprøve snart og tenker å ha om AVD, så kom jeg over kanalen din og det passet jo bare helt perfekt! Så videoen du la ut for 1 år siden om AVD og det hjalp meg veldig med å forstå og motiverte meg også til å lære mer. Setter stor pris på kanalen din :) Takk!

    • @PetterTech
      @PetterTech  7 месяцев назад +1

      Godt å høre at innholdet mitt kan hjelpe! Masse lykke til på fagprøven 👍

  • @JonathanSchmidt-md9sh
    @JonathanSchmidt-md9sh 6 месяцев назад

    I used to have a test and a production environment which are running on the same Image. The test environment gets the software updates and if everything is successful I sysprep the test session host, "capture" it manually in the portal and create an image out of the capture to the image gallery. Then first redeploy from the image in stage and if everything works as expected use the same session hosts image from the image gallery to redeploy in production. Did I understand it right, that I can now use the stage session host including all the software and just create an image directly out of it without sysprepping it and immediately deploy new session hosts from it or is it just for the base installation without anything software related added afterwards?
    Is it also possible to store images in one "central" tenant and access it from another one? Sorry if you already covererd it somewhere but didn't find something to it.

    • @PetterTech
      @PetterTech  6 месяцев назад +1

      If I understand your scenario correctly then you could use the image you captured from the test session host as a basis for your next images when creating them by using the Custom Image Templates. So if you could apply the updates through code you could potentially save some time in this process, since it would save you the steps of deploying a new vm, applying updates and then sysprep'ing and capturing it as a new image.
      Regarding the option to store images in one central tenant, I do not now of a native way to this unfortunately.

  • @ounet3629
    @ounet3629 5 месяцев назад

    After multiple test, the customer image template from avd doesn't work in trusted launch for me. After open microsoft ticket they said. Always uses stanfard. Wierd. do you succed with TL?

    • @PetterTech
      @PetterTech  5 месяцев назад

      What kind of errors are you seeing? Are you using a gallery to store images in or are you using managed images?
      I had to test it now to verify, but I am able to create an image through custom image templates and deploy session hosts with it that has trusted launch 🤷‍♂️

    • @ounet3629
      @ounet3629 5 месяцев назад

      @@PetterTech I have "Your VM selected is configured with unsupported trusted launch or confidential VM" event if my gallery image is in trusted launch. Microsoft said that it has to be standard.

    • @PetterTech
      @PetterTech  5 месяцев назад

      That's odd, if that were the case then I shouldn't have been able to do it. But it might be one of those cases where it's not supported, but in some cases work.
      Where in the process are you getting that error?

  • @Don.vico.888
    @Don.vico.888 Месяц назад

    How would you manage 3rd party updates? Would you have to create a new template based off the previous and add the scripts to update the latest software packages?

    • @PetterTech
      @PetterTech  Месяц назад

      Yes, that would be my approach 👍

  • @CFPANDRADE
    @CFPANDRADE 3 месяца назад +2

    this is great content; I'm subscribed, but I would like to see those videos in 4k resolution as there is a lot of text and is hard to read

    • @PetterTech
      @PetterTech  3 месяца назад +1

      Thanks for the feedback! Future videos will be in 4K, though upscaled in the beginning

  • @techxpert365
    @techxpert365 7 месяцев назад +1

    looks great and thanks for this video. can we update the existing session hosts without adding the new session hosts?

    • @PetterTech
      @PetterTech  7 месяцев назад

      Unfortunately no, the images you create is not something you can use outside of deploying new hosts

  • @AxelGleizes
    @AxelGleizes 5 месяцев назад

    Thank you for your video. There's something I don't understand: previously it was simple. You create your VM, install what you needed, run sysprep, and then you could capture and use the image. But with this new process, when am I supposed to install what I need in my image to create my master? (Sorry, I'm a beginner with AVD.)
    If I understand correctly, I create a custom template with this new feature, and then I have to create a VM, customize it with all the software I need, run sysprep, and capture it again? So nothing new in fact ? Maybe I'm missing something in the process to manage the golden image 😅

    • @PetterTech
      @PetterTech  5 месяцев назад +2

      You can still go with the old style of creating images, in that case you wouldn't need custom image templates though :)
      The whole point of custom image templates is to have all customization done by code, so instead of logging on the vm to install software and customize it you would add some scripts to do the same thing 👍

  • @PaulFulbright
    @PaulFulbright 7 месяцев назад +1

    Very, very, useful. Thanks!

    • @PetterTech
      @PetterTech  7 месяцев назад

      Glad it was helpful!

  • @fiokideiglenes1812
    @fiokideiglenes1812 5 месяцев назад

    How do you replace the active session hosts with the new image?

    • @PetterTech
      @PetterTech  5 месяцев назад

      You deploy new ones based on the new image, place the old ones in drain mode and as soon as the old ones are empty you decommission them :)

  • @CFPANDRADE
    @CFPANDRADE 3 месяца назад

    what if we want to install apps on those images?

    • @PetterTech
      @PetterTech  3 месяца назад

      You would do that via script then, like I do with powershell in the video 👍

  • @LOR7508
    @LOR7508 2 дня назад

    nice. perhaps just missing a scheduler to do the job monthly automatically

    • @PetterTech
      @PetterTech  2 дня назад

      Yup, that would certainly be a good addition!

  • @fbifido2
    @fbifido2 16 дней назад

    A few simple IaaS question:
    1. How to upgrade an Azure Windows 11 21H2 Gen2 VM to 24H2 ?
    2. How to upgrade an Azure Windows 11 Enterprise Multi-Session 21H2 Gen2 VM to 24H2 ?
    ^
    ^
    ^
    ^
    ^
    ^
    I know it's a hard question, please ask all Microsoft Azure MVP you can reach !!!!!
    Please & Thanks.

    • @PetterTech
      @PetterTech  16 дней назад

      I have heard about cases where this is a tough one, though usually this applies to situations where the machines were upgraded from Windows 10 to Windows 11 21H2. Is that the case in your scenario as well?