OS version of the custom image used in Azure batch

Hanashima Yuki 21 Reputation points
2022-12-05T01:18:31.427+00:00

When creating a pool in Azure Batch using an image from the Marketplace, there is a possibility that the OS version may be updated (due to security patches, etc.) depending on when the image is created, right?
When creating a pool using a custom image from Azure Compute Gallery, is it possible to create a pool with the OS version completely fixed at the time the custom image is created?
The custom image is created from a snapshot of a VM created from a Marketplace image (Ubuntu 18.04LTS). In this case, am I correct in assuming that it is fixed at the version at the time the snapshot was created?

Thank you.

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
302 questions
0 comments No comments
{count} votes

Accepted answer
  1. vipullag-MSFT 24,111 Reputation points Microsoft Employee
    2022-12-05T02:38:43.63+00:00

    @Hanashima Yuki

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Based on your ask, Yes your custom image is a snapshot of when you created it. You would have to make a new image to get the new latest updates, or look into update management.

    Even if you have created with an updated OS, there are chances that more updates will come dude to security needs and these things still need to be handled to make sure the VM is patched up to date.

    It is recommended that you look into Update Management to keep OS updated.

    Refer these document for more details:

    https://learn.microsoft.com/en-us/azure/automation/update-management/manage-updates-for-vm

    Hope this helps.
    If you need further help on this, tag me in a comment.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful