Amazon Keyspaces (for Apache Cassandra) Documentation

Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra–compatible database service. With Amazon Keyspaces, you can run your Cassandra workloads on AWS by using the same Cassandra application code and developer tools that you use today. You don’t have to provision, patch, or manage servers, and you don’t have to install, maintain, or operate software. Amazon Keyspaces is serverless, so you pay for only the resources you use and the service can scale tables up and down in response to application traffic. 

Compatible with Apache Cassandra

Compatible with Cassandra Query Language (CQL)

Amazon Keyspaces is compatible with the open-source Cassandra CQL API, so you can migrate your existing Cassandra tables to Amazon Keyspaces while continuing to use your existing application code.  

Support for existing Apache Cassandra 2.0–licensed drivers and developer tools

You can use existing Apache Cassandra 2.0–licensed drivers and developer tools with Amazon Keyspaces. Open-source Cassandra drivers are available for Java, Python, Ruby, .NET, Node.js, PHP, C++, and Perl.

No servers to manage

On-demand capacity mode

With on-demand capacity mode, you do not have to overprovision throughput for unexpected peak workloads. Capacity is managed and you pay for only the resources you use. 

Provisioned capacity mode

Provisioned capacity mode can help you optimize your workloads if you have predictable application traffic by enabling you to specify the number of reads and writes per second in advance that you expect your application to perform. You can use auto-scaling to adjust your table’s capacity in response to changes in application traffic to maintain performance without overprovisioning capacity. 

Fully managed Time to Live (TTL)

With Time to Live (TTL), you can set expiration times on rows and attributes in your Keyspaces tables, and automatically delete the records after they expire.

Performance at scale

Consistent performance

Amazon Keyspaces provides consistent read and write performance at scale, so you can build applications with low latency to provide a smooth user experience.

Elastic scaling with high throughput

Amazon Keyspaces tables scale in response to actual application traffic, with high throughput and storage. 

Performance monitoring

Amazon Keyspaces is integrated with Amazon CloudWatch. CloudWatch is designed to collect and process data from Amazon Keyspaces into readable metrics, providing you with visibility into how your application is performing.

Availability and security

Managed and available data storage

Amazon Keyspaces is designed to provide managed and available data storage. Your table data is replicated three times across multiple AWS Availability Zones for durability.

Point-in-time recovery

Point-in-time recovery (PITR) can help protect your Amazon Keyspaces tables from accidental write or delete operations. PITR is designed to continuously backup your Amazon Keyspaces table data. You can enable PITR or initiate backup-and-restore operations through the AWS Management Console or with an API call.  

Encryption at rest and in transit

Amazon Keyspaces enables you to encrypt customer data at rest by default. Encryption at rest can enhance the security of your data by using encryption keys stored in AWS Key Management Service. You can choose to encrypt your data at rest with an AWS owned customer master key (default) or with a customer managed customer master key, giving you control over how your data is encrypted.

Access management

Amazon Keyspaces is integrated with AWS Identity and Access Management to help you manage access to your tables and data.

Support for secure network connectivity

Amazon Keyspaces supports secure networking by using TLS. You can use AWS PrivateLink to provide connectivity between your resources in Amazon Keyspaces and Amazon Virtual Private Cloud (Amazon VPC).

Additional Information

For additional information about service controls, security features and functionalities, including, as applicable, information about storing, retrieving, modifying, restricting, and deleting data, please see https://docs.aws.amazon.com/index.html. This additional information does not form part of the Documentation for purposes of the AWS Customer Agreement available at http://aws.amazon.com/agreement, or other agreement between you and AWS governing your use of AWS’s services.