azure managed redis
7 TopicsJoin Us at Build 2025: Explore What’s New with Azure Managed Redis
We're thrilled to be at Microsoft Build 2025—both in Seattle and online—to share the latest updates and innovations in Azure Managed Redis. Whether you're modernizing .NET apps, building intelligent AI services, or scaling global web apps, Azure Managed Redis has never been more essential. As a fully managed, first-party service built in partnership with Redis, Azure Managed Redis brings enterprise-grade caching, real-time data, and integrated vector capabilities to your app architecture—with seamless integration into the Azure ecosystem. Check out what’s happening with Azure Managed Redis at Build: 🔍 Breakout Sessions Explore how Azure Managed Redis powers modern, scalable, and AI-enhanced applications in these featured breakout sessions: BRK203: Get faster AI agent responses and low app latency with Azure Managed Redis Discover how Azure Managed Redis boosts AI application performance—including those using Azure SQL—by delivering low latency, fast response times, optimized configurations, and seamless .NET caching integration. BRK201: Innovate, deploy, & optimize your apps without infrastructure hassles Explore the latest in autoscaling, high availability, and observability for cloud applications—without managing infrastructure. Learn how Azure Managed Redis and other services simplify deployment, scaling, and monitoring for web apps, microservices, AI/ML, and analytics workloads. 💬 Meet the Experts Have questions? Looking to talk architecture, migration, or real-time performance tuning? Visit us in the Expert Meetup Zone to connect with the Microsoft and Redis product teams, engineers, and architects behind Azure Managed Redis. 🔎 How to find it: Log into the Microsoft Build 2025 website or use the official event mobile app to view the venue map and session schedule. 📍 To find the Expert Meetup zone, check out the official MS Build Event Guide for a venue maps and other logistical information. 🍹 Redis x Microsoft Build Happy Hour Let’s keep the conversation going! You’re invited to the Microsoft Build Happy Hour with Redis—open to all Build attendees. 🗓️ Tuesday, May 20th, 6:30–8:30 PM 📍 Register here Whether you're a long-time Redis developer or just getting started, this is a great chance to network and have fun with the Redis and Azure community. 🧪 Hands-On Labs (featuring open-source Redis) Dive into practical scenarios and learn how Redis supercharges AI and app experiences: LAB340: Accelerate AI App Development with AI Gateway Capabilities in Azure API Management Leverage Redis as a fast datastore for low-latency inferencing and vector-based lookups. LAB306: Integrating and Enhancing Applications with .NET Aspire Enhance application performance and user experience by integrating Redis for session caching and real-time responsiveness. Get Started with Azure Managed Redis Want to try it out before or after Build? 🚀 Start building 📘 Explore the documentation We can’t wait to connect with you at Build 2025—in Seattle or online!296Views2likes0CommentsData Migration with RIOT-X for Azure Managed Redis
By: Roy de Milde, Global Black Belt and App Innovation Specialist, Microsoft and George von Bülow, Senior Solution Architect, Redis Introduction Customers are increasingly seeking efficient ways to migrate their current cache systems to Azure Managed Redis. This growing demand has led to the development of innovative tools and applications to facilitate the migration process. Azure Managed Redis offers numerous benefits, including enhanced performance, scalability, and security features. By migrating to Azure Managed Redis, customers can take advantage of its fully managed service, which reduces the operational burden and allows them to focus on their core business activities. Additionally, Azure Managed Redis provides seamless integration with other Azure services, enabling customers to build more robust and scalable applications. The migration process can be complex, but with the right tools and guidance, customers can achieve a smooth transition and unlock the full potential of Azure Managed Redis. We are writing this blog to give more insights around this and help customers understand the benefits and process of migrating to Azure Managed Redis with RIOT-X RIOT-X Explanation RIOT-X is a tool created by the field engineers at Redis. RIOT-X, which stands for Redis Input/Output Tools, is a command-line utility designed to help users seamlessly transfer data in and out of Redis. It supports various sources and targets, including files (CSV, JSON, XML), data generators, relational databases, and Redis itself through snapshot and live replication. The introduction of RIOT-X addresses the challenges faced by customers during migration, offering a streamlined and reliable solution. By leveraging RIOT-X, customers can ensure a smooth transition to Azure Managed Redis, benefiting from enhanced performance, scalability, and security features provided by Azure. Migration RIOT-X can be used for various migration scenarios, depending on the connectivity between the source and target Redis databases, and requirements for application availability. Snapshot Migration In the simplest case, data is directly replicated from the source (which can be any flavor or version of Redis) to Azure Managed Redis during a scheduled downtime period. After replication, the applications that are using Redis are reconfigured to connect to Azure Managed Redis. The corresponding RIOT-X command is: riotx replicate redis://source redis://target Live Migration If the application is mission critical and cannot afford any downtime, then a live migration comes into play. This is like the snapshot scenario, but RIOT-X continuously updates the database in Azure Managed Redis with changes applied to the source database. The modified command uses the --mode live argument: riotx replicate --mode live redis://source redis://target Applications can now be updated with blue-green deployments or similar techniques, where read and write components are changed independently. The source Redis database continues to run until the application migration has been completed. Export/Import Migration For cases where there is no direct network connection between the source database and Azure Managed Redis, RIOT-X allows exporting data in a standard format, such as JSON or CSV. The data file is then transferred to a location accessible by Azure Managed Redis and imported with RIOT-X. These are the corresponding commands: riotx file-export --uri redis://source --type=json export.json riotx file-import --uri redis://target --type=json export.json Technical Setup RIOT-X can be run on Windows, macOS and Linux. Windows scoop bucket add redis https://github.com/redis/scoop.git scoop install riotx MacOS brew install redis/tap/riotx Linux Download the pre-compiled binary from RIOT-X releases and unzip. unzip riotx-standalone-0.6.2-*.zip You can also run RIOT-X as a Docker container: docker run riotx/riotx [OPTIONS] [COMMAND] RIOT-X supports the standard authentication methods for Redis. If you are using Entra Id authentication with Azure Managed Redis, you must enable access keys for the duration of the migration. Support for Entra Id has been added as a feature request for RIOT-X. Architecture RIOT-X is essentially an ETL tool where data is extracted from the source system, transformed, and loaded into the target system. RIOT-X is a standalone system and does not need to be co-located with a Redis server. Connection to Redis source and target databases is achieved through the Redis serialization protocol (RESP), with support for both RESP2 and RESP3. Replication between a Redis source and target works as follows: Identify source keys to be replicated Read data associated with each key Write each key to the target If the source and target databases use different Redis versions (which is the case for Azure Cache for Redis at version 6.2 and Azure Managed Redis at version 7.4), then data structure replication must be enabled with the --struct argument: riotx replicate --struct redis://source redis://target Getting started with Azure Managed Redis We are excited to offer the public preview of Azure Managed Redis, built to drive innovation and prepare your applications for AI. If you are attending Microsoft Build 2025, please join us at this session and stop by the Azure Managed Redis booth for demos and to speak with an expert. To get started with Azure Managed Redis today, please check out our product page for more information or contact our sales team. Resources Azure Managed Redis product page Azure Managed Redis pricing page Azure Cache for Redis product page559Views2likes1CommentUsing MCP Server with Azure Managed Redis in VS Code
Overview Have you thought about asking your VS Code to generate test data and automatically upload them to Redis, without having to write any code? Wouldn’t it be nice to code and manage resources all in one place in VS Code? This blog walks you through setting up VS Code to connect with Redis MCP Server and an Azure Managed Redis to accomplish these. By the end of this blog, we will be able to run VS Code in agent mode and tell it to generate customer test data in English, and it will leverage the MCP server to write the data into Redis. What is MCP and Redis MCP? Model Context Protocol (MCP) is an open standard that lets AI models use external tools and services through a unified interface, enabling seamless integration and standardized interactions. VS Code agent mode lets you run the VS Code tool as an agent, connecting directly to MCP servers like Redis MCP. This enables seamless integration between your development environment and Redis-powered context management, making it easy to automate tasks, manage data, and interact with Redis from within VS Code. This article provides a step-by-step guide to setting up a Redis MCP server connected to Azure Managed Redis using agent mode in Visual Studio Code. Quick Start: Step-by-Step Instructions Prerequisites Create an Azure Managed Redis (AMR) Instance Create an Azure Managed Redis in the Azure Portal Download or clone redis/mcp-redis Start VS Code in Agent mode with MCP servers enabled Download and install VS Code Use agent mode in VS Code Enable MCP support in VS Code (Optional) Add AMR to Redis Insight to view data in Azure Managed Redis Download Redis Insight Setup Redis MCP server in VS Code The following instructions are adapted from Use MCP Servers in VS Code to describe how to use the Redis MCP server. The example uses a Windows 11 development machine. Set up a new workspace in VS Code for your project. Add .vscode/mcp.json Create a .vscode/mcp.json file in your workspace. Copy over the required configuration content for MCP server connection. Below is an example. Notice that the REDIS_SSL setting needs to be added for Azure Managed Redis, if you followed the recommended security options when creating it. { "servers": { "redis": { "type": "stdio", "command": "C:\\Users\\user1\\.local\\bin\\uv.exe", "args": [ "--directory", "C:\\Users\\user1\\source\\repos\\mcp-redis", "run", "src/main.py" ], "env": { "REDIS_HOST": "yourredisname.yourredisregion.redis.azure.net", "REDIS_PORT": "10000", "REDIS_USERNAME": "default", "REDIS_PWD": "<replace_with_your_access_key_token>”, "REDIS_SSL": "true" } } } } Add settings.json Update your workspace’s settings.json to allow the agents you want to use. For example, if you want to use copilot-swe and copilot/claude-sonnet-4 with the Redis MCP server, the file would look like: { "chat.mcp.serverSampling": { "MCPWorkspace/.vscode/mcp.json: redis": { "allowedModels": [ "copilot/copilot-swe", "copilot/claude-sonnet-4" ] } } } Start MCP server. In the Run Commands bar (Ctrl+Shift+P), type: >MCP: List Servers Select Redis Select Start Server Open Copilot Chat Window In VS Code, open the Agent chat window (Ctrl+Shift+I) On the bottom menu of the Chat window, ensure Agent mode is selected among Agent, Ask, and Edit. Test MCP Server to add test data to Redis Type: generate 10 customer information with an integer ID as the key and hashset with properties like First Name, Last Name, Phone number, Address. Then put each of the 10 customer entries in the Redis See the output calling MCP tool. Note that MCP might prompt for permissions to execute. Select ‘Allow for this session’ from the dropdown menu Optionally verify that the key value pair has been added to the Azure Managed Redis instance through Redis Insight tool. This workflow makes it fast and intuitive to leverage Redis MCP with Azure Managed Redis, using VS Code’s agent mode for powerful, context-driven development. You’ll be able to automate Redis operations, manage context, and interact with agents—all from your familiar VS Code environment.47Views1like1Comment