Amazon Keyspaces Specialized2019年〜
A fully managed wide-column database compatible with Apache Cassandra
What It Does
Amazon Keyspaces (for Apache Cassandra) is a fully managed database service with a Cassandra-compatible API. You read and write data using Cassandra Query Language (CQL), with no need to manage servers or operate clusters. It offers two capacity modes: on-demand and provisioned.
Use Cases
Used for migrating existing Cassandra workloads to the cloud, storing time-series data from IoT devices, managing large-scale industrial data, and as a backend for applications requiring high throughput.
Everyday Analogy
Think of it like a massive spreadsheet. Data is organized by rows (partition keys) and columns, and you can efficiently read and write only the columns you need. Sheet management (server operations) is handled automatically.
What Is Keyspaces?
Amazon Keyspaces is a serverless database compatible with Apache Cassandra. You can use existing Cassandra drivers and tools as-is, creating tables and manipulating data with CQL. Data is automatically replicated across three Availability Zones, providing 99.999% availability.
Cassandra Compatibility
Keyspaces supports the major CQL features, but some Cassandra-specific features (lightweight transactions, certain counter operations, etc.) have limitations. When migrating existing Cassandra applications, it's important to check the compatibility matrix. Standard tools like cqlsh and DataStax drivers work out of the box. To deepen your practical knowledge of Cassandra compatibility, specialized books (Amazon) are helpful.
Getting Started
Select 'Create keyspace' in the Keyspaces console and create tables using the CQL editor. Connect with cqlsh or a Cassandra driver and start reading and writing data. Choose on-demand mode to get started without pre-configuring capacity.
Things to Watch Out For
- Not all Cassandra features are compatible, so check the compatibility matrix before migration
- For new projects without Cassandra experience, DynamoDB is simpler and offers richer AWS integration