Amazon Managed Service for Apache Flink pricing
Introduction
Transform and analyse streaming data in real time using Apache Flink
With Amazon Managed Service for Apache Flink, you can transform and analyse streaming data in real time using Apache Flink, an open source framework and engine for processing data streams. Amazon Managed Service for Apache Flink simplifies building and managing Apache Flink workloads and help you to more easily integrate applications with other AWS services.
With Amazon Managed Service for Apache Flink you are charged for duration and number of KPUs, billed in one-second increments. A single KPU comprises 1 vCPU compute and 4 GB of memory.
Amazon Managed Service for Apache Flink streaming applications pricing
For Apache Flink applications, you are charged a single additional KPU per application, used for orchestration. Applications are also charged for running storage and durable backups. Running application storage is used for stateful processing capabilities in Amazon Managed Service for Apache Flink and is charged per GB/month. Durable backups are optional and provide point-in-time recovery for applications, charged per GB/month.
In streaming mode, Amazon Managed Service for Apache Flink automatically scales the number of KPUs required by your stream processing application as the demands of memory and compute fluctuate. You may choose to provision your application with the number of KPUs required.
Amazon Managed Service for Apache Flink Studio pricing
You are charged two additional KPUs per Studio application in interactive mode. One KPU is used for Apache Flink application orchestration and the other for the serverless interactive development environment. You will also be charged for running application storage used for stateful processing capabilities. Running application storage is charged per GB/month.
When developing in the Studio notebook, you will not have the option to create durable application backups. However, when you deploy your application in the Studio notebook from interactive mode to streaming mode, you will be able to create durable application backups.
General KPU usage guidance
We recommend that you test your application with production loads to get an accurate estimate of the number of KPUs required for your application. KPU usage can vary considerably based on your data volume and velocity, code complexity, integrations, and more. This is especially true when using Apache Flink runtime in Amazon Managed Service for Apache Flink. For example, through internal testing we have observed throughput of hundreds of MB per second per KPU for simple applications with no state, and throughput of less than 1 MB per second per KPU for complex applications that use intensive machine learning (ML) algorithms. With these caveats in mind, the general guidance we provide before testing your application is 1 MB per second, per KPU.
Pricing by AWS Region
Page topics
Pricing examples
Open allYou use an Apache Flink application in Amazon Managed Service for Apache Flink to continuously transform and deliver log data captured by your Kinesis Data Streams to Amazon Simple Storage Service (Amazon S3). The log data is transformed using several operators including applying a schema to the different log events, partitioning data by event type, sorting data by timestamp, and buffering data for one hour prior to delivery. The application has many transformation steps, but none are computationally intensive. This stream ingests data at 2,000 records/second for 12 hours per day and increases to 8,000 records/second for 12 hours per day. You do not create any durable application backups. The monthly Amazon Managed Service for Apache Flink charges will be computed as follows:
Monthly charges
The price in EU (Germany) Region is EUR 0.13 per KPU-hour. Amazon Managed Service for Apache Flink allocates 50 GB of running application storage per KPU and charges EUR 0.117 per GB/month.
Heavy Workload: During the 12-hour heavy workload period, the Amazon Managed Service for Apache Flink application is processing 8,000 records/second and automatically scales up to 8 KPUs. After the heavy workload period, the Amazon Managed Service for Apache Flink application scales the application down after 6 hours of lower throughput. The application is scaled up to 8 KPUs for a total of 18 hours per day.
30 Days/Month * 18 Hours/Day = 540 Hours/Month
Monthly KPU Charges = 540 Hours/Month * 8 KPUs * EUR 0.13/Hour= EUR 561.60
Monthly Running Application Storage Charges = 540 Hours/Month * 8 KPUs * 50GB/KPU * EUR 0.117/GB-month = EUR 35.10
Monthly KPU and Storage Charges = EUR 561.60 + EUR 35.10 = EUR 596.70
Light Workload: During the remaining 6-hour light workload period, the Amazon Managed Service for Apache Flink application is processing 2,000 records/second and automatically scales down to 2 KPUs.
30 Days/Month * 6 Hours/Day = 180 Hours/Month
Monthly KPU Charges = 180 Hours/Month * 2 KPUs * EUR 0.13/Hour = EUR 46.80
Monthly Running Application Storage Charges = 180 Hours/Month * 2 KPUs * 50GB * EUR 0.117/GB-month = EUR 2.925
Monthly KPU and Storage Charges = EUR 46.80 + EUR 2.925 = EUR 49.725
Each Apache Flink application is charged an additional KPU per application.
Monthly Charges for additional KPU = 30 * 24 * 1 KPU * EUR 0.13/Hour = EUR 93.60
Total Charges = EUR 596.70 + EUR 49.725 + EUR 93.60 = EUR 740.025
You use an Apache Flink application in Amazon Managed Service for Apache Flink to transform log data in Amazon Simple Storage Service (Amazon S3) in batch mode. The log data is transformed using several operators such as applying a schema to the different log events, partitioning data by event type and sorting data by timestamp. The application has many transformation steps, but none are computationally intensive. This application ingests data at 2,000 records/second for 10 minutes every day in a 30-day month. You do not create any durable application backups. The monthly Amazon Managed Service for Apache Flink charges will be computed as follows:
Monthly charges
The price in EU (Germany) Region is EUR 0.13 per KPU-hour. Amazon Managed Service for Apache Flink allocates 50 GB of running application storage per KPU and charges EUR 0.117 per GB/month.
Batch Workload: For 10 minutes per day, the Amazon Managed Service for Apache Flink application is processing 2,000 records/second which takes 2 KPUs.
30 Days/Month * 10 Minutes/Day = 300 Minutes/Month
Monthly KPU Charges = 300 Minutes/Month * 2 KPUs * EUR 0.13/Hour = EUR 1.30
Monthly Running Application Storage Charges = 300 Minutes/Month * 2 KPUs * 50GB * EUR 0.117/GB-month = EUR 0.08
Monthly KPU and Storage Charges = EUR 1.30 + EUR 0.08 = EUR 1.38
Each Apache Flink application is charged an additional KPU per application.
Monthly Charges = 1 KPU * EUR 0.13/Hour * 10 Minutes/Month= EUR 0.022 (rounded to the nearest penny)
Total Charges = EUR 1.38 + EUR 0.022 = EUR 1.402