Search
StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

Ensure Infrastructure Compliancy At-Scale with Azure Policies

  • December 3, 2020
  • 4 min read
IT Production Manager. Nicolas is primarily focused on Microsoft technologies, he is a Microsoft MVP in Cloud and Datacenter Management.
IT Production Manager. Nicolas is primarily focused on Microsoft technologies, he is a Microsoft MVP in Cloud and Datacenter Management.

Azure

Be Compliant with Azure Policies

Azure Policy helps to enforce organizational standards and to assess compliance at-scale. Through its compliance dashboard, it provides an aggregated view to evaluate the overall state of the environment, with the ability to drill down to the per-resource, per-policy granularity. It also helps to bring your resources to compliance through bulk remediation for existing resources and automatic remediation for new resources.

Deploying Azure Policy

Open the Azure Portal and search Policy

Azure Policy

In this guide, we will assign a policy to check if Azure Backup is enabled for Virtual Machines. First, go to the Definitions tab and apply filters. If you work with Azure Lighthouse, you can adjust the scope (e.g the Azure subscription).

Policy Definitions

In our case, we will display Azure Backup Policies, so select Backup in the category filter

Backup in the category filter

Select the first policy to audit the backup for Virtual Machines

Audit the backup

Assign the policy

Assign the policy

Here, we need to select the scope for the policy. Once again, if you work with Azure Lighthouse, you can select between all the Azure Subscriptions that you managed. You can also adjust the scope by filtering the Resource Group.

Resource Group

In the parameters tab, you must select AuditIfNotExists which means that Virtual Machines will be flagged Non Compliant in the results.

AuditIfNotExists

After creating the policy, you should see the assignment in the Assignments tab

Assignments tab

Now, go to the compliance tab to check if backup is enabled for Virtual Machines. In my case, I can confirm that 4 Virtual Machines are compliant

4 Virtual Machines are compliant

Let’s confirm in the backup center, in my case I can see 4 Virtual Machines in the Vault.

4 Virtual Machines in the Vault.

Found Nicolas’s article helpful? Looking for a reliable, high-performance, and cost-effective shared storage solution for your production cluster?
Dmytro Malynka
Dmytro Malynka StarWind Virtual SAN Product Manager
We’ve got you covered! StarWind Virtual SAN (VSAN) is specifically designed to provide highly-available shared storage for Hyper-V, vSphere, and KVM clusters. With StarWind VSAN, simplicity is key: utilize the local disks of your hypervisor hosts and create shared HA storage for your VMs. Interested in learning more? Book a short StarWind VSAN demo now and see it in action!