Skip to content

Use geo-replicated storage#

Reliability · Azure Recovery Services Vault (RSV) · 2022_03

Recovery Services Vaults (RSV) without replication alerts configured may be at risk.

Description#

Recovery Services Vaults (RSV) can be used to replicate virtual machines between Azure Regions. Alerts can be configured to send notifications when replication issues occur.

The replication alerts can be configured for:

  • The resources owners (Based on RBAC permissions).
  • A list of email addresses.

Recommendation#

Configure replication alerts for Recovery Service Vaults that are performing replication tasks.

Examples#

Configure with Azure template#

By default a Recovery Services vaults does not have replication alerts setup. To define a replication alert via ARM templates either configure the sendToOwners or CustomerEmailAddress properties:

  • Set properties.sendToOwners to Send.
  • Set properties.customEmailAddresses to [ "example@email.com" ]

For example:

{
  "type": "Microsoft.RecoveryServices/vaults/replicationAlertSettings",
  "apiVersion": "2021-08-01",
  "name": "replicationAlert",
  "properties": {
    "sendToOwners": "Send",
    "customEmailAddresses": [
      "example@email.com"
    ]
  }
}

Configure with Bicep#

By default a Recovery Services vaults does not have replication alerts setup. To define a replication alert via a Bicep either configure the sendToOwners or CustomerEmailAddress properties:

  • Set properties.sendToOwners to Send.
  • Set properties.customEmailAddresses to [ "example@email.com" ]

For example:

resource testRecoveryServices 'Microsoft.RecoveryServices/vaults/replicationAlertSettings@2021-08-01' = {
  name: 'replicationAlert'
  location: 'string'
  parent: resourceSymbolicName
  properties: {
    sendToOwners: 'Sender'
    customEmailAddresses: [
      'example@email.com'
    ]
  }
}

Last update: 2022-02-08