Connecting programmatically to Amazon Keyspaces - Amazon Keyspaces (for Apache Cassandra)

Connecting programmatically to Amazon Keyspaces

This topic outlines the steps required to connect to Amazon Keyspaces programmatically. It guides you through creating service-specific credentials and lists the available AWS service endpoints. The last section shows how to connect to Amazon Keyspaces using cqlsh. For step-by-step tutorials to connect to Amazon Keyspaces using different Apache Cassandra drivers, see Using a Cassandra client driver to access Amazon Keyspaces programmatically.

Note

To help you get started, you can find end-to-end code samples of connecting to Amazon Keyspaces by using various Cassandra client drivers in the Amazon Keyspaces code example repository on GitHub.

Amazon Keyspaces supports drivers and clients that are compatible with Apache Cassandra 3.11.2. It assumes that you have already completed the AWS setup instructions in Accessing Amazon Keyspaces (for Apache Cassandra).

If you already have an AWS account, see the following topics to learn how to access Amazon Keyspaces using cqlsh programmatically: