Tutorial
Memorystore to Azure Managed Redis (AMR)
February 27, 20263 minute read
TL;DR:To migrate from Google Cloud Memorystore to Azure Managed Redis, export your Memorystore data as an RDB file to a Google Cloud Storage bucket, download it, upload it to Azure Blob Storage, then import it into a new Azure Managed Redis instance.
#What you'll learn
- How to export data from Google Cloud Memorystore as an RDB backup
- How to transfer an RDB file from Google Cloud Storage to Azure Blob Storage
- How to create and size an Azure Managed Redis instance for your workload
- How to import an RDB backup into Azure Managed Redis
#Prerequisites
- A Google Cloud Platform (GCP) account with an active Memorystore for Redis instance
- An Azure subscription with permissions to create storage accounts and Azure Managed Redis instances
- Access to both the Google Cloud Console and the Microsoft Azure Portal
#How do I choose the right migration strategy?
Before migrating to Azure Managed Redis, you should evaluate the migration and consider the best option. Read this guide to determine which migration strategy is right for you. If you are considering migrating to Redis Cloud instead, see Migrate Memorystore to Redis Cloud.
NOTE: Reach out to our team for support on live migrations.
#How do I export data from Memorystore using offline migration?
#Create a Google Cloud Storage bucket with proper permissions

- Create a new bucket to store Memorystore backups.
- Click Save.
#Export from Memorystore to Google Cloud Storage bucket
- Navigate to the Overview page of your Memorystore instance.
NOTE: Make note of the data size of your instance, you will need it when creating your Azure Managed Redis instance.

- Select Export in the top right.

- Find the Google Cloud Storage bucket created in the previous step.
- Select that bucket.
- Click Export.
#Download from the Google Cloud Storage bucket
- Navigate to the Google Cloud Storage bucket.
- Select the bucket you saved the .rdb file in.
- Download the .rdb file to your local machine.

#How do I import data into Azure Managed Redis?
#Upload the RDB file to Azure Blob Storage
- In the Microsoft Azure portal, navigate to Storage Accounts.
- Create an Azure Blob storage instance.

- Upload your .rdb file into the Blob container.

#How do I create and size my Azure Managed Redis instance?
- Navigate to Azure Managed Redis in the Azure portal.
- Select a size that fits your data set size captured in the initial steps on Memorystore. The rough estimate for sizing is your [current data set size * 1.2] = AMR data size (round up to the nearest size).

- Select the data modules that you used within your Memorystore instance (RediSearch, RedisJSON, RedisTimeSeries, RedisBloom).

- Create your instance.
#Import the RDB file into Azure Managed Redis
- Navigate to your instance once it's been created.
- Go to Administration > Import Data.

NOTE: Importing will delete existing cache data.
- Choose your storage account which has the .rdb blob.
- Select the .rdb file you wish to import.

- Import your data.
#Next steps
- Determine the best migration strategy for your use case
- Migrate Memorystore to Redis Cloud for an alternative cloud destination