Azure Container Registry

d khetwal 1 Reputation point
2020-10-17T02:11:45.73+00:00

Hi
I am looking at geo replication of Azure Container Registry to set up Disaster recovery across multiple region. One question, I have is, let's say there is primary region fail over and developers keep on pushing new images to secondary region. Once primary region is up, will all the images from secondary region be restored/replicated automatically to primary region's Azure container registry?. What are the loop holes. what additional I should consider for Disaster recovery scenario?

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
446 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 26,296 Reputation points
    2020-10-20T03:41:46.3+00:00

    @d khetwal

    Firstly, apologies for the delay in responding.

    If a geo replication is setup for Azure Container Registry and the primary region goes down, and the region is back up the images are replicated automatically.

    Please check this document on considerations for using geo-replicated registry.

    What will happen when one of the region goes down after the repository is geo replicated?
    We can create replica in different region and each region in a geo-replicated registry is independent once set up. If one of the replicated region is down, then replication would still run in the background for other region.

    What will happen when the ACR resource is deleted (Human Error)? Anyway we can recover it?
    If deletion happens on the ACR itself, then all replicas will be deleted as well and that is unrecoverable.

    Is there any protection or prevention for deletion of ACR itself?
    Like for all resources we can create a delete resource lock to prevent accidental deletion. Refer this document.

    ACR Best practices: Ref doc.

    Hope provided information is helpful.
    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

  2. Binyam Asfaw Beyene 1 Reputation point
    2021-05-21T12:24:45.08+00:00

    Hi @d khetwal ,
    Hope this finds you well. I wanted to ask if it is possible to get the details of deletion events on container images. I want to know the ways I can check to know who deleted a specific images within a container registry.

    Regards,

    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.