This Banner is For Sale !!
Get your ad here for a week in 20$ only and get upto 15k traffic Daily!!!

How to subscribe Kinesis Data Firehose to SNS in other account


This put up gathers the steps the right way to subscribe Kinesis Information Firehose to SNS in different account through the AWS Console.

Glossary:
Kinesis Information Firehose – ETL service to ship real-time streaming knowledge to locations corresponding to S3, Redshift, OpenSearch Service, Splunk, Customized HTTP endpoints
SNS – Amazon Easy Notification Service, a notification service

Diagram of how SNS and Firehose connect

Step to subscribe

  1. Create SNS matter in Account A
  2. Setup the Entry coverage in SNS matter of Account A to permit Account B to subscribe
    (Ensure Entry coverage comprises)
{
  "Impact": "Permit",
  "Principal": {
    "AWS": "arn:aws:iam:<account_b_id>:root"
  },
  "Motion": "SNS:Subscribe",
  "Useful resource": "arn:aws:sns:eu-west-1:<account_a_id>:<SNS-Matter-name>"
}
Enter fullscreen mode

Exit fullscreen mode

  1. Create Kinesis Information Firehose in Account B
  2. Create IAM function which shall be used for subscription in Account B
Permissions: AmazonSNSRole, AmazonKinesisFirehoseFullAccess, AmazonSNSFullAccess
Enter fullscreen mode

Exit fullscreen mode

  1. In Account B, Go to SNS web page > Subscriptions > Create subscription
    • Enter Matter ARN (Get this info SNS matter from Account A)
    • Choose “Amazon Kinesis Information Firehose” as Protocal
    • Enter ARN of Supply stream as Endpoint
    • Enter ARN of IAM function we created in step 4 as Subscription function ARN

Easy methods to check

  1. Go to SNS matter in Account A, Publish a check message
  2. Go to Kinesis Information Firehose in Account B, Discover the S3 bucket and go the file that’s not too long ago created and click on obtain
  3. In terminal, open the file or cat the file to verify the content material of the message. You need to see the check message we ship from SNS matter in Account A

The Article was Inspired from tech community site.
Contact us if this is inspired from your article and we will give you credit for it for serving the community.

This Banner is For Sale !!
Get your ad here for a week in 20$ only and get upto 10k Tech related traffic daily !!!

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to Contribute to us or want to have 15k+ Audience read your Article ? Or Just want to make a strong Backlink?