Unable to connect to AWS Keyspace from a local Kubernetes Pod

0

Hi, I have setup a local Kubernetes cluster and want to connect to AWS Keyspaces through the Kubernetes pod. When I tried to connect to AWS Keyspaces from the baremetal server using cqlsh-expansion the connection went through but if I tried the same from inside the Kubernetes pod the connection times out. What could be the potential problem?

asked 9 months ago396 views
1 Answer
0

Hello,

There can be any network issue or any permission issue which could be causing issue, you can check the networking configuration for your setup and see how it is connecting to keyspace and see if there any blockage between this connection.

Check if port 9142 is allowed from pod to keyspace and vice versa, check any policies attached to pod and see if it having all the required permissions and not having any blocking permissions as per[1]. If there any endpoints or vpn connection is there check if it allows the required traffic.

You can also check this document Troubleshooting connections in Amazon Keyspaces[2] to see if you find anything useful according to the error you are facing.

References: [1] https://docs.aws.amazon.com/keyspaces/latest/devguide/programmatic.endpoints.html
[2] https://docs.aws.amazon.com/keyspaces/latest/devguide/troubleshooting.connecting.html#troubleshooting.connection.vpce [3] https://docs.aws.amazon.com/keyspaces/latest/devguide/vpc-endpoints-tutorial.permissions.html

AWS
sanju_s
answered 9 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