V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
imherer
V2EX  ›  程序员

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

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