Skip to main content
  1. Projects/
  2. AWS DevOps Pro Certification/
  3. 3: Monitoring and Logging/

5: Kinesis + Lambda

·1 min

Architecture

  • Custom application triggers data stream
  • Data stream feeds to lambda
  • (Need executon role for lambda)
  • Stream out from Lambda to CloudWatch

Steps

  1. Write records to streams
  2. Lambda polls the stream. When new records detected…
  3. Invoke lambda
  4. Assume the execution role specified

Lambda Function

  • Needs execution role to read kinesis, write logs to CloudWatch

Input File

Are “Kinesis Data Streams” input or output?

  • It often acts as both input and output