Skip to main content

Amazon Keyspaces

General

Open all

Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra–compatible database service. With Keyspaces, you can run your Cassandra workloads on AWS by using the same Cassandra Query Language (CQL) code, Apache 2.0–licensed drivers, and tools that you use today. Keyspaces uses a modified version of Apache Cassandra. We have modified the Apache Cassandra code to allow us to run it as a managed, serverless offering. You don’t have to provision, patch, or manage servers, and you don’t have to install, maintain, or operate software. Tables can scale up and down automatically, and you pay for only the resources you use.

Keyspaces is compatible with the CQL API and supports all the most commonly used Cassandra data-plane operations, such as creating keyspaces and tables, reading data, and writing data. Amazon Keyspaces is serverless so you don’t have to provision, patch, or manage servers, and you don’t have to install, maintain, or operate software. With Keyspaces, there are no compaction strategies, tombstones, or garbage-collection settings to manage. Keyspaces gives you single-digit-millisecond performance. All writes in Keyspaces are replicated three times across multiple AWS Availability Zones for durability and availability.

Getting started

Open all

To get started with Keyspaces, create a keyspace and table by using either the AWS Management Console or an Apache 2.0–licensed Cassandra driver.

No, Keyspaces works with existing Apache 2.0–licensed Cassandra drivers.

You can use your existing Apache 2.0–licensed Cassandra drivers and developer tools with Keyspaces. For more information, see Amazon Keyspaces Developer Guide.

Planning

Open all

Keyspaces tables can scale up and down with virtually unlimited throughput and storage. There is no limit on the size of a table or the number of rows you can store in a table. For more information, see “Quotas” in the Amazon Keyspaces Developer Guide.

Keyspaces offers consistent single-digit-millisecond, server-side read and write performance, while also providing high availability and data durability.

Keyspaces offers both on-demand and provisioned capacity modes. With on-demand capacity mode, you pay for only the reads and writes that your application actually performs. Provisioned capacity mode helps you optimize the price of throughput if you have predictable application traffic and can forecast capacity requirements in advance. Additionally, Keyspaces charges for data storage and standard internet data transfer fees. For more information, see Amazon Keyspaces pricing.