Skip to main content

Lab: Amazon Keyspaces

Setup

We will learn how to setup a production ready Cassandra database on cloud using Amazon Keyspaces.

Go to https://us-east-1.console.aws.amazon.com/keyspaces/home?region=us-east-1#dashboard and follow the getting started guide to create a new keyspace, a new table inside that keyspace, insert a record inside the table and run query to retrieve the results.

Notebook

nbviewer

Connect via Python/CQLSH client

Follow this for Python - https://docs.aws.amazon.com/keyspaces/latest/devguide/using_python_driver.html

Follow this for CQLSH - https://docs.aws.amazon.com/keyspaces/latest/devguide/programmatic.cqlsh.html

Note: No need to follow all the steps but minimal as per your system configuration.

Loading data into Amazon Keyspaces using cqlsh

Follow this - https://docs.aws.amazon.com/keyspaces/latest/devguide/bulk-upload.html

Using NoSQL Workbench with Amazon Keyspaces

Follow this - https://docs.aws.amazon.com/keyspaces/latest/devguide/workbench.html