How can I connect and consume a Kinesis data stream from a different AWS account in your AWS account Firehose, which then processes the data and stores it in S3,

0

I followed cross-account principles and attached trusted policy in the source account as well as the target AWS account, still in target account B I am not getting the option to select kinesis stream from different account

asked 2 months ago112 views
1 Answer
0

Hi,

I understand you are sending data from Kinesis Stream in one account to Amazon Data Firehose in another account.

Kinesis Stream (in Account A) -> Firehose (in Account B)

Unfortunately, this is not supported at the moment. You can maybe use Lambda as workaround you may consider having lambda function for your use case.

kinesis stream (Account A) --> lambda (Account A) -->Data Firehose (Account B)

You can follow below document to create kinesis trigger for lambda function : kinesis stream (Account A) --> lambda (Account A)

[+] Using AWS Lambda with Amazon Kinesis - Configuring a stream as an event source - https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping

Further, you have to write code in lambda that push the records to firehose stream : lambda (Account A) --> Data Firehose (Account B)

you can refer to the below third party article to get some idea about how it can be done.

https://faun.pub/quicksolutions-cross-account-use-lambda-to-write-to-firehose-in-another-aws-account-38bc4270a348

AWS
SUPPORT ENGINEER
Aman_A
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions