- June 27, 2017
- 1 min read
Cloudformation template for provisioning firehose with S3 delivery
Overview
Kinesis firehose is a managed service within AWS that can be used to capture streaming data and load it into Kinesis Analytics, S3, Amazon Redshift or Amazon ElasticSearch services. I've published a cloudformation template that automates provisioning of all required components for Kinesis Firehose with AWS S3 delivery on your AWS account. You can find more info about the cloudformation template here
One thing I should point out is one of the thing template does is it provisions a KMS key which is used to encrypt/decrypt data ingested at REST. If you want to give others access to read this data from S3 in addition to granting read access to S3 bucket you'll also need to grant DECRYPT permission in your KMS key policy. I din't add this into the template because I don't think it would be good idea to allow decrypt permission to all by default. So depending on your use case if you need to allow consuming applications read access to this data you will need to modify the KMS key policy and grant 'Decrypt' permission as shown below
{
"Sid": "Allow decrypt",
"Effect": "Allow",
"Principal": {
//include service or principal depending on your usecase
},
"Action": "kms:Decrypt",
"Resource": "*"
}Hope that helps.
Cheers,
Ram
Related Posts
RAM GOPINATHAN
September 26, 2026
Fulfilling a GDPR/CCPA Erasure Request for PII data stored on-premises with Cyera's Privacy Agent
A field contractor's PII data sits in a legacy on-premises Postgres HR database no agentless SaaS scanner can reach. I built and ran the outbound-only agent, connector, and control-plane workflow Cyera's Privacy Agent uses to fulfill the erasure request anyway.
RAM GOPINATHAN
September 17, 2026
Onboarding Edge Devices to FlightCTL with FIDO Device Onboarding
How I wired FDO's owner service, a bootc image layering go-fdo-client on the FlightCTL agent base, and two Ansible playbooks together so edge devices enroll into FlightCTL with zero manual steps.
RAM GOPINATHAN
September 14, 2026
Provisioning Devices and Onboarding to FlightCTL
Building a bootc image with the FlightCTL agent, baking it into an AMI, and provisioning EC2 test devices that inject their enrollment credentials via cloud-init and show up as pending enrollments in FlightCTL.