spring-boot连接elasticache redis

0

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

profile picture
EXPERT
asked 7 months ago77 views
1 Answer
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
EXPERT
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions