gn12345
gn12345

Reputation: 395

When using Azure Batch Processing, what is the best way to create and use a configuration file which can change per instance?

So I'm new to Azure and currently working on a project in which I will be using azure batch processing to run an application in several instances with different configurations.

I was wondering what is the best practice for doing this, with reference to how easy it is to change the configuration files, to deploy, how to interlink them with source control etc.

Any thoughts/knowledge would be helpful as I can't seem to find much based Azure batch and configuration files.

Upvotes: 0

Views: 406

Answers (1)

Ivan G.
Ivan G.

Reputation: 5215

You would manage configuration in the batch client which is a normal application running on the client outside of batch job. This application creates pools, jobs and tasks i.e. sends them to Batch Queue. You can store configuration for this client in a usual way you are used to (app.config, json files etc.).

Scheduling a job to run in batch involves specifying job parameters like pool id, task id, resource files etc. and command line for an executable to run. This is where you pass required parameters for a task instance to use.

Upvotes: 0

Related Questions