• 请不要在回答技术问题时复制粘贴 AI 生成的内容
imherer
V2EX  ›  程序员

有用过 AWS ElastiCache 的同学吗,有问题请教

  •  
  •   imherer · Apr 28, 2017 · 2335 views
    This topic created in 3476 days ago, the information mentioned may be changed or developed.

    是这样的,aws 的 ElastiCache 默认只允许同一个 VPC 内的 EC2 访问(即一定在同一个 region ),我现在想让别的 region 里的 EC2 也能访问,按 官网文档 操作了下,结果还是不行,连接的时候直接 refused。 有做过的同学吗?求指教! 谢谢!

    7 replies  •  2017-05-18 15:42:06 +08:00
    Caskia
    Caskia
    Apr 28, 2017
    1
    先建立 VPC,官方有文章讲如何把不同区域的实例放在一个 VPC。还有一点为 ElastiCache 建立需要连接的安全策略。
    Bruta
    Bruta
    Apr 29, 2017 via iPhone
    2
    使用 vpc peer connection 把两个 vpc 连起来,就可以一个 vpc 访问另一个 vpc 内的资源了,注意两个 vpc 的 cidr 不能一样
    imherer
    imherer
    OP
    May 18, 2017
    3
    @Caskia 你说的区域是可用区吧? 我看了下 不同 region 里的 VPC 根本就不一样啊,如何放在同一个 VPC 里呢?
    imherer
    imherer
    OP
    May 18, 2017
    4
    @Bruta 有相关文档资料吗? 找了半天没找到,谢谢!
    imherer
    imherer
    OP
    May 18, 2017
    6
    @Bruta 谢谢
    imherer
    imherer
    OP
    May 18, 2017
    7
    @Bruta 看了下这个 vpc peer connection 好像只能在同一个 region 内的 vpc 进行这个操作。我的需求是想各个 region 都能访问。 不过还是谢谢你。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5088 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 07:41 · PVG 15:41 · LAX 23:41 · JFK 02:41
    ♥ Do have faith in what you're doing.