MAY 2020 SERVICE ALERT - Existing users, please ensure you are compliant this Service Alert by 26th May!!!
Get started now, this repo contains mutliple examples and test templates for Azure VM Image Builder (Public Preview).
What is Image Builder?? Get started with the short intro video below, or go straight to the Quick Starts below.
-
Quick QuickStarts Examples. You can run these immediately using the Azure CloudShell from the Portal, and see multiple scenarios that the VM Image Builder supports.
-
Azure Resource Manager (ARM) Image Builder Examples. The beauty of these examples, they are heavily parameterized, so you just need to drop in your own details, then begin image building, or integrate them to existing pipelines.
We are making key changes to Azure Image Builder security model, this will be a breaking change, therefore we require you to take these before 26th May 0700 Pacific Time.
The change - Azure Image Builder Templates (AIB) must contain a populated identity
property, and the user assigned identity must have permissions to read and write images.
Impact - From the 26th May 0700 we will not accepting any new AIB Templates or process existing AIB Templates that do not contain a populated identity
. This also means any templates being submitted with api versions earlier than 2019-05-01-preview
will not be be accepted either.
Why? - As well as allow us to prepare for future features, we are simplifying and improving the AIB security model, so instead of you granting permissions the AIB Service Principal Name, to build and distribute custom images, and then a user identity to you will now use a single user identity to get access to other Azure resources.
For full details and the next potential breaking change, please review the May Service Update document.
If you have any questions, please review the above and FAQs, and if you cannot find them, please raise questions on GitHub issues.
Thanks,
GA - Q2 2020
It has been a busy year already, and we are so pleased to announce this new functionality:
- Removal of Public IP address requirement, and use an existing VNET
- European Region Support
- We now the AIB service in NorthEurope and WestEurope!
- Windows Update customizer
- The community Windows Update Provisioner for Packer was integrated into Image Builder, that allows Windows Updates to be installed, and handles reboots during the process.
- 'Latest' image version support
- Instead of you need to specify a version for Azure Market Place (AMP) images, you can now specify. When the image is created, AIB will use the latest version. This means you can rerun the same image template after the source images in AMP are updated, such as monthly.
- Permissions documentation
- We listened to feedback for clarity on permissions required for AIB, and be more granular on permissions required.
- The quickstarts and solutions are being updated with new permission enablement steps over time.
- Networking documentation
- We have documented details for AIB networking, options, and requirements.
- DevOps Task Update
- Windows Update - Support for running Windows Update at end of task
- Change VM size - Change the VM size to make resource intensive image builds faster, and also build on specilist VM sizes, such as GPU or HPC enabled sizes.
- RHEL ISO Source Deprecation
- We are removing this functionality from image builder, as there are now RHEL Bring Your Own Subscription images, please review the timelines below:
- 31st March - Image Templates with RHEL ISO sources will now longer be accepted by the resource provider.
- 30th April - Image Templates that contain RHEL ISO sources will not be processed any more.
- We are removing this functionality from image builder, as there are now RHEL Bring Your Own Subscription images, please review the timelines below:
The offical Microsoft docs for image builder will be updated this month to relect these updates.
The work never ends, latest customization support:
-
There will be more updates in January! On behalf of the team, thank you to everyone who has tried Image Builder, and given feedback, we really appreciate it. Happy Holidays!!!!
We constantly update the Image Builder Service, and its been a while since we summarized recent updates here:
-
PowerShell Customizer Elevated Permissions
- PowerShell Support for running commands and scripts with elevated permissions
-
- PowerShell / Shell / File Customizer Support for checkSum
- Checksum the file a file locally, then Image Builder will checksum and validate.
-
- The default timeout of the image is currently 4hours, but can be reduced or increased upto 16hours.
-
- By default Image Builder will use a "Standard_D1_v2" build VM, but you may want to use a different VM size, since you may restrict this through Azure Policy, you have customizations that are compute intensive, or you need customize images that can only be run on certain types of VM Size types, e.g. if you want to customize an Image for a GPU VM, you need a GPU VM size.
-
Windows Client / Virtual Desktop OS Support
- Many customers are testing Image Builder to support customizing Windows Desktop images, see the PowerShell example on how you can get started building Win10 Images.
- Change this quickstart to start building custom WVD images with the Shared Image Gallery.
-
- Specify source Azure Market Place OS image versions
- Improved performance and reliability enhancements for Windows builds
- Improved Build Log support
- Source Azure Market Place Image Pub/offer/SKU/Version emitted into DevOps variables.
-
Supportability
- Improved error messages, with log error location
- Multiple bug and reliability enhancements
- Support for raising image builder Microsoft support cases
- Join the Image Builder Community MS Teams Channel
- Give feedback, share ideas, contact the engineering team
-
Shared Image Gallery Version Modifications
- Support for Image Version updates post image build, such as updating regions, replicas etc is now supported.
-
PowerShell examples
-
Release Date : 10th May 1000 PST This is an exciting release, image builder has just PUBLIC PREVIEW!!!!!
The whole team is excited to make this milestone, and thanks the Private preview community for their engagement, feedback, and helping shape the product.
You will be glad to know there are no API changes this month! But just wanted to share with you an exciting feature additions:
-
Preview Azure DevOps Extension - This simplfies using Image Builder in Azure DevOps release pipelines, you just fill in Source / Customizations / Distribute, then the task will create the image, it also will copy in you Build pipeline artifacts!!!
It is so cool, please try it, and give us feedback.
-
The quickstarts are in the process of bring migrated to Azure Docs, but the quick starts will be maintained until there is a full transition, and you will be notified.
-
-
Features added (links to example config templates):
- Patch your Windows Custom Images - select existing Windows Custom SIG Images and Custom Windows Managed Images!!!
- Seemless authentication with Azure Storage - using Managed User-Assigned Identity and authenticating with Azure storage accounts.
- Azure Shared Image Gallery as a source
- Add in files to the image
- Support for long duration image builds
- Abililty to override the Image Builder image generalization commands
-
Features added (links to example config templates):