spring-boot连接elasticache redis

0

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

profile picture
전문가
질문됨 한 달 전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
전문가
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인