Azure Policy and Compliance

Terminology

Azure Policy service

Azure Policy allows you to create, assign and manage policies. These policies enforce rules over your resources, so those resources stay compliant with your standards. Azure does this by running evaluations of your resources and scanning for those not compliant.

Azure policy will be important if your team runs an environment with multiple teams, subscriptions and you need to standarize how the cloud is configured. Or you need te manage cost control, security, and consistency compliance.

Implementing Azure Policy

To implement Azure policies, follow these steps:

Policy Definitions

Here is a small list of available policy definitions:

If the policy you need is not in the list, you can create policy definition in a specific JSON format.

Currently, an Initiative Definition can have up to 100 policies.

Initiative Definitions

It is recommended to always create a initiative definition, even if you include one policy Definition.

Determine Compliance

Policy evaluation happens about once an hour, which means that if you make changes to your policy definition and create a policy assignment then it will be re-evaluated over your resources within the hour.

Resources