Amazon Managed Service for Apache Flink
Analytics · Advanced, most people never need it
Runs code that does sums over a live stream of events, like a running total per minute.
A shop assistant with a tally counter, keeping a rolling count of customers per hour rather than counting at closing time.
What it actually does
This was renamed from Amazon Kinesis Data Analytics in 2023. It runs Apache Flink applications, in Java, Scala, Python or SQL, and handles the servers, checkpoints and restarts. Flink is good at windows, counting events per five minutes, and at joining two streams. It is also genuinely hard, the concepts of state, watermarks and late data take real learning, and the service is expensive to leave running.
Reach for it when
- Continuous aggregations, averages or counts over a live stream
- Detecting a pattern across events, such as three failures in a minute
- Joining two streams as they arrive
Do not reach for it when
- For simple per-record work, a Lambda on the stream is far cheaper and simpler
- If a five minute delay is fine, land the data with Firehose and query with Athena
- For plain delivery with no computation, use Amazon Data Firehose
One small example
A delivery app keeps a live count of orders per city per minute and raises an alert when one city stalls.
How you pay
Per Kinesis Processing Unit hour, and the application runs continuously, so you pay around the clock. Durable state storage and the mandatory extra unit for orchestration catch people out.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.