Azure Batch certificates

Green, Jim 75 Reputation points
2025-03-20T18:14:10.57+00:00

We have revised our pool creation code to provide a certificate from the Key Vault. However, some pools are AutoPool, created as part of the Job definition. Will AutoPool continue to work or do we have to manually create them now?

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

1 answer

Sort by: Most helpful
  1. Markapuram Sudheer Reddy 1,670 Reputation points Microsoft External Staff
    2025-03-20T20:39:31.64+00:00

    Hi Green, Jim,

    Pool creation code refers to the code or commands used to create pools in Azure Batch. The revised pool creation code which was integrated with Key Vault to automatically retrieve and install these certificates on the compute nodes when the pool is created which were mostly manual nodes.

    An autopool is a pool that is created by the Batch service when a job is submitted, rather than being created prior to the jobs that will run in the pool. The Batch service will manage the lifetime of an autopool according to the characteristics that you specify. Most often, these pools are also set to delete automatically after their jobs have completed. However, they can be defined/created using an AutoPoolSpecification class to define your AutoPool's characteristics. .https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.batch.autopoolspecification?view=azure-dotnet.

    https://learn.microsoft.com/en-us/azure/batch/nodes-and-pools#autopools

    For AutoPools, you must ensure that your job definitions include appropriate configurations (like certificate references) within the AutoPoolSpecification. It seems like existing AutoPools will continue to work as long as their configurations (defined during the time of job submission) remain valid without depending on latest changes.

    and also, could you please confirm once, how your AutoPool were created in your Azure Batch, so that if you have any queries, to investigate further.

    If the information is helpful, please click on "Upvote".

    If you have any queries, please do let us know, we will help you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.