Creating and launching a Kinesis Firehose stream

Within a few minutes, our ElasticSearch cluster should be up and running. We will now focus on the Kinesis Firehose component of our stack, which will let us feed data into ElasticSearch.

We will create a new script and call it firehose-cf-template.py.

The script starts as usual with several imports, the creation of a template variable, and a brief description:

"""Generating CloudFormation template.""" from troposphere import ( GetAtt, Join, Ref, Template, ImportValue ) from troposphere.firehose import ( BufferingHints, CloudWatchLoggingOptions, DeliveryStream, S3Configuration, ElasticsearchDestinationConfiguration, RetryOptions, ) from troposphere.iam import Role from troposphere.s3 import ...

Get Effective DevOps with AWS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.