Difficulty: Intermediate
Estimated Time: 10-15 minutes

One of the easiest ways to get started with Apache Cassandra™ is using Astra

In this scenario, we'll learn how to:

  • Create an Astra database
  • Create a container for cqlsh that connects to Astra
  • Create a table in Astra
  • Insert and query data

Astra is a great Cassandra as a Service offering and Docker containers are really slick, so this is going to be fun! Let's get started!

ver 0.007

In this scenario, we learned How to:

  • Create an Astra database
  • Create a container for cqlsh that connects to Astra
  • Create a table in Astra
  • Insert and query data

Having completed this scenario successfully, you know how to get a quick start Docker and Apache Cassandra™.

Connect to Astra with CQL Shell Using Docker

Step 1 of 5

Create your Astra Database

If you don't have an Astra account, set one up - it's easy.

Go to the Astra page in your browser astra.datastax.com.

Let's create the database. On the Astra page, follow the steps outlined here. To make life easy, we have recommended the values you should use for this scenario in Italics.

Database Creation Instructions

On this dialog, click View Database.

Launching Database Dialog

When you see the active status on this page, your database is ready to go.

Active Status


Congratulations! You have an active Cassandra database!