
Azure Site Recovery provides a robust solution for virtual machines, ensuring business continuity in the face of disasters or outages. It allows you to replicate and failover virtual machines to a secondary location, ensuring minimal downtime.
With Azure Site Recovery, you can replicate virtual machines from on-premises or other cloud environments to Azure. This replication is done in real-time, ensuring that your virtual machines are always up-to-date.
Business continuity is critical for any organization, and Azure Site Recovery provides a reliable way to achieve it. By replicating virtual machines to a secondary location, you can quickly recover in the event of a disaster or outage.
Azure Site Recovery supports replication of virtual machines from various sources, including VMware vSphere and Hyper-V. This allows you to integrate it with your existing infrastructure.
Benefits and Features
With Azure Site Recovery, you can set up and manage replication, failover, and failback from a single location in the Azure portal. This allows for streamlined management and reduced complexity.
Replication can be set up using Azure Site Recovery, which enables the creation of a duplicate of your virtual machines in a secondary location.
Failover and failback are also managed from the same location, providing a convenient and efficient experience.
Benefits
Using a simple BCDR solution like Azure Site Recovery can save you time and effort by allowing you to manage replication, failover, and failback from a single location in the Azure portal.
With Azure Site Recovery, you can set up and manage replication, failover, and failback from a single location, making it easier to recover from outages and disasters.
Having a single location to manage replication, failover, and failback also means you can easily track and monitor your BCDR setup, making it easier to identify and fix any issues that arise.
What Does Provide?
Provide offers a comprehensive package of benefits and features that cater to various needs.
It provides access to a vast library of educational resources, including e-books, articles, and videos.
These resources are designed to enhance knowledge and skills in areas such as business, technology, and personal development.
Provide also offers a community platform where users can connect with others who share similar interests and goals.
This platform provides a space for users to ask questions, share experiences, and learn from others.
Additionally, Provide offers a personalized learning plan that helps users set and achieve their goals.
This plan is tailored to the user's needs and preferences, and it provides a clear roadmap for success.
Setup and Configuration
To set up VM connectivity, VMs need outbound network connectivity, and Site Recovery doesn't support using an authentication proxy to control network connectivity.
For replication to work between sites and Microsoft Azure, VMs need to be started and private clouds need to be created.
You can't automate replication processes completely, and some steps may require admin involvement.
Admins can pause the execution of the recovery plan at specific stages until they perform the necessary actions and approve the end of the action.
Test failover is a crucial step after setting up the recovery plan, and Azure Site Recovery offers the same option as Hyper-V Replica.
You can create an individual virtual network for testing purposes in Azure, select a recovery plan, and click on TEST FAILOVER to see how the replicated VM behaves.
Creating and Managing a Vault
Creating a Recovery Services vault is a straightforward process. You can create a vault in any region except the source region from which you want to replicate VMs.
To create a vault, sign in to the Azure portal and search for Recovery Services vaults. Select Add and follow the configuration prompts to give it a name, resource group, and Azure region. You can select an existing resource group or create a new one.
The vault provides options to manage backup policies for stored VMs and monitor replication status. You can also restore from a recovery point in the VM. To add VMs to a vault, use the Disaster Recovery button on the Recovery Services vault and blade, and select the new vault.
Here's a step-by-step guide to creating a Recovery Services vault:
- Sign in to the Azure portal.
- In the search box, type recovery. Under Services, select Recovery Services vaults.
- In Recovery Services vaults, select Add.
- In Create Recovery Services vault > Basics, select the subscription in which to create the vault.
- In Resource group, select an existing resource group for the vault, or create a new one.
- In Vault name, specify a friendly name to identify the vault.
- In Region, select the Azure region in which to place the vault. Check supported regions.
- Select Review + create.
- In Review + create, select Create.
Instance Metadata Service (IMDS)
Azure's Instance Metadata Service (IMDS) plays a crucial role in creating and managing a vault.
IMDS is used by the Azure Site Recovery mobility agent to get the virtual machine's security type.
Communications between the VM and IMDS never leave the host.
Ensure that you bypass the IP 169.254.169.254 when using any proxies.
Create a Vault

To create a Recovery Services vault, you can follow these steps: sign in to the Azure portal and type "recovery" in the search box, then select Recovery Services vaults. In the Recovery Services vaults page, select Add to create a new vault.
You'll need to select the subscription in which to create the vault, and choose an existing resource group or create a new one. Give the vault a friendly name to identify it, and select the Azure region where you want to place it. Make sure to check the supported regions.
Here's a step-by-step guide to creating a Recovery Services vault:
- Sign in to the Azure portal.
- In the search box, type recovery. Under Services, select Recovery Services vaults.
- In Recovery Services vaults, select Add.
- In Create Recovery Services vault > Basics, select the subscription in which to create the vault.
- In Resource group, select an existing resource group for the vault, or create a new one.
- In Vault name, specify a friendly name to identify the vault.
- In Region, select the Azure region in which to place the vault. Check supported regions.
- Select Review + create.
- In Review + create, select Create.
After creating the vault, you can pin it to your dashboard for quick reference and select Go to resource to open the new vault.
Planned Failovers
Planned failovers are a crucial aspect of maintaining a Vault, allowing you to run expected outages with zero-data loss.
You can plan for these outages by scheduling maintenance windows and testing your Vault's failover procedures beforehand.
Planned failovers can be done with minimal disruption to your users, ensuring business continuity.
This approach also helps you identify and fix any potential issues before they cause problems during an actual outage.
By running regular planned failovers, you can be confident that your Vault will perform as expected during unexpected outages.
Planned failovers can be a lifesaver in critical situations, and with the right planning, you can minimize downtime and data loss.
Enable Replication
To enable replication for your Azure VM, you'll need to select the source settings and enable VM replication. This will allow Site Recovery to create a replication policy and start replicating your VM to the target region.
You can find the source settings in the vault settings, where you'll select Enable Site Recovery. From there, you can configure the replication settings, including the target region, storage, and replication policy.
Site Recovery creates default settings for the target region, but you can also review and customize these settings if needed. You can select the High Churn option to protect VMs with high data change rates, but by default, the Normal Churn option is selected.
To proceed with enabling replication, select Next and review the VM settings. You can enable replication by checking the box next to Enable replication.
Testing and Verification
You can initiate a "Test failover" to verify the integrity of the replicated VM, which will show the below actions and verify the status successfully to complete the test failover.
This process is non-disruptive and won't affect ongoing replication, allowing you to run disaster recovery drills without impacting your production environment.
Test failover creates a snapshot of the replicated VM, which serves as a basis for the copy of this very VM with the Name_VM-test name, making it easy to test and verify the recovery plan.
You can connect this VM to an isolated network segment and see for yourself how an application inside is behaving, how test clients will be able to reach it, etc.
After confirming the test failover, you can delete the test failover virtual machines to avoid unnecessary space-occupying due to test failover VM space, and initiate the cleanup process.
Disabling replication will remove the replicated item from Azure Site Recovery, stop Site Recovery billing for the machine, and the replication configuration on the source will not be cleaned up.
It's highly recommended to perform test failover as the next step after the recovery plan is entirely ready, as it won't disrupt an already configured replication process.
Restoration and Recovery
To restore an Azure VM, you'll need to log in to the Azure portal and select Azure Backup Center. From there, you'll choose Manage and then Backup instances to initiate the restore process.
The first step is to provide the data source type as "Azure Virtual Machines" and select the Azure VM backup you want to restore. You'll then click Proceed to the Next step.
You'll be redirected to Recovery Services Vaults for restore, where you'll need to select the restore point. This is where you can choose the latest restore point, which may be the most recent one available.
There are three types of restore points to choose from: Crash consistent restore points, Application consistent restore points, and File System consistent restore points. You can choose "All restore points" and select the latest one to restore.
When restoring, you'll have the option to either create a new VM or replace the existing one. If you choose to create a new VM, you'll need to provide Resource group, Virtual network, and Subnet details. This will determine where the new VM will be placed.
You'll also need to specify a staging location, which is a temporary storage account that will be used during the restore process. This storage account should be in the same subscription and location as the vault, and should not be attached to any affinity group.
Here are the specific requirements for the staging location:
- Storage account should be in the same subscription as the vault
- Storage account should be in the same location as the vault
- Storage account should not be attached to any affinity group
- Storage account should be active and not ZRS
Once you've specified the staging location, you can click Restore to proceed with the restore process. You can then view the restore progress in the Monitoring + reporting tab, under Backup jobs.
Pricing and Next Steps
Azure Site Recovery provides a cost-effective way to protect your virtual machines. You can use the service for free for the first 31 days to test it.
The pricing model is based on the number of protected instances, with each instance costing $25 per month to replicate to Azure. Additional fees apply for the Azure Site Recovery license, storage in Azure, storage transactions, and outbound data transfer.
Microsoft doesn't charge for incoming replication, but you'll incur a cost for outgoing replication, which depends on the Azure region and the amount of egress data transferred. Faster disk types also add to the charges.
During a failover, Microsoft adds a compute charge for the VMs running in Azure, which is an extra cost to consider.
Reduce Infrastructure Costs
Reducing infrastructure costs can be a game-changer for businesses.
Eliminating the need for a costly secondary data center can save you from building and maintaining it, which is a significant expense.
Deploying, monitoring, patching, and maintaining on-premise disaster recovery infrastructure can be a costly affair.
By moving to a cloud-based disaster recovery solution, you can reduce the infrastructure costs associated with maintaining a secondary data center.
According to our research, reducing infrastructure costs can lead to significant savings, allowing you to reallocate those funds to other areas of your business.
Reducing infrastructure costs can help you achieve a better return on investment and improve your overall business efficiency.
What is Pricing?
Pricing is a crucial aspect to consider when evaluating Azure Site Recovery. Organizations can test the service for free for the first 31 days.
Each protected instance to Azure costs $25 per month, with additional fees for the Azure Site Recovery license, storage in Azure, storage transactions, and outbound data transfer. The cost depends on the Azure region and how much egress data is transferred.
Microsoft does not charge for incoming replication. During a failover, Microsoft adds a compute charge for the VMs that are running in Azure.
Each attached disk to the instance adds to the charges, with faster disk types costing more. The cost for a protected instance to a customer-owned site is $16 per instance.
Next Steps
Now that you've got a solid understanding of pricing, it's time to take action.
Run a disaster recovery drill to check that failover works as expected.
Review your current pricing plan to ensure it's still the best fit for your needs.
Take a moment to consider what you've learned about pricing and how you can apply it to future projects.
Frequently Asked Questions
What else does site recovery provide?
Site Recovery also offers integration with Azure Traffic Manager to further reduce Recovery Time Objective (RTO). Additionally, it allows for replication using recovery points with application-consistent snapshots.
Which four ways does site recovery protect virtual machine infrastructure?
Site Recovery protects virtual machine infrastructure through four key methods: snapshot creation, replication, disaster recovery drills, and flexible failover/failback capabilities. These features ensure business continuity and minimize downtime in the event of a disaster or outage.
What is the difference between Azure VM backup and site recovery?
Azure VM backup focuses on file and snapshot protection, while Azure Site Recovery provides active VM replication between zones/regions for rapid disaster recovery. This difference ensures your data is safe and accessible in case of an outage.
Sources
- https://www.bdrsuite.com/blog/enabling-site-recovery-and-replication-for-azure-vm-in-azure-backup-center/
- https://www.starwindsoftware.com/blog/azure-site-recovery-asr/
- https://www.synergy-technical.com/solutions-asr
- https://www.techtarget.com/searchwindowsserver/tutorial/Try-an-Azure-Site-Recovery-setup-for-DR-needs
- https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-tutorial-enable-replication
Featured Images: pexels.com