Azure Policy
Azure Policy is free on Azure resources but needs a card for the Azure account, and machine configuration on Arc-enabled servers costs $6 a server each month.
Azure Policy checks your Azure resources against rules you set, shows which ones are non-compliant, and can block or fix them. It is for teams that manage Azure subscriptions.
Is it a fit?
Good fit
Use it when you run Azure subscriptions and want rules for regions, tags, logging, and security settings checked automatically, with no extra charge.
- compliance teams
- cloud administrators
- security engineers
Not a fit
Azure Arc extends governance to other clouds and local datacenters. Avoid it if you do not want to pay for machine configuration on Arc-enabled servers.
- you need governance without Azure or Arc integration
- you want policy checks on Arc servers without paying
- you need to grant access permissions, which is Azure RBAC
You work in the Azure portal, where you assign built-in or custom definitions and read a compliance dashboard. Definitions are written in JSON, so you can also manage them as code. It suits cloud administrators and security engineers.
What the free plan gives you
The pricing page says there are no charges for using Azure Policy on Azure resources. You can use the built-in definitions, assign them to a management group, subscription, resource group, or resource, and read the compliance results. You can also set an effect such as deny, audit, or modify.
Azure Automanage machine configuration, which audits settings inside servers, is free for Azure resources. For Arc resources it costs $6 per server per month, billed pro-rated by the hour. The FAQ says you can use as many guest configuration policies as you want per server for the same price.
When you hit a limit
The pricing page does not list usage limits for Azure Policy itself. Machine configuration on Arc-enabled servers has a separate charge; resources deployed or changed through policies can also have their normal Azure costs. By default, Azure Arc machines are not included, and you must opt in. Azure Automation users are not billed extra for machine configuration.
Turn off machine configuration to avoid its charge. A deny effect can stop a deployment that breaks a rule, so test with audit first. Azure signup requires a phone number and non-prepaid credit/debit card for identity verification. It may place a temporary one-dollar hold, and it does not charge you unless you move to pay-as-you-go.
Gotchas
- Even if you assign a policy at the management group level, only resources at the subscription or resource group level are evaluated.
- Compliance is evaluated when a resource changes, when an assignment changes, and in a regular cycle once every 24 hours.
- Microsoft recommends starting with an audit effect before an enforcement effect, because enforcement can hinder existing automation.
Alternatives in this atlas
- Azure Managed Identities: when you need identities for Azure resources, not rule checks.
- Azure Advisor: when you want recommendations on cost and reliability, not rule enforcement.
- Azure Cost Management: when you need to watch spend and set budgets.
Questions people ask
Is Azure Policy free?
Yes for Azure resources. The pricing page says there are no charges for using Azure Policy on Azure resources. You still need an Azure account.
How much does Azure Policy cost for Arc servers?
Azure Automanage machine configuration costs $6 per server per month for Arc resources. Arc machines are not included by default, so you have to opt in.
How often does Azure Policy check my resources?
It checks when a resource is created or updated, when an assignment changes, and in a standard cycle once every 24 hours.
How to get started
- Sign in to the Azure portal with a subscription and policy-assignment permissions, such as Resource Policy Contributor or Owner.
- Search for Policy, open it, and select Assignments, then Assign Policy.
- Pick a scope (subscription or resource group) and choose a built-in definition, for example Audit VMs that do not use managed disks.
- Keep policy enforcement on Enabled, add a non-compliance message, and select Create.
- Open the compliance view after a few minutes to see non-compliant resources. Audit only reports them; modify or deployIfNotExists remediation needs a managed identity with the required permissions.
Other free security options
Same category, safest first.