
Explore Apache Cassandra, a no-SQL database, and learn to set up a database with a three-bucket external storage pattern for snapshots and backups on Amazon Linux 2.
Install the Cassandra database on your server and ensure Java 8 is installed; install Java 8 if needed, configure the repository, and enable the Cassandra service to start.
Review the Cassandra.yaml configuration file for a Cassandra cluster, explore its parameters, and learn how to adjust authentication, authorization, data folders, and node IP settings for a secure, private deployment.
Start Cassandra, check status with nodetool, and launch the service to bring the database up. Learn keyspaces and tables, and assign roles to isolate data across spaces.
Access the Cassandra system.log to troubleshoot startup and node connection issues. Learn where logs live by default or when overridden in Cassandra.yaml, and how to diagnose root causes.
Connect to cassandra database using cqlsh, connect to the local cluster at 127.0.0.1, observe that five keyspaces exist and can be described.
Execute Cassandra queries remotely via cqlsh without direct database access, demonstrating remote command execution for task automation with tools like Ansible.
Create a Cassandra keyspace via the terminal, describe and verify the keyspace, and learn the implications of dropping a keyspace without confirmation.
Create and define a new table in Cassandra, specifying the table name, key space, and columns such as user id, title, timestamp, content, and category, then insert a row.
Learn to select data from Cassandra v3 NoSQL tables, query all records or by user id, view results, insert additional data, and count rows to gauge table size.
Enable password authentication for Apache Cassandra v3 by configuring the authenticator to password, creating users with admin privileges, restarting the service, and logging in with credentials to protect data.
Create a Cassandra role and users, explore the role command with multiple options, and grant super user privileges and permissions for these users.
Assign permissions to a user in Apache Cassandra by using grant commands on a keyspace, granting create, alter, modify, and select access.
Learn how to alter a Cassandra user's role, grant login rights, and manage passwords, including switching to a super user to control permissions and address security concerns.
Back up Cassandra v3 NoSQL data with snapshots by specifying a keyspace and snapshot name, then use the Python Cassandra Scilly Tool to securely store and restore from AWS S3.
Explore the python-cassandra-cli tool for Cassandra backups, install with python3, and use snapshot store and restore commands to an S3 bucket, with environment and secret management.
Create and review an aws s3 bucket, take the first cassandra snapshot with python-cassandra-cli, and store it in a three-bucket setup for cassandra backup and restore.
Copy a data snapshot from an S3 bucket to a Cassandra server using a Python tool, showing how to copy the snapshot folder and its files.
Restore a Cassandra v3 NoSQL keyspace from an AWS S3 bucket, after truncating tables, using a single restore command tied to the snapshot environment.
Learn to restore a single Cassandra table from an AWS S3 snapshot by using the restore table command with keyspace and snapshot folder parameters, verify data, and consider scheduled backups.
Explore Cassandra maintenance with nodetool commands to join or remove nodes, inspect hosts, and load snapshots for restoring data, describing tables and backup workflows.
Discover the new store backup keyspace feature in Cassandra CLI 1.4.0, snapshotting a keyspace to AWS S3 with pure Python and restoring from the bucket, without on-server tools.
Discover how to build and execute a commission framework using JavaScript with driver Ijaw and the Jessamine framework, through two hands-on tutorials, including free content for beginners.
This course is designed for Software and DevOps Engineer that want to understand Apache Cassandra NoSQL Data Base. Course includes material such as: DB setup, DB Security configuration, Modeling and inserting data, Data backup on external storage AWS S3 bucket with python-cassandra-cli. Include AWS S3 bucket creation. Overview Apache Cassandra Documentation. Overview python-cassandra-cli, nodetool tools. Apache Cassandra Administration. Apache Cassandra Installation. Data manipulations: INSERT, TRUNCATE, SELECT. Keyspace: CREATE, DROP. Security roles: CREATE, ALTER, LIST.
Cassandra:
Some of the largest production deployments include Apple's, with over 75,000 nodes storing over 10 PB of data, Netflix (2,500 nodes, 420 TB, over 1 trillion requests per day), Chinese search engine Easou (270 nodes, 300 TB, over 800 million requests per day), and eBay (over 100 nodes, 250 TB).
Data is automatically replicated to multiple nodes for fault-tolerance. Replication across multiple data centers is supported. Failed nodes can be replaced with no downtime.
Cassandra is in use at Activision, Apple, BazaarVoice, Best Buy, CERN, Constant Contact, Comcast, eBay, Fidelity, Github, Hulu, ING, Instagram, Intuit, Macy's™, Macquarie Bank, Microsoft, McDonalds, Netflix, New York Times, Outbrain, Pearson Education, Sky, Spotify, Uber, Walmart, and thousands of other companies that have large, active data sets. In fact, Cassandra is used by 40% of the Fortune 100.