The Kinesis family Cheat Sheet

The Kinesis family Cheat Sheet

Ā·

3 min read

1.png I recently reviewed my classics about AWS Kinesis services and I wanted to share this digest with you. So, no more boring introduction stuff, let's start!

Kinesis Data Stream

šŸ›  Workflow:

  • Producer (Kinesis Producer Library, API via SDK)
  • Kinesis Data Stream
  • Consumer (EC2, Lambda, EMR, Kinesis Data Analytics)
  • Storage/Analysation (S3, DynamoDB, Redshift, BI Toolsā€¦)

šŸ’” Benefits

  • Data retention
  • Real-time

šŸ§Ŗ Use cases

  • Analyze logs in real-time
  • Transform real-time streaming data and fed it to a custom ML application

Kinesis Data Firehose

šŸ›  Workflow

  • Producer
  • Kinesis Data Firehose
  • Processing tool (optional: Lambda)
  • Storage (S3, Redshiftā€¦)
  • Additional steps (send on event from S3 to DynamoDB table)

šŸ’” Benefits

  • Collect streaming data and send to data store

šŸ§Ŗ Use cases

  • Delivery service for streaming data
  • Apache logs from EC2 instance to S3 or Redshift
  • Streaming data from IoT devices to data lake

Kinesis Video Stream

šŸ›  Workflow

  • Producer
  • Kinesis Video Stream
  • Consumer (EC2 continuous/Batch consumer program)
  • Storage (S3ā€¦) or other service

šŸ’” Benefits

  • Real-time streaming of video data (images, audio, radarā€¦)
  • Batch process and store streaming video data
  • Feed video data to other AWS services

šŸ§Ŗ Use cases

  • Stream event video coverage to customers
  • Ingest data for ML applications

Kinesis Data Analytics

šŸ›  Workflow

  • Input (Kinesis Data Stream, Kinesis Data Firehose)
  • Kinesis Data Analytics
  • Storage (S3, Redshiftā€¦) / Visual tools (Quicksight, ELKā€¦)

šŸ’” Benefits

  • Run SQL queries on streaming data and output to S3
  • Create dashboards
  • Metrics
  • Alarms

šŸ§Ŗ Use cases

  • Query real-time data
  • Enrich data for ETL jobs
  • Responsive real-time analytics
  • Metric graphs

Conclusion

AWS Kinesis services can be confusing at the beginning but I hope this cheat sheet is going to help you understand and memorize to make the best out of these services.

Donā€™t forget to react and to share this article if you liked it! Feel free to reach me on Twitter (@FlolightC) to tell me about your Kinesis use case or to ask me questions ! Iā€™m always happy to discuss with you !

Did you find this article valuable?

Support Flolight by becoming a sponsor. Any amount is appreciated!