Amazon Keyspaces (for Apache Cassandra) is a serverless, Cassandra-compatible wide-column database: same CQL code and drivers, no clusters to run.
Serverless Cassandra tables
Amazon Keyspaces is the managed home for Cassandra workloads: the same CQL, drivers and tools, with AWS handling servers, scaling and replication.
How it works
- Create a keyspace and tables with CQL or the console.
- Pick on-demand or provisioned capacity per table.
- Point existing Cassandra drivers at the Keyspaces endpoint.
- Keyspaces keeps three copies across AZs and scales with traffic.
Exam cues
- If the question says Apache Cassandra or CQL and managed or serverless, think Amazon Keyspaces.
- If the question says wide-column NoSQL with existing Cassandra code, think Keyspaces, not DynamoDB.
Remember
- Cassandra-compatible, serverless, CQL.
- On-demand or provisioned capacity; switch once per day.
- Three copies across AZs.
Trap: DynamoDB and Keyspaces are both serverless NoSQL. Only Keyspaces runs existing Cassandra code unchanged.
From the AWS docs (6)
- Amazon Keyspaces is a scalable, highly available, managed database service compatible with Apache Cassandra, with no servers to provision, patch or manage.
- Existing Cassandra workloads run on Amazon Keyspaces with the same Cassandra application code and developer tools.
- Amazon Keyspaces is serverless; you pay for the resources you use and tables scale up and down with traffic.
- Amazon Keyspaces tables use on-demand capacity (pay per read and write, no planning) or provisioned capacity (set reads and writes per second for predictable traffic), and the mode can change once per day.
- Amazon Keyspaces stores three copies of your data across multiple Availability Zones.
- Applications reach Amazon Keyspaces through a service endpoint using Cassandra Query Language (CQL).
Flashcards
Nothing to review here right now. Pick other topics or another filter.
·
All 4 cards as a list
A company runs Apache Cassandra on EC2 and wants a managed, serverless database that keeps its CQL code and drivers. Which AWS service fits?
Amazon Keyspaces (for Apache Cassandra).
Which two capacity modes do Amazon Keyspaces tables offer, and when do you pick each?
- On-demand: unpredictable traffic, pay per request.
- Provisioned: predictable traffic, set reads and writes per second.
How many copies of data does Amazon Keyspaces keep, and where?
Three copies across multiple Availability Zones.
A team wants to move a Cassandra workload to Amazon DynamoDB to avoid running servers. Which AWS service would avoid rewriting the CQL data access code?
Amazon Keyspaces, which is Cassandra-compatible; DynamoDB has its own API.