Spinning Up a Database

DSE Version: 6.7

Intro

Exercises

Slides

Resources

Building an Apache Cassandra™ based application? Step one - spin up a database. That used to be an uber ops-headache, but DataStax Apache Cassandratm as a Service (CaaS) makes it quick and painless. This unit shows you how.

CaaS lets you easily and quickly spin up an Apache Cassandra™ database without all the headaches and complexity of building your own database from scratch. This learning unit walks you through the steps to create a database quickly, so you can get on to developing your app.

Use the exercise as a tutorial - it walks you through how to create a database using CaaS. To see how easy it is, click on the Exercises tab.

No write up.

Exercise: Create an Apache Cassandra™ Database

In this exercise, you will:

  • Familiarize yourself with DataStax Apache Cassandratm as a Service (CaaS) for creating an Apache Cassandra™ database

  • Create a Cassandra database

  • Verify the status of your database

Without CaaS, launching a secure Apache Cassandra database can be a daunting task. There is a myriad of decisions to make about various settings and configuration options. While most of these configuration settings have defaults, it is difficult to know which defaults to use and which ones to change.

But things are different thanks to CaaS. This service streamlines the process down to a handful of simple configuration parameters that are easy to understand and set. This exercise shows you just how easy this is.

Steps

1) Use your credentials to log in to DataStax Apache Cassandratm as a Service (CaaS). Go to http://bootcamp.datastax.com. Fill out the Log In dialog with your credentials, and click the Log In button. For bootcamp, your password is your email and is case-sensitive.

2) Verify cloud vendor. Note that AWS is currently selected.

3) Select the region. You see that you can select different regions. For bootcamp use US East.

4) Fill in the database name - killrvideocluster. While CaaS allows you to fill in these fields with values of your own choosing, please follow our reccomendations to make the rest of the exercises easier to follow. If you don't, you are on your own! :)

5) Fill in the keyspace name - killrvideo.

6) Fill in the Database User name - KVUser. Note the user name is case-sensitive. Please use the case we suggest here.

7) Fill in the password - KVPassword. Fill in both the password and the confirmation fields. Note that the password is also case-sensitive. Please use the case we suggest here.

8) Review the information on the right side of the window. You may have noticed, on the right side of the window, several helpful notes. Let’s review these notes.

Use the Compute SIze section to choose the machine size that hosts your database. For our bootcamp, we will leave this as set.

The Capacity section helps you understand how much storage your database has. For a production system, you will be able to increase this as required.

The Estimated Cost section gives you an idea of how much you will pay to run the database.

9) Launch the database. Review all the fields to make sure they are as shown, and click the Launch Database button.

10) View your database. It may take 10-20 minutes for your database to spin up. You will receive an email at that point. But, go ahead and continue with the rest of the exercise now.

11) Lets review the database you have configured. In the box on the left side of the window, you can see the database and keyspace name metadata. The middle box describes the size and location of your database. The right box shows your estimated cost. Notice the spinning circle at the top-right indicating your database is spinning up.

Woohooo!!! You have your very own full Cassandra database spinning-up! Proudly turn on your lightsaber to let your friendly neighbors know you beat them. This isn't a race, but let's see if you finished first.

END OF EXERCISE

No FAQs.

Creating a Cassandra database: quickly create the Cassandra database where you'll build your application.

Comments are closed.