Clarity on Azure DevOps parallel job "consumption"
We're in the process of moving away from Visual Studio's web publish into Azure DevOps and require some clarity on how parallel jobs are "consumed", or an alternative way to quickly deploy our application to multiple destinations.
Our web application has a single code-base and is published into 15 separate clients' hosting areas (all on Azure App Services), each with their own configuration file transform during the final deployment process, e.g.:
Currently the process is working well on Azure DevOps' "free" account, but it takes around one hour to deploy to each client hosting environment as the processes run in a queue (
Deploy Customer 1→
Deploy Customer 2→ ...).
Yesterday to streamline the process and get the deployments done asynchronously we purchased three "Parallel Jobs" from the billing area. Deployment was indeed much quicker as three ran in parallel. However, when they were finished there were no parallel jobs available in our account.
The https://learn.microsoft.com/en-us/azure/devops/pipelines/licensing/concurrent-jobs?view=azure-devops&tabs=ms-hosted talks about monthly resources, so we had assumed that the parallel job agents were a one-month purchase (buy once/use many in that month).
If they are consumed immediately upon completion then according to the https://azure.microsoft.com/en-gb/pricing/details/devops/azure-devops-services/ , if have a weekly release and use 15 parallel jobs then that will cost me over £2,000 per month (£35.34 * 15 * 4) which seems unbelievably expensive for a short time saver.
Can anyone please clarify the situation, or suggest an alternative method for deploying asynchronously?
I can't comment, so using an answer.
What exactly do you mean by "However, when they were finished there were no parallel jobs available in our account." If you use the MS hosted agents, and if you bought three parallel jobs, you should see them in the Organization settings -> Parallel jobs overview. If not, try lo log out, clear cache etc. The purchases are indeed for a month, as explained https://azure.microsoft.com/en-gb/pricing/details/devops/azure-devops-services/ , the costs would be about 40 euros for a month, so for three it would be around 120 euro a month.
As an alternative, and as suggested by others, you could use self hosted agents. They are cheaper, and depending on resources on the host where you install the agent, they run faster.
And then, depending on your needs, there are several ways that might speed up your deployment process, but that usually depends on what you've already configured and your needs.
And then last, if you are a really early user of DevOps, there was an option to pay for hosted agents by the minute. That could explain your situation, but I've checked several organizations inclusing a few already several years old but I can't find any reference of it.