spring-boot连接elasticache redis

0

请问AWS有spring-boot外网连接elasticache redis的教程吗?文档中目前只有redis-cli连接

profile picture
專家
已提問 1 個月前檢視次數 18 次
1 個回答
0

一般情况下在生产环境中elaticache要从同一个vpc中的ec2连连接访问,开发调试时可以建立vpn来从外部访问elaticache redis, https://docs.aws.amazon.com/zh_cn/AmazonElastiCache/latest/red-ug/accessing-elasticache.html#access-from-outside-aws,或者参考这篇利用ec2做端口转发https://blog.csdn.net/u010271601/article/details/107590598

profile picture
專家
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南