private vpc에 elasticache가 있고, bastion host를 경유해서 접속해야 하는 상황이다.
Port forwarding is not specified for <ip:port>. The hosts and ports of all nodes must be specified in the URL to create the necessary SSH tunnels: host1:port1,host2:port2,.
다음과 같이 에러에서 표시된 ip, port를 쉼표로 연결해주면 된다.
jdbc:redis:cluster://<AWS 엘라스틱 캐시 구성 엔드 포인트>,<ip:port>/<dbname>
If SSH tunneling is required for the connection to the cluster, indicate the hosts and ports of all nodes of the cluster: jdbc:redis:cluster://<host_address_01>:<port_number_01>,<host_address_02>:<port_number_02>,<host_address_03>:<port_number_03>/<database_name>.
https://www.jetbrains.com/help/idea/redis.html#connect-to-redis-database