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 !