Firehose Setup
MetaRouter Firehose Setup enables seamless event data streaming to cloud-based destinations like Amazon Kinesis, Google Pub/Sub, and Apache Kafka. This guide walks you through configuring Firehose to efficiently route data to your preferred platform for real-time analytics and processing.
Set up Firehose
- Create User
- Open the Identity and Access Management (IAM) console.
- In the sidebar, go to Users.
- Click Create User.
- Enter a username, then click Next.
- Configure permissions:
- Select Attach policies directly.
- Attach the following policies:
AmazonKinesisFirehoseFullAccess
AmazonS3FullAccess
AmazonRedshiftAllCommandsFullAccess
AmazonRedshiftDataFullAccess
AmazonRedshiftFullAccess
CloudWatchLogsFullAccess
- Click Create User.
- Get Access Keys
- Click the user you just created.
- Click Create Access Key.
- Select a use case for the key.
- (Optional) Enter a description.
- Click Create Access Key.
- Note down your Access Key and Secret Key, as the Secret Key is only visible once.
- Create a Role and Edit Trust Policy
- In the IAM console, go to Roles from the sidebar.
- Click Create Role.
- Under Trusted Entity Type, select AWS service (default).
- Under Use case, select Redshift.
- Keep Redshift - Customizable as the default use case, then click Next.
- Attach the following permissions:
AmazonKinesisFirehoseFullAccess
AmazonS3FullAccess
AmazonRedshiftAllCommandsFullAccess
AmazonRedshiftDataFullAccess
AmazonRedshiftFullAccess
CloudWatchLogsFullAccess
- Click Next.
- Enter the role details:
- Role name
- (Optional) Role description
- Click Create Role.
- Open the newly created role and go to the Trust Relationships tab.
- Click Edit Trust Policy.
- Replace the existing policy with the following JSON:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": [ "firehose.amazonaws.com", "redshift.amazonaws.com", "s3.amazonaws.com" ] }, "Action": "sts:AssumeRole" } ] }
- Create an S3 bucket
- Open the Amazon S3 console.
- Click Create Bucket.
- Enter a unique bucket name.
- Keep the default settings, or adjust them based on your requirements.
- Click Create Bucket.
Updated 7 days ago
What’s Next