Read and write throughput – Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD

Amazon Keyspaces offers two throughput capacity modes for reads and writes: on-demand and provisioned. You can choose your table’s throughput capacity mode to optimize the price of reads and writes based on the predictability and variability of your workload. You also can change the capacity mode of a table once per day as you learn more about the nature of your workload, or if you anticipate having a large burst in traffic, such as from a one-time or seasonal event.

On-demand capacity mode

With on-demand capacity mode, you pay for only the reads and writes that your application actually performs. You do not need to specify in advance how many reads and writes you expect your application to perform. Amazon Keyspaces accommodates workloads instantly as they ramp up or down, making it a good option for applications with unpredictable traffic.

Provisioned capacity mode

Provisioned capacity mode helps you optimize the price of throughput if you have predictable application traffic and can forecast capacity requirements in advance. With provisioned capacity mode, you specify the number of reads and writes per second that you expect your application to perform. You can increase and decrease the provisioned capacity for your table automatically in response to actual application traffic by enabling auto scaling.

Read and write consistency

Amazon Keyspaces stores data durably across multiple Amazon Web Services Availability Zones using a replication factor of three for high availability.

You can execute reads using either LOCAL_ONE or LOCAL_QUORUM consistency. LOCAL_ONE consistency optimizes for performance and availability by returning the first returned value from any storage replica. LOCAL_QUORUM consistency optimizes for data correctness by requiring at least two storage replicas to return a value before it is returned to your application.

All writes in Amazon Keyspaces are executed with LOCAL_QUORUM consistency for durability.  

Metering and regional pricing

Metering of API calls to read and write data in Amazon Keyspaces is based on the capacity mode of the table, the consistency level of the operation, and the size of the data.

Storage - Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD

With Amazon Keyspaces, you do not need to provision storage in advance. Amazon Keyspaces monitors the billable size of your tables continuously to determine your storage charges.

Charge type Price
Storage ¥ 2.64 per GB-month 

Backup and Restore - Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD

Amazon Keyspaces offers continuous backups with point-in-time recovery (PITR) to protect your table against accidental writes or deletes. When you enable PITR, Keyspaces backs up your data automatically with per-second granularity, and you can restore your table data to any single second in the preceding 35 days. 

Continuous backups with point-in-time recovery (PITR)

Keyspaces charges for PITR based on the size of each Keyspaces table on which it is enabled. Keyspaces monitors the size of your PITR-enabled tables continuously throughout the month to determine your backup charges and continues to bill you until you disable PITR on each table.

Charge Type Price
Continuous backup with PITR      ¥ 2.112 per GB-month

Restoring a table

Restoring a table from continuous backups is charged based on the total size of data restored for each request.

Charge Type Price
Restore ¥ 1.32 per GB

Data Transfer – Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD

Data transfer IN Price
All data transfer in ¥ 0.000 per GB
Data transfer OUT
All data transfer out ¥ 0.933 per GB (promotional)

Data transfer “in” and “out” refers to transfer into and out of Amazon Keyspaces. There is no additional charge for data transferred between Amazon Keyspaces and other services within the same Amazon Web Services Region (in other words, ¥0.00 per GB).

Data transfer out rate sizes aggregate outbound data transfer across Amazon DynamoDB, Amazon EBS, Amazon EC2, Amazon Glacier, Amazon Keyspaces, Amazon RDS, Amazon S3, Amazon Storage Gateway, Amazon SNS, Amazon SQS, and Amazon VPC.

Time to Live (TTL) - Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD

Amazon Keyspaces offers Time to Live (TTL), which you can use to set expiration times for table data. Keyspaces TTL pricing is based on the number of expired rows or attributes deleted by TTL. One TTL Deletes unit is consumed per KB of deleted data per row. For example, to delete an attribute in a row that has 2.5 KB of data requires 3 TTL Deletes. If two attributes in the same row expire at the same time, one unit is consumed to delete them (assuming the row is less than 1 KB).

Charge type Price
TTL deletes ¥ 9.81533 per million TTL deletes

Amazon Web Services Free Tier - Only available in the Amazon Web Services China (Ningxia) Region, operated by NWCD

As part of the Amazon Web Services Free Tier, you can get started with Amazon Keyspaces (for Apache Cassandra) for free. If you have never used Amazon Keyspaces before, for the first three months, you are offered a monthly free tier of 30 million write request units, 30 million read request units, and 1 GB of storage per month (limit of one free tier per payer account) in the Amazon Web Services China (Ningxia) Region operated by NWCD. Your free tier starts from the first month when you create your first Amazon Keyspaces (for Apache Cassandra) resource.