Windmill vs Azure Automation: a side-by-side comparison
Eight questions teams ask when they put runbooks next to scripts and flows: what each platform runs, where it runs, how runs start, and what each one costs.
- 01What you can runLanguages and multi-step workflows on each side
- 02TargetWho each platform is built for
- 03RuntimeWhere jobs run, and how long they can run
- 04TriggersSchedules, webhooks and Azure events
- 05Code, Git and secretsSource control, secrets and identity
- 06History & pricingJob history retention and how each is billed
- 07Using them togetherRunning one from the other, and Windmill on Azure
- 08VerdictWhere each one is the better choice
This page is written by Windmill. Statements about Azure Automation come from Microsoft's documentation and link to it. Feel free to contact us for any correction.
An open-source platform for scripts, workflows and internal apps that you self-host, for example on AKS, or use on Windmill Cloud.
In Microsoft's words, "a cloud-based automation service that helps you automate processes and supports consistent management across Azure and non-Azure environments". Its process automation runs PowerShell, Python and graphical runbooks, in Azure or on machines you register as Hybrid Runbook Workers.
What runs on each platform?
Azure Automation runs runbooks: PowerShell, Python and graphical ones, with child runbooks for multi-step work. Windmill runs scripts in a dozen or more languages and composes them into flows with branches, loops, retries, error handlers and approval steps, mixing languages in one flow.
Languages
TypeScript, Python, Go, PHP, Bash, PowerShell, Nu, C#, SQL, Java, Ruby, R, Rust and more, with dependencies resolved from imports. Windmill's Windows worker setup uses PowerShell 7 (pwsh.exe).
PowerShell 7.6, 7.4 and 5.1; Python 3.10; graphical runbooks, which are created and edited only in the Azure portal.
Multi-step work
Flows with branches, for loops, retries, error handlers and approval steps, mixing languages. Steps in TypeScript, SQL, C#, Bash or other languages sit in the same flow.
Child runbooks, and PowerShell Workflow runbooks, which PowerShell 7 does not support.
Who is each platform built for?
Azure Automation is the Azure-native choice: a managed resource, the Automation account's managed identity, and alerts that start runbooks directly. Windmill is for automation that reaches past Azure, in several languages, with the forms and approvals around it on the same platform.
Primary audience
Teams whose automation spans Azure, other clouds and on-premises systems, in more than one language, and who want workflows, approvals and user-facing apps on the same platform. It runs where you deploy it, and its workers run wherever you start them.
Teams that run Azure and want runbooks as a managed Azure resource.
Identity and alerts
Credentials live in variables and secrets and resources, and on Azure, Azure Key Vault is the secret backend on Enterprise Edition.
Runbooks can authenticate with the Automation account's managed identity, which Microsoft calls "the recommended way to authenticate in your runbooks", and Azure alerts can start them through action groups. If your automation is mostly about Azure resources, that is a real advantage.
People who run but do not author
Auto-generated UIs and full-code apps in React or Svelte let colleagues run a job with their own inputs, and the Operator role is for people who run but do not author. Approval steps pause a flow until someone approves.
The documented ways to start a runbook are a schedule, a webhook and an Azure alert action group.
Where do jobs run, and how long can they run?
Past the three-hour fair share limit in Azure sandboxes, a job on Azure Automation needs a Hybrid Runbook Worker, which fair share does not limit. Windmill runs every job on workers you deploy, for up to 7 days by default on a self-hosted instance, with the trade that the server, the workers and a PostgreSQL database are yours to operate.
Hosting
Self-hosted with Docker Compose or Kubernetes, including AKS with Azure Database for PostgreSQL, or Windmill Cloud.
A cloud-based Azure service.
Where jobs run
On Windmill workers that you deploy: Linux workers, native Windows workers (Self-Hosted Enterprise), and agent workers (Enterprise) that connect over HTTP from remote networks. The same instance can run workers on Azure, other clouds and on-premises machines, including Windows machines, and worker tags decide which jobs run where.
In an Azure sandbox, or on Hybrid Runbook Workers (Windows and Linux) for on-premises and other-cloud resources. For integrating with Azure resources, Microsoft recommends the Azure sandbox: "Hosted in Azure, authentication is simpler." Runbooks in the sandbox cannot call executables or subprocesses; Microsoft points to Hybrid Runbook Workers for that.
Long-running jobs
Self-hosted: jobs run for up to 7 days by default (the worker TIMEOUT), and the default job timeout and custom timeouts per flow step are capped by it. On Windmill Cloud, a job runs for at most 15 minutes in a free workspace and 90 minutes in a paid workspace, by default.
In Azure sandboxes, fair share stops or unloads any job that has run for more than three hours. Hybrid Runbook Workers are not limited by fair share.
What you operate
A server, workers and a PostgreSQL database that you run, unless you use Windmill Cloud.
Nothing. Microsoft recommends the Azure sandbox to minimize operational costs: "There's no compute overhead and no need for a VM."
How do runs start?
Azure Automation starts a runbook straight from an Azure alert action group, and its schedules run at most once an hour. Windmill gives every script and flow a webhook whatever its language, and cron schedules with error and recovery handlers, while Azure Event Grid triggers are a self-hosted Enterprise feature.
Schedules
CRON schedules with error and recovery handlers.
Hourly, daily, weekly or monthly recurrences, with time zones and Daylight Saving Time handling. A schedule runs at most once an hour.
Webhooks
Every script and flow gets webhooks, whatever its language.
A webhook starts a runbook through a single HTTP request. Starting a Python runbook through a webhook is not supported, and with PowerShell 7 runbooks the webhook input is converted to invalid JSON, so Microsoft recommends PowerShell 5 runbooks for webhooks.
Azure events
Azure Event Grid triggers, a self-hosted Enterprise feature.
Azure alert action groups can start a runbook.
How is automation versioned and how are secrets held?
Azure Automation syncs one way from Git into the Automation account, for PowerShell 5.1 runbooks only. Windmill commits each deployment back out to the repository and covers the whole workspace, with deploying commits into the workspace gated on Enterprise Edition.
Source control
Git sync commits each deployment to the repository, and can include scripts in any language, flows, apps, resources, schedules and triggers, not only one runbook type. Azure DevOps works through an Entra service principal. Deploying commits back into the workspace is Enterprise Edition. Git sync is available on Cloud and self-hosted Enterprise, and on the Community Edition for workspaces with up to 2 users.
One-way sync from GitHub or Azure DevOps (Git or TFVC) into the Automation account, supported for PowerShell 5.1 runbooks only.
Secrets and identity
Variables and secrets and resources. Azure Key Vault as the secret backend on Enterprise EditionEnterprise only. Azure workload identity for Azure SQL from AKS workers (MS SQL scripts need Enterprise Edition or Cloud, and workload identity needs a self-hosted worker on AKS).
Credentials, certificates, variables and connections stored in the Automation account, plus managed identities.
How long is run history kept, and what does each cost?
Azure Automation bills per minute of job run time, with 500 minutes a month free per subscription, and keeps job logs for 30 days at most. Windmill is free to self-host on the Community Edition, prices paid plans by seats and compute units, and keeps run history unlimited with a configurable retention period on Enterprise.
Job history
60 days on Cloud Free and Team; 30 days maximum on self-hosted Community Edition; unlimited on Enterprise (Cloud and self-hosted), with a configurable retention period.
Job logs are stored for a maximum of 30 days.
Pricing
The Community Edition is free to self-host. Paid plans are priced by seats and compute units (pricing).
Process automation is billed per minute of job run time, with 500 minutes a month included free per subscription (Azure Automation pricing).
Using Windmill and Azure Automation together
You do not have to pick one. Both sides start the other with a single HTTP request, and Windmill itself can run on Azure.
Start a runbook from Windmill
An Azure Automation webhook starts a runbook "through a single HTTP request", so a Windmill flow can call it as one step, for example after an approval step.
Start Windmill from a runbook
Each Windmill script and flow has webhooks, so a runbook can start a Windmill flow with an HTTP request.
Run Windmill on Azure
Deploy Windmill on AKS with Azure Database for PostgreSQL, sign users in with Microsoft Entra ID (SSO is capped at 10 users outside Enterprise), store secrets in Azure Key Vault (Enterprise) and connect to Azure SQL with workload identity (MS SQL scripts need Enterprise Edition or Cloud, and workload identity needs a self-hosted worker on AKS).
Where each one is the better choice
The two platforms answer different questions. Azure Automation answers "how do I run a runbook as a managed Azure resource": nothing to operate, the Automation account's managed identity, and alerts that start runbooks. Windmill answers "how does my team build and run automation across everything it owns": scripts in many languages, flows with approvals, operator UIs, and workers wherever you start them.
- Nothing to operate. Microsoft recommends the Azure sandbox to minimize operational costs: "There's no compute overhead and no need for a VM." Self-hosted Windmill is a server, workers and a PostgreSQL database that you run.
- Azure-native identity and alerts. Runbooks can use the Automation account's managed identity, and Azure alert action groups can start them directly.
- Runbooks that manage Azure resources. For integrating with Azure resources, Microsoft recommends the Azure sandbox: "Hosted in Azure, authentication is simpler." Runbooks in the sandbox cannot call executables or subprocesses; Microsoft points to Hybrid Runbook Workers for that.
- Windows PowerShell 5.1 and graphical runbooks. Azure Automation supports PowerShell 5.1 runbooks and a graphical editor in the Azure portal. Windmill's Windows worker setup uses PowerShell 7 (
pwsh.exe).
- Jobs longer than three hours without a separate worker type, on a self-hosted instance. Jobs run on your workers for up to 7 days by default, and the timeout is configurable. This does not apply to Windmill Cloud, where a job runs for at most 15 minutes in a free workspace and 90 minutes in a paid workspace, by default.
- More than PowerShell and Python. Steps in TypeScript, SQL, C#, Bash or other languages sit in the same flow, with dependencies resolved from imports.
- People in the loop. Approval steps pause a flow until someone approves. Auto-generated UIs and full-code apps in React or Svelte let colleagues run a job with their own inputs, and the Operator role is for people who run but do not author.
- Git for everything in the workspace. Git sync can include scripts in any language, flows, apps, resources, schedules and triggers, not only one runbook type.
- Portable across environments. The same Windmill instance can run workers on Azure, other clouds and on-premises machines, including Windows machines, and worker tags decide which jobs run where.
Read the detailed comparison in the docs: Windmill vs Azure Automation.
Frequently asked questions
Build your internal platform on Windmill
Scripts, flows, apps, and infrastructure in one place.