Arch_Amazon Keyspaces_64 imageIcon source: AWS
CLOUD SERVICE · AWS

Amazon Keyspaces (for Apache Cassandra)

Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra-compatible database service offered by Amazon Web Services for running Cassandra workloads on AWS without needing to manage the underlying infrastructure.

Cloud Services Hub →

What is Amazon Keyspaces (for Apache Cassandra)

Read the extensive description

Amazon Keyspaces is a scalable, fully managed, and serverless Apache Cassandra-compatible database service offered by Amazon Web Services (AWS). This service is designed for developers who require the performance, scalability, and wide-column store features of Apache Cassandra, along with the operational benefits of a fully managed service. 

 

With Amazon Keyspaces, developers can run their Cassandra workloads on AWS using the same Cassandra application code and developer tools that they are accustomed to, but without the need to provision, configure, or manage the underlying infrastructure. 

 

Amazon Keyspaces is built to offer high availability and durability. It replicates data across multiple AWS Availability Zones in a region, providing a well-architected solution that automatically scales to handle large amounts of reads and writes per second. This ensures that a developer's data is available when needed and is safeguarded against outages. The service provides a consistent performance experience, irrespective of the scale of operations, making it ideal for applications that cannot afford any performance bottlenecks. 

 

A notable advantage of Amazon Keyspaces is that it eliminates the complex and time-consuming tasks of managing a Cassandra cluster. Tasks such as hardware provisioning, setup and configuration, software patching, and backups are handled by AWS. Developers can launch a Cassandra-compatible keyspace in just a few clicks and immediately start building their applications. This reduction in management overhead allows teams to focus their resources on the application innovation rather than the intricacies of infrastructure management. 

 

Moreover, Amazon Keyspaces integrates seamlessly with many AWS services and features such as AWS Identity and Access Management (IAM) for fine-grained access control, AWS CloudTrail for auditing, and Amazon CloudWatch for metrics and monitoring. This level of integration simplifies the process for developers to secure, monitor, and audit their keyspaces and underlying data. 

 

The service offers an on-demand capacity mode as well, which requires no capacity planning. This enables developers to pay only for the resources they use, further scaling up or down automatically in response to the application's actual request throughput, making Keyspaces cost-effective and eliminating the risk of over-provisioning. 

 

In summary, Amazon Keyspaces brings Apache Cassandra's wide-column store and powerful capabilities into the AWS Cloud as a fully managed service, thereby extending its accessibility and viability for contemporary cloud-based applications. It empowers organizations to leverage Cassandra's NoSQL database features without the overhead of managing infrastructure so they can concentrate on creating applications that scale flexibly, perform consistently, and integrate effortlessly with other AWS services.

Key Amazon Keyspaces (for Apache Cassandra) Features

Amazon Keyspaces (for Apache Cassandra) is a scalable, serverless, and fully managed Cassandra-compatible database service that handles automatic scaling, integrates fully with AWS services, and ensures security with encryption at rest and in-transit.

Serverless

Amazon Keyspaces operates in a serverless environment, allowing you to scale your database capacity automatically and pay only for the resources you use.

Cassandra-compatible

It provides a Cassandra-compatible querying layer, so you can use the same Cassandra application code, Apache 2.0 licensed drivers, and tools with Amazon Keyspaces.

Elastically Scalable Throughput

You can scale read and write throughput up or down without downtime or performance degradation, ensuring that your application remains highly available and responsive.

Managed Service

As a fully managed service, Amazon Keyspaces handles time-consuming tasks such as provisioning, patching, and backups, freeing you up to focus on building applications.

Fully Integrated with AWS Services

It is fully integrated with other AWS services, providing you with a comprehensive and secure managed database service environment.

Automatic and Continuous Backups

Amazon Keyspaces provides automatic and continuous backups with point-in-time recovery options to protect against accidental deletions, application errors, and failures.

Encryption at Rest and In-Transit

Data is secured with encryption at rest using AWS Key Management Service (KMS) and encryption in-transit with TLS, ensuring data is protected both on disk and over the network.

Amazon Keyspaces (for Apache Cassandra) Use Cases

Amazon Keyspaces is used for managing time-series data, personalizing content with recommendation engines, managing inventory in real-time, updating gaming leaderboards, processing event logs, and handling user session data efficiently at scale.

Time-Series Data Management

Amazon Keyspaces is ideal for handling large volumes of time-series data such as IoT sensor data, application metrics, and telemetry data. It can efficiently store, scale and retrieve time-stamped data that is written in high velocity, making it perfect for real-time analytics.

Personalization and Recommendation Engines

Leveraging Amazon Keyspaces allows for the quick retrieval of user preferences and interactions to deliver personalized content and recommendations in applications. Its scalable nature helps in managing the dynamic user data and provides low-latency access to data ensuring a tailored user experience.

Inventory Management

Retailers and e-commerce platforms can take advantage of Amazon Keyspaces to manage inventory levels across multiple locations. The service allows real-time tracking of stock, facilitating a responsive supply chain and optimizing stock levels according to demand patterns.

Gaming Leaderboards

For gaming platforms, Amazon Keyspaces can store and update real-time leaderboards, handling high volumes of write and read requests as gamers post new scores. It ensures consistent, low-latency performance which is crucial for a competitive gaming experience.

Event Log Processing

Organizations can use Amazon Keyspaces to capture, store, and analyze event logs from various applications or services. It offers easy scalability to accommodate spikes in event data and allows for the quick query and analysis of logs for monitoring or troubleshooting purposes.

Session Management

Amazon Keyspaces is well-suited for session management in web and mobile applications, as it can handle large volumes of concurrent sessions with ease. Its fast read and write capabilities ensure a smooth user experience by quickly saving and retrieving session data.

Amazon Keyspaces (for Apache Cassandra) pricing models

Amazon Keyspaces (for Apache Cassandra) offers On-Demand and Provisioned Capacity pricing for read/write throughput, charges for data storage per GB-month, and fees for data transfer out of region or to the internet.

Data Storage

Amazon Keyspaces charges for the storage space your data consumes in the AWS cloud, with a price per GB-month. This includes table data and indexes.

Data Transfer

Data transfer in Amazon Keyspaces incurs costs when data is transferred out to the internet or to other AWS regions. Transferring data in from the internet or within the same AWS region is typically free.

On-Demand Capacity Mode

With the On-Demand capacity mode for Amazon Keyspaces, you pay for the read and write throughput that you consume, measured in read/write capacity units. There are no upfront commitments, and you can scale throughput up or down automatically in response to application traffic.

Provisioned Capacity Mode

The Provisioned Capacity mode allows you to specify the number of reads and writes per second that you expect your application to require. You pay for the provisioned capacity by the hour, regardless of the amount of data read or written, which can offer cost savings for predictable workloads.