I m 能够连接。 Redis instance in a VPC from EC2 cases. 但是,我想知道,是否有办法将亚马孙EC2事件之外的ElastiCache Redis node连接起来,例如从我的 localdev setup或由其他供应商提供的VPS事例中。
目前,我的地方机构正在尝试:
redis-cli -h my-node-endpoint -p 6379
我只是经过一段时间才获得停职。
I m 能够连接。 Redis instance in a VPC from EC2 cases. 但是,我想知道,是否有办法将亚马孙EC2事件之外的ElastiCache Redis node连接起来,例如从我的 localdev setup或由其他供应商提供的VPS事例中。
目前,我的地方机构正在尝试:
redis-cli -h my-node-endpoint -p 6379
我只是经过一段时间才获得停职。
SSH port forwarding should do the trick. Try running this from you client.
ssh -f -N -L 6379:<your redis node endpoint>:6379 <your EC2 node that you use to connect to redis>
之后,您的委托人
redis-cli -h 127.0.0.1 -p 6379
请注意,停泊港为63
而不是6739
。 并且确保你允许你使用的EC2代号安全小组与你重新接触到你的安全小组。
另外,美国妇女论坛现在支持更多地在以下网址查阅你的分组:rel=“nofollow noreferer”>here。
<>Update 04/13/2024:
如今,许多民间人士正在Kubernetes上台。 在Kubernetes获得EgalCache Redis服务的民俗情况非常典型。
因此,利用,可以这样做。
Follow 安装指示。 然后见
For example: 之后,来自你的客户:kubectl ssh-jump sshjump
-i ~/.ssh/id_rsa_k8s -p ~/.ssh/id_rsa_k8s.pub
-a "-L 6379:<your redis node endpoint>:6379"
redis-cli -h 127.0.0.1 -p 6379
www.un.org/spanish/ecosoc 这些答复已过时。
You can access elastic-cache outside of AWS by following these steps:
详细描述见《指南》:
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/accessing-elgalache.html#access- from-outside-aws
并非老问题,我自己也处理同样的问题,并解决了这个问题:
有时,出于发展原因,你需要从外部进入(避免仅仅为了简单装饰而进行多部署?)
亚马孙出版了一部新指南,将欧盟2号指南作为外部世界的轴心:
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/accessing-elgalache.html#access- from-outside-aws
亲爱!
BTW 如果任何人想要一个窗口EC2解决方案,则在监督事务司的迅速尝试(关于上述窗口EC2机器):
C:UsersAdministrator>netsh界面Portproxy Addv4tov4 听力=6379 链接=6379 链接地址=xxxxxxxxx ng.0001.use1.cache.amazonaws.com
C.UsersAdministrator>netsh 界面港口镜显示所有
Listen on ipv4:Link to ipv4:
港口地址
10.xxx.128.xxx 6379 xxxxxxxxxxxxxxxx.ng.0001.use1.cache.amazonaws.com 6379
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的失败。
这是一项坚实的文字,将为你们做一切 d。 测试并核实了它的工作。
How to use Usage: uzys-elasticache-tunnel [options] [command]
Commands:
start [filename] start tunneling with configuration file (default: config.json)
stop stop tunneling
status show tunneling status
备选办法:
-h, --help output usage information
-V, --version output the version number
Usage Example
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
我用这个麻木舟解决问题,它说,你不得不在另一只ec子机器中安装 st。
https://aws.amazon.com/premiumsupport/knowledge-center/elasticache-connect-redis-node/
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 can I deploy a Django project that uses MongoDB to AWS? I have a project made using Django and have been using MongoDB and its Compass app and was wondering if you could deploy said project and ...
I ve looked through the documentation, I ve tried downloading various example code, and I ve tried hacking various permutations. After a full day s worth of work, I m spent, and throwing in the towel. ...
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: ...
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 ...
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 ...
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) ...
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 ...