您可以连接到亚马逊Elasticache Redis的亚马逊之外 [英] Can you connect to Amazon Elasticache Redis outside of Amazon

查看:809
本文介绍了您可以连接到亚马逊Elasticache Redis的亚马逊之外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够连接到Elasticache Redis的实例,从EC2实例的VPC,但我想知道是否有一种方法可以连接到一个Elasticache Redis的节点亚马逊EC2实例,比如从我的地方之外其他厂商提供的开发设置或VPS实例。

I'm able to connect to an Elasticache redis instance in a VPC from EC2 instances, but I would like to know if there is a way to connect to an Elasticache Redis node outside of Amazon EC2 instances, such as from my local dev setup or VPS instances provided by other vendors.

这是我的地方设置了尝试,当目前: Redis的-CLI -h我的节点端点-p 6379

Currently when trying from my local set up: redis-cli -h my-node-endpoint -p 6379

我只得到了一段时间后超时。

I only get a timeout after some time.

感谢您,

推荐答案

没有,你不能没有诉诸招数,如隧道,这可能确定的测试,但会杀死使用超的任何实际的好处快速缓存的附加延迟/开销。

No, you can't without resorting to 'tricks' such as a tunnel, which maybe OK for testing but will kill any real benefit of using a super-fast cache with the added latency/overhead.

...一个亚马逊ElastiCache集群,内部或VPC外,从来都不是   允许从Internet访问

...an Amazon ElastiCache Cluster, inside or outside a VPC, is never allowed to be accessed from the Internet.

从这里:<一href="http://aws.amazon.com/elasticache/faqs/#Can_I_access_Amazon_ElastiCache_from_outside_AWS">http://aws.amazon.com/elasticache/faqs/#Can_I_access_Amazon_ElastiCache_from_outside_AWS

这篇关于您可以连接到亚马逊Elasticache Redis的亚马逊之外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆