Hi Sandun Tharaka ,
Thank you for reaching out on the Microsoft Q&A.
To create a new Azure Batch pool now that your current image (20.04-LTS
from microsoft-azure-batch
) is nearing its end-of-life, you need to switch to a supported image since there's no direct upgrade option. First, check what’s available by running:
az batch pool supported-images list
If a newer version is listed, you can create a new pool with that image and migrate your workloads. But if there’s no newer version yet, you’ll need to use a custom image from the Azure Compute Gallery. This allows you to build an OS image with the required dependencies and use it for your Batch pools. Since Microsoft periodically updates available images, it’s also worth checking Azure’s documentation for any announcements. Plan this transition early to avoid service disruptions.
References:
Azure Batch Image Support & EOL dates
Azure Compute Gallery for custom images
Azure update on Marketplace image support for Batch pools
I hope this helps! If you have any further questions, feel free to ask.
If the information is useful, please accept the answer and upvote it to assist other community members.