1. 程式人生 > >Amazon Kinesis Data Streams Pricing

Amazon Kinesis Data Streams Pricing

Let’s assume that our data producers put 100 records per second in aggregate, and each record is 35KB. In this case, the total data input rate is 3.4MB/sec (100 records/sec*35KB/record). For simplicity, we assume that the throughput and data size of each record are stable and constant throughout the day. Please note that we can dynamically adjust the throughput of our Amazon Kinesis stream at any time.

We first calculate the number of shards needed for our stream to achieve the required throughput. As one shard provides a capacity of 1MB/sec data input and supports 1000 records/sec, four shards provide a capacity of 4MB/sec data input and support 4000 records/sec. So a stream with four shards satisfies our required throughput of 3.4MB/sec at 100 records/sec.

We then calculate our monthly Kinesis Data Streams costs using Kinesis Data Streams pricing in the US-East Region:

  • Shard Hour: One shard costs $0.015 per hour, or $0.36 per day ($0.015*24). Our stream has four shards so that it costs $1.44 per day ($0.36*4). For a month with 31 days, our monthly Shard Hour cost is $44.64 ($1.44*31).
  • PUT Payload Unit (25KB): As our record is 35KB, each record contains two PUT Payload Units. Our data producers put 100 records or 200 PUT Payload Units per second in aggregate. That is 267,840,000 records or 535,680,000 PUT Payload Units per month. As one million PUT Payload Units cost $0.014, our monthly PUT Payload Units cost is $7.499 ($0.014*535.68).

Optionally, we can choose to increase the data retention period of our stream from 24 hours to up to 7 days. In this example, we assume that our data stream has extended data retention enabled throughout the whole month. Alternatively, we can choose to enable extended data retention only during occasions when extended data retention is critical for preventing data loss, which saves our cost on extended data retention.

  • Extended Data Retention (up to 7 days): Extended data retention costs an extra $0.020 per shard hour. As our stream incurs 2,976 shard hours per month (4 shards*24 hours/day*31 days/month), our monthly Extended Data Retention cost is $59.52 ($0.020*2,976)

Adding the Shard Hour and PUT Payload Unit costs together, our total Amazon Kinesis Data Streams costs are $1.68 per day, or $52.14 per month. For $1.68 per day, we have a fully-managed streaming data infrastructure that enables us to continuously ingest 4MB of data per second, or 337GB of data per day in a reliable and elastic manner. Additionally, we can increase our Amazon Kinesis data stream retention period from 24 hours to up to 7 days for an extra $59.52 per month.

  • Enhanced fan-out consumer-shard hours: Enhanced fan-out costs an extra $0.015 per shard, and this cost is additive per data consumer. As our stream incurs 2,976 shard hours per month (4 shards*24 hours/day*31 days/month), each consumer using enhanced fan-out throughout this period will incur a cost of $44.64 (2,976 x $0.015). Two consumers over the same period would incur a cost of $89.28.
  • Enhanced fan-out data retrievals: Data retrieved from a stream by a consumer using enhanced fan-out incurs a charge of $0.013 per GB. If over a month, a two shard stream ingested 50,000 MB of data and 2 data consumers used enhanced fan-out and retrieved all of this data during the month, 100,000 MB (50,000 MB x 2 data consumers) of data would be retrieved, or 100 GB, incurring a charge of $1.30 (100 GB x $0.013 per GB).  

相關推薦

Amazon Kinesis Data Streams Pricing

Let’s assume that our data producers put 100 records per second in aggregate, and each record is 35KB. In this case, the total data input rate is

Amazon Kinesis Data Streams Resources

This is a pre-built library that helps you easily integrate Amazon Kinesis Data Streams with other AWS services and third-party tools. Amazon Ki

Amazon Kinesis Data Streams getting started

Reducing the time to get actionable insights from data is important to all businesses and customers who employ batch data analytics tools are exp

Amazon Kinesis Data Streams FAQs

Q: What is an Amazon Kinesis Application? An Amazon Kinesis Application is a data consumer that reads and processes data from an Amazon

Building a Data Processing Pipeline with Amazon Kinesis Data Streams and Kubeless

If you’re already running Kubernetes, FaaS (Functions as a Service) platforms on Kubernetes can help you leverage your existing investment in EC2

Amazon Kinesis Data Streams News

Two years ago we introduced Amazon Kinesis, which we now call Amazon Kinesis Streams, to allow customers to build applications that collect,

Amazon Kinesis Data Streams:AWS

Amazon Kinesis Data Streams (KDS) は、大規模にスケーラブルで持続的なリアルタイムのデータストリーミングサービスです。KDS はウエブサイトクリックストリームやデータべースイベントストリームや金融取引、ソーシャルメディアフィード、ITロゴ、ロケーション追跡イベ

Amazon Kinesis Data Firehose Pricing

If you send 5,000 records of streaming data per second, each record 7KB in size, to Amazon Kinesis Data Firehose in US-East to be loaded into Amaz

Questions fréquentes (FAQ) sur Amazon Kinesis Data Streams

Q : Qu'est-ce qu'une application Amazon Kinesis ? Une application Amazon Kinesis est un consommateur de données qui lit et traite des do

Вопросы и ответы по Amazon Kinesis Data Streams

Вопрос: Что такое приложение Amazon Kinesis? Приложение Amazon Kinesis – это потребитель данных, который считывает и обрабатывает данные

Цены на Amazon Kinesis Data Streams

Предположим, что всего от источников данных поступает 100 записей в секунду, каждая запись размером 35 КБ. В этом случае общая скорость передачи в

Amazon Kinesis Data Streams 常見問題

問:什麼是 Amazon Kinesis 應用程式? 問:什麼是 Amazon Kinesis Client Library (KCL)? 適用於 Java | Python | Ruby | Node.js | .NET 的 Ama

Amazon Kinesis Data Streams 定價

讓我們假定我們的資料生產者平均每秒輸入 100 個記錄,每個記錄大小為 35KB。在這種情況下,總資料總輸入速率為 3.4MB/秒(100 個記錄/秒*35KB/記錄)。為方便起見,我們假設每次交易的吞吐量和記錄大小全天都是穩定不變的。請注意,我們可以隨時動態調整 Amazon Kinesi

Amazon Kinesis Data Firehose blog posts

Stream data into an Aurora PostgreSQL Database using AWS DMS and Amazon Kinesis Data Firehose In this blog post, we explore a solution to

Streaming CloudWatch Logs to Kinesis Data Streams

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

Amazon Kinesis Data Firehose Features

You can configure Amazon Kinesis Data Firehose to prepare your streaming data before it is loaded to data stores. Simply select an AWS Lambda fun

Amazon Kinesis Data Firehose Resources

Reducing the time to get actionable insights from data is important to all businesses and customers who employ batch data analytics tools are ex

Amazon Kinesis Data Analytics_流資料處理分析服務

Amazon Kinesis Data Analytics 是實時處理流資料的一種最簡單的方法,採用的是標準 SQL 且無需瞭解新的程式語言或處理框架。通過 Amazon Kinesis Data Analytics,您能夠使用 SQL 查詢流資料或構建整個流式處理應用程式,以便獲取可行的

Amazon Kinesis Data Firehose_流資料捕獲載入服務

Amazon Kinesis Data Firehose 是將流資料可靠地載入到資料儲存和分析工具的最簡單方式。它可以捕獲、轉換流資料並將其載入到 Amazon S3、Amazon Redshift、Amazon Elasticsearch Service 和 Splunk,讓您可以藉助正在