Batch accounts
Processes normally run in the OpenDataDSL batch account. On the Batch accounts tab you can register your own Azure Batch accounts, so processes that run a container image run on your own machines, in your own network, with their logs in your own storage.

In Azure: what you do on your side
| Step | Who | What |
|---|---|---|
| 1. Create or choose a batch account | Anyone who can create resources | Note its Account endpoint, for example https://ngebatch.westeurope.batch.azure.com |
| 2. Create a pool that runs containers, and a job on it | Whoever manages the batch account | The pool needs a container-enabled image and access to your container registry. OpenDataDSL adds a task to the job for each process run |
| 3. Grant consent | A Microsoft Entra administrator | Once for all resources, see Before you start |
| 4. Give the application the Azure Batch Job Submitter role | An Owner or User Access Administrator of the batch account | On the batch account only. It lets OpenDataDSL add and stop tasks, with no access to the account keys |
In OpenDataDSL: what you do here
Select Add a batch account:

| Field | Example | Notes |
|---|---|---|
| Name | nge-gpu | The name processes use. Letters, digits, _ and - |
| Account endpoint | ngegpu.northeurope.batch.azure.com | From the batch account's Overview page |
| Your Microsoft Entra tenant id | Filled in and fixed: the account must be in your own tenant | |
| Default job | odsl-gpu | Used when a process does not set its own job |
| Description | GPU pool for the weather models |
Test lists the jobs in the account and checks the default job exists. In the list, Test, Change and Remove work on each registered account.
Then name the account in the settings of each process that should run there:
"settings": {
"image": "northgate.azurecr.io/weather-model:2.1",
"batchAccount": "nge-gpu"
}
What changes
| Topic | Detail |
|---|---|
| Which processes | Only processes that run a container image and name the batch account. Every other process keeps running in the OpenDataDSL batch account |
| What the task gets | No OpenDataDSL database, application secret or account keys. The task gets ODSL_TOKEN (a short-lived token for the user the process runs as), ODSL_TASK, ODSL_PROCESS, ODSL_TASKID, ODSL_STAGE, ODSL_SB_CPM (the connection the OpenDataDSL Python SDK uses to report the run's status) and the storage settings ODSL_STORAGE_URL, ODSL_STORAGE_CONTAINER and ODSL_LOG_CONTAINER |
| Who can see those values | Anyone who can read the tasks in your batch account: keep read access to the people who run it |
| Logs and output | Stay in your batch account, kept as long as the process's retention setting says |
| Removing an account | Processes that name it fail when they next run, and cannot be saved, until their settings are changed |
For the full detail for your IT team, see Running processes on your own Azure Batch account.