An adventure company runs a PostgreSQL database that is used to store events from its monitoring application on its on-premises data center. The database is unable to scale enough to handle frequent write events that need to be ingested into the database. The management has tasked the solutions architect to create a hybrid solution that will utilize the existing company VPN connection to AWS. Additional requirements are as follows:
- Leverage AWS-managed services to minimize operation overhead
- Create a buffer that automatically scales to accommodate the events that need to be ingested
Correct Answer: Ingest the events using Amazon Kinesis Firehose. Write a Lambda function to process and transform the buffered events.
Incorrect Answer: Use Amazon Kinesis Data Stream to reliably ingest the events. Write a Lambda function to process and transform the buffered events
I thought Kinesis Data Stream provides replay capabilities and is better for consumers if you need to perform some kind of modifications on it, while Firehose is just to transport the data from one place to another. What made me pick KDS over KDF is the fact that it is a monitoring application, that’s why I thought it needed to be real-time and streamed.
After searching and reading the explanations, I realize that Kinesis Firehose has automatic scaling for buffers and it can also do some basic transformation, but it doesn’t have data storage or replay capability.
Also, is Firehose real-time or not?
My understanding now:
- Amazon Kinesis Firehose: transfer, cheaper, one time consumption, basic transformations, limited destinations, autoscaled buffers
- Amazon Kinesis Data Stream: stream, expensive, many consumptions, replay, complex transformations, manual scaling
If anyone has any tips on how to choose between these two in the future, please let me know, because these two services are the ones I have the most difficulties distinguishing, thanks in advance
Related discussions:
- Super confuse about use cases of Kinesis data stream vs when to use Kinesis data firehouse
- Kinesis seems fragile. How do I reasonably deal with failures?
- Kinesis data stream and connection with Firehose
- Developers of /r/aws, what do you think of Cloud9?
- Windows AWS VPN client not working with latest version of Chrome