Creating an Amazon Keyspaces Keyspace (Apache Cassandra compatible DB in AWS)
Part of a series on Apache Cassandra and Amazon Keyspaces on AWS
Apache Cassandra is the wide-column, NoSQL database of choice for most … people? Well, let’s call it the industry standard. And the way Amazon Web Services has integrated Cassandra into it’s infrastructure is by creating Amazon Keyspaces, a cloud database service that is fully compatible with Apache Cassandra.
Creating a Keyspace and tables from the console
Search for Amazon Keyspaces in the AWS console search bar:
In the side panel of the console, open the keyspaces tab.
Create a keyspace using either of the create keyspace buttons.
Name and create your keyspace.
Creating a Keyspace table from the CQL Editor
Go to the CQL editor on the navbar.
In the editor enter the following CQL script and press run command:
Creating a Keyspace using the AWS CloudShell
Access CloudShell from the icon in the navigation bar:
Run the following command in the shell:
aws keyspaces create-keyspace --keyspace-name 'blog_keyspace_3'
Conclusion
If you found that … underwhelming, well, I apologize. I am at the beginning of my personal learning journey with Keyspaces as well and I thought that we should start simple. But, don’t worry, there will be juicier, crunchier content on Cassandra and Keyspaces in the coming days. Until then, I hope I’ve managed to help you with a thing or two.