-
Notifications
You must be signed in to change notification settings - Fork 391
Closed
Description
Preconditions
I had previously set up SSM connection through a bastion instance, and I am able to connect with redis-cli
Steps to reproduce
- Create a Redis cluster (cluster-mode enabled) on AWS
- Allow bastion host access on cluster security group over port 6379
- Retrieve cluster configuration endpoint from AWS console
- Start SSM session with
aws ssm start-session --target $bastion_instance_id --profile $profile \
--document-name AWS-StartPortForwardingSessionToRemoteHost \
--parameters host="$cluster_endpoint",portNumber="6379",localPortNumber="6370"
- Create a new database connection on Redis Insight, using host 127.0.0.1, port 6370
Actual behavior
I see a "Could not connect to 127.0.0.1:6370, please check the connection details." error message
Expected behavior
Connection should be successful
Additional context
OS: Ubuntu 22
Redis server: AWS Elasticache Redis 7.1
Redis Insight: v2.48
Redis CLI: v6.0.16
pdeveltere, shmokmt and ashwin-vaswani-ch
Metadata
Metadata
Assignees
Labels
No labels