您可以连接到亚马逊Elasticache Redis的亚马逊之外亚马逊、您可以、连接到、Redis

2023-09-11 23:37:42 作者:我也想有白头的爱情

我能够连接到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.

从这里:http://aws.amazon.com/elasticache/faqs/#Can_I_access_Amazon_ElastiCache_from_outside_AWS