Why can my ChinaEast2 region vm access ChinaEast redis successfully?

Gallatin 21V 186 Reputation points
2024-12-09T08:17:30.7233333+00:00

https://docs.azure.cn/en-us/azure-cache-for-redis/cache-how-to-premium-vnet

Hi team, from the documentation above, redis can only be accessed across regions if redis has the Availability zone turned on. But why can my ChinaEast2 region vm access ChinaEast redis successfully? There is no availability zone in ChinaEast redis.User's image

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
264 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mahesh Kurva 1,470 Reputation points Microsoft Vendor
    2024-12-09T13:43:43.69+00:00

    Hi @Gallatin 21V,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    But why can my ChinaEast2 region vm access ChinaEast redis successfully? There is no availability zone in ChinaEast redis.

    Here are a few points to clarify:

    • According to the documentation, Redis can only be accessed across regions if it has Availability Zones turned on. However, your ChinaEast2 VM can access ChinaEast Redis because they are in the same region, not across regions.
    • The requirement for Availability Zones applies when you are trying to access Redis across different regions. Since both your VM and Redis are in the ChinaEast region, this constraint does not apply.
    • You can connect to your cache from a peered virtual network within the same region using virtual network peering or a VPN Gateway VNET-to-VNET connection.
    • If the peered virtual networks are in different regions, a client VM in region 1 cannot access the cache in region 2 via its load-balanced IP address unless the cache has a standard load balancer with availability zones.
    • If you need to connect across regions without availability zones, you can use a VPN Gateway VNET-to-VNET connection instead of virtual network peering.

    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.