Site recovery using azure bicep

Satish B 70 Reputation points
2023-07-28T16:31:40.99+00:00

Hi All, I was new to azure bicep. I want setup azure site recovery using azure bicep. I want replicate existing virtual machines from norway east to norway West. I tried many ways to do it. Same thing I have early done from arm templates. Can some one share sample script to do on azure bicep. Thanks in advance

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
692 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Saurabh Sharma 23,796 Reputation points Microsoft Employee
    2023-07-28T18:56:30.0266667+00:00

    Hi @Satish B ,

    Thanks for using Microsoft Q&A!!

    You can follow the Quickstart: Create a Recovery Services vault using Bicep documentation to create a recovery service vault using Bicep.

    Once you are done with the creation, you can configure replication for your virtual machines using the Azure Site Recovery service instance on the portal. You can do this by following the steps mentioned in the Azure Site Recovery documentation: Set up disaster recovery for Azure VMs. On "Configure replication settings" step, select the source location as Norway East and the target location as Norway West to setup as you are expecting.

    You can test the replication by performing a failover of the virtual machines to the target location.

    I hope this helps! Let me know if you have any further questions.

    Thanks

    Saurabh


    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    0 comments No comments

  2. Satish B 70 Reputation points
    2023-08-24T01:38:06.3833333+00:00

    it's not fixed my issue

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.