IoT Core to Amazon Data Firehose to Amazon S3

IoT → Amazon Kinesis Firehose → S3

Create an IoT rule action to ingest data over AWS IoT core and publish to Amazon Data Firehose which buffers the data and writes to an Amazon S3 bucket.

This pattern contains a sample AWS CDK stack to create an IoT Rule with a Kinesis Data Firehose action with a Amazon S3 bucket as the destination.
When a message is published to the IoT topic defined in the IoT Rule, this message will be delivered to Kinesis Data Firehose stream. The Kinesis Data Firehose stream is configured to deliver to an Amazon S3 bucket using dynamic partitioning.
This pattern deploys one Kinesis Data Firehose stream and one S3 Bucket.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/iot-firehose-s3-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Ashu Joshi

Ashu Joshi

I am a Principal Architect, AWS Cloud Architect, Full-Stack Developer, Edge AI/ML/IoT Engineer, and Serverless Enthusiast.

Follow on LinkedIn