Reputation: 29720
I'm in my EC2 instance in the same VPC as my DAX cluster....the cluster's SG is default (allow all) and I still can't connect
Here's an abbreviated code sample:
from amazondax import AmazonDaxClient
dax = AmazonDaxClient(
endpoint_url="mycluster.i5cagb.clustercfg.dax.use1.cache.amazonaws.com:8111"
)
After waiting a bit, I get this error:
Failed to configure cluster endpoints from
[('mycluster.i5cagb.clustercfg.dax.use1.cache.amazonaws.com', 8111)]
I tried diagnosing with nc
too:
$ nc -zv mycluster.i5cagb.clustercfg.dax.use1.cache.amazonaws.com 8111
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connection to 172.31.43.69 failed: Connection timed out.
Ncat: Trying next address...
Ncat: Connection to 172.31.58.224 failed: Connection timed out.
Ncat: Trying next address...
Ncat: Connection timed out.
Upvotes: 1
Views: 991
Reputation: 29720
As @AbdelrahmanElhaddad pointed out in his comment, this ended up being a security group issue.
Upvotes: 1