Easily Lift-and-Shift all your container registries to Azure Container Registry (ACR)

The transferring of images from one image registry to another can be a tedious process. Rackware SWIFT provides an easy solution that allows migrating or setting up DR between various container registries. This blog will help you migrate your container registry to Azure container registry (ACR). Apart from ACR SWIFT also supports syncing between the following container registry platforms

  • Docker hub  

  • AWS Elastic container registry (ECR) 

  • Google cloud registry(GCR) 

  • Oracle cloud infrastructure registry (OCIR)

Step 1:

Go to the Azure marketplace Rackware SWIFT migration subscription page here.

You can go through the product overview and Demo video to get a better idea of Rackware – SWIFT.

Click ‘Get it Now’ to explore and start Rackware - SWIFT in your Azure Cloud account.

Step 2:

Configure your subscription according to what you want. Optionally you can also select ‘start with a pre-set configuration’ to use pre – existing configurations and then click on create. With this, free trial automatically starts for the first month in customer's Azure account/subscription.

Step 3:  

After creating SWIFT DR-Subscription plan, SWIFT will be installed. Once you have your SWIFT up and running, access the SWIFT server and set password for admin user   
sudo swiftcli user modify admin --password <password>

Now you can access the SWIFT dashboard using the URL - https://<swift-host-ip>/swift/dashboard

Step 4: 

 Under the ‘Image Registries’ tab on the right panel, click on the ‘Add’ option to discover a new registry.   

Here provide all the necessary details for your source registry which you would like to make disaster proof. In this case I have taken an OCIR registry as my source.

Note: Data can be synced from one ACR registry to another in the same account.  

Repeat this step for the target ACR registry as well, to which you would like to sync your images.  You will have to enter all the necessary details of your azure account to proceed. 

Step 5:

To replicate your images from your source registry to your target, you can find the ‘All Replications’ tag under the ‘Sync Administration.’ To start our new replication, click on the ‘New’ button and select ‘Registry Replication.

Step 6: 

To synchronize all repositories, select ‘All’ radio button. If you need to synchronize only specific repositories select ‘Selective’ option and add those repositories. 

After selecting your repositories simply click on ‘Add’ and your repositories will be synchronized from your source to your target registries.

Target ACR registry before synchronizing:

Target ACR registry after synchronizing:

Decommission the SWIFT instance after completing the registry sync task.  

SWIFT usage is as per pay-as-you-go basis with OCPU/hour charging. Users can change hourly quota by adding or removing OCPU’s to/from SWIFT.  

For more info, visit this page and if you want to see a demo, use this link to request a demo.

By - Ruchidnya Kadam

>