Skip to content

Commit a6b17f1

Browse files
Adding Articles on Azure Policy
1 parent 7c6a8bd commit a6b17f1

9 files changed

+10
-11
lines changed

articles/backup/backup-azure-auto-enable-backup.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
---
22
title: Auto-Enable Backup on VM Creation using Azure Policy
33
description: 'An article describing how to use Azure Policy to auto-enable backup for all VMs created in a given scope'
4-
ms.reviewer: dcurwin
5-
author: adbalaji
6-
manager: sivan
7-
ms.service: backup
84
ms.topic: conceptual
95
ms.date: 11/08/2019
10-
ms.author: adbalaji
116
---
127

138
# Auto-Enable Backup on VM Creation using Azure Policy
@@ -18,7 +13,7 @@ Today, Azure Backup provides a built-in policy (using Azure Policy) that can be
1813

1914
## Supported Scenarios
2015

21-
* The built-in policy is currently supported only for Azure VMs. Users must take care to ensure that the retention policy specified during assignment is a VM retention policy. Refer to [this](https://aka.ms/AA6il6q) document to see all the VM SKUs supported by this policy.
16+
* The built-in policy is currently supported only for Azure VMs. Users must take care to ensure that the retention policy specified during assignment is a VM retention policy. Refer to [this](https://aka.ms/PolicySupportedSKUs) document to see all the VM SKUs supported by this policy.
2217

2318
* The policy can be assigned to a single location and subscription at a time. To enable backup for VMs across locations and subscriptions, multiple instances of the policy assignment need to be created, one for each combination of location and subscription.
2419

@@ -32,18 +27,22 @@ To assign the policy to the required scope, please follow the below steps:
3227

3328
1. Login to the Azure Portal and navigate to the **Policy** Dashboard.
3429
2. Select **Definitions** in the left menu to get a list of all built-in policies across Azure Resources.
35-
3. Filter the list for **Category=Backup**. You will see the list filtered down to a single policy named ‘Deploy prerequisites to backup VMs of a location to an existing central Vault in the same location.
36-
![Policy Dashboard](./media/backup-azure-auto-enable-backup/policy_dashboard.png)
30+
3. Filter the list for **Category=Backup**. You will see the list filtered down to a single policy named 'Configure backup on VMs of a location to an existing central Vault in the same location'.
31+
![Policy Dashboard](./media/backup-azure-auto-enable-backup/policy-dashboard.png)
3732
4. Click on the name of the policy. You will be redirected to the detailed definition for this policy.
38-
![Policy Definition Blade](./media/backup-azure-auto-enable-backup/policy_definition_blade.png)
33+
![Policy Definition Blade](./media/backup-azure-auto-enable-backup/policy-definition-blade.png)
3934
5. Click on the **Assign** button at the top of the blade. This redirects you to the **Assign Policy** blade.
4035
6. Under basics, click on the three dots next to the **Scope** field. This opens up a right context blade where you can select the subscription for the policy to be applied on. You can also optionally select a resource group, so that the policy is applied only for VMs in a particular resource group.
41-
![Policy Assignment Basics](./media/backup-azure-auto-enable-backup/policy_assignment_basics.png)
36+
![Policy Assignment Basics](./media/backup-azure-auto-enable-backup/policy-assignment-basics.png)
4237
7. In the **Parameters** tab, choose a location from the drop-down, and select the vault and backup policy to which the VMs in the scope must be associated.
43-
![Policy Assignment Parameters](./media/backup-azure-auto-enable-backup/policy_assignment_parameters.png)
38+
![Policy Assignment Parameters](./media/backup-azure-auto-enable-backup/policy-assignment-parameters.png)
4439
8. Ensure that **Effect** is set to deployIfNotExists.
4540
9. Navigate to **Review+create** and click **Create**.
4641

42+
> [!NOTE]
43+
>
44+
> Azure Policy can also be used on existing VMs, using [remediation](https://docs.microsoft.com/azure/governance/policy/how-to/remediate-resources).
45+
4746
> [!NOTE]
4847
>
4948
> It is recommended that this policy is assigned to not more than 200 VMs. If the policy is assigned for more than 200 VMs, it can result in the backup getting triggered a few hours later than that specified by the schedule.
39.4 KB
Loading
33.6 KB
Loading
37 KB
Loading
118 KB
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)