English 中文(简体)
你们能否与亚马孙以外的亚马孙ElastiСache Redis联系?
原标题:Can you connect to Amazon ElastiСache Redis outside of Amazon?
最佳回答

Update 2018

此前的回答是准确的,但现在一些组合有可能利用以下指示从外部获得再分配的藏匿点:


Old Answer

无,你可以不采用像隧道这样的trick,隧道可能是科索沃的测试,但会杀使用超快艇/高压头的任何真正好处。

Old FAQ • 如何使用亚马孙ElastiCache,在VPC中不同于外部使用吗?

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

但是,这一措辞已删除在

问题回答

BTW 如果任何人想要一个窗口EC2解决方案,则在监督事务司的迅速尝试(关于上述窗口EC2机器):

To Add port-forwarding

C:UsersAdministrator>netsh界面Portproxy Addv4tov4 听力=6379 链接=6379 链接地址=xxxxxxxxx ng.0001.use1.cache.amazonaws.com

To list port-forwarded ports

C.UsersAdministrator>netsh 界面港口镜显示所有

Listen on ipv4:Link to ipv4:

港口地址


10.xxx.128.xxx 6379 xxxxxxxxxxxxxxxx.ng.0001.use1.cache.amazonaws.com 6379

To remove port-forwarding

C:UsersAdministrator>netsh interface portproxy delete v4tov4 listenport=6379 listenaddress=10.xxx.128.xxx

我们正在使用HAProxy作为专用代理服务器。

页: 1

通知(当时)有这样做的另一个良好理由

As we use node.js client, which don t support Amazon DNS fail over, the client driver don t support dns look up again. If the redis fail, the client driver will keep connect to the old master, which is slave after failed over.

通过使用HAProxy解决这一问题。

如今,它利用了最新的iore驾驶员,支持Amazon dns的失败。

Its is not possible to directly access the classic-cluster from a VPC instance. The workaround would be configuring NAT on the classic instance.

NAT需要简单的警示代理

YourIP=1.2.3.4
YourPort=80
TargetIP=2.3.4.5
TargetPort=22

iptables -t nat -A PREROUTING --dst $YourIP -p tcp --dport $YourPort -j DNAT 
--to-destination $TargetIP:$TargetPort
iptables -t nat -A POSTROUTING -p tcp --dst $TargetIP --dport $TargetPort -j SNAT 
--to-source $YourIP
iptables -t nat -A OUTPUT --dst $YourIP -p tcp --dport $YourPort -j DNAT 
--to-destination $TargetIP:$TargetPort




相关问题
Mount windows shared drive to MWAA in bootscript

In MWAA startup script sudo yum install samba-client cifs-utils -y sudo mount.cifs //dev/test/drop /mnt/dev/test-o username=testuser,password= pwd ,domain=XX Executing above commonds giving error - ...

How to get Amazon Seller Central orders programmatically?

We have been manually been keying Amazon orders into our system and would like to automate it. However, I can t seem to figure out how to go about it. Their documentation is barely there. There is: ...

Using a CDN like Amazon S3 to control access to media

I want to use Amazon S3/CloudFront to store flash files. These files must be private as they will be accessed by members. This will be done by storing each file with a link to Amazon using a mysql ...

unable to connect to database on AWS

actually I have my website build with Joomla hosted on hostmonster but all Joomla website need a database support to run this database is on AWS configuration files need to be updated for that I ...

Using EC2 Load Balancing with Existing Wordpress Blog

I currently have a virtual dedicated server through Media Temple that I use to run several high traffic Wordpress blogs. Both tend to receive sudden StumbleUpon traffic surges that (I m assuming) ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

热门标签