IoT Core to Amazon Data Firehose to Amazon S3

IoT → Amazon Data 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 Amazon 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 Amazon Data Firehose stream. The Amazon Data Firehose stream is configured to deliver to an Amazon S3 bucket using dynamic partitioning.
This pattern deploys one Amazon Data Firehose stream and one S3 Bucket.

< Back to all patterns

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.