简体   繁体   English

AWS ElastiCache Redis - 一个 AZ 中的所有节点以避免数据传输成本

[英]AWS ElastiCache Redis - All nodes in one AZ to avoid data transfer costs

I'm setting up an ElastiCache Redis cluster, however event when disabling the Multi-AZ option the nodes are being distributed across multiple AZs.我正在设置一个 ElastiCache Redis 集群,但是当禁用多可用区选项时,节点分布在多个可用区中。 I want them to be in the same AZ as my EC2 nodes to avoid data transfer costs.我希望它们与我的 EC2 节点位于同一个 AZ 中,以避免数据传输成本。 It also seems impossible to move existing nodes to another AZ.将现有节点移动到另一个 AZ 似乎也是不可能的。

Is there a way to have all cluster nodes in the same AZ?有没有办法让所有集群节点都在同一个可用区?

Depends.要看。 Multi-AZ is required for Redis with Cluster Mode Enabled (CME).启用集群模式 (CME) 的 Redis需要多可用区。 So different AZs are also required and you can't change it.所以还需要不同的可用区,你不能改变它。

But with Cluster Mode Disabled (CMD), you can create your cluster in even one su.net.但是在禁用集群模式(CMD) 的情况下,您甚至可以在一个 su.net 中创建集群。 For that you have to create your own su.net group and choose it when you create the CMD cluster.为此,您必须创建自己的su.net 组,并在创建 CMD 集群时选择它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM