A lab walkthrough, starting a cluster, and performing some basic queries. See how ScyllaDB works in action.
Great.. So with that,
I talked for quite a bit and showed you some slides.
I want to show you a Quick Wins – Hands on lab.
So let me change to the lab
and the platform that I’m going to be using
is called “Kllrcoda”.
I’m going to share this lab with you.
As I’ve said after the event, you’ll get a link to the course
that has all this material.
And I want to show you a lab that is very basic,
it’s just starting one node and performing some queries.
So before I started
this stalk,. I clicked on this command,
maybe a few words about Kllrcoda it allows us to run
a virtual machine directly from the browser.
So it’s very useful for running labs.
It doesn’t matter
you’re using, your operating system,
it doesn’t have any prerequisites
because it runs directly from the browser.
So before I started this talk,. I clicked on this command,
which basically starts. Scylla node with Docker.
I specified the ScyllaDB version. I want to use.
And what that did is you can see it here.
It downloaded some files because this VM didn’t have
Scylla, it downloaded the files, and then I ran this command,
which is called “nodetool status” and let me run it again.
And what that does is, like it sounds checks
the status of our cluster and we can see that we have
one node in our cluster, we can see the IP
and we can see that the status of the node is “UN”,
which means up and running.
Now I’m going to connect to my node with the CQL shell
and I know I’m mentioning some terms that
might be new to you.
I’m going to cover them in just a bit.
So I connect to my node with a CQL shell
and now I have Shell opened to the node
and moving forward
now I can run some basic commands,
so I create the keyspace,
call it “mykeyspace”, and using that keyspace,
I create a table with call it “users”.
It has just three columns: user id, first name and last name.
Once I have my table created,
I’m going to insert two rows
into the newly created table and just select those rows.
So I inserted some data and I read that data
and I can see that’s there.
Okay, so that was very simple.
I just wanted to show you how quick and easy
it is to get up and running with ScyllaDB.