Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Serverless Architectures with AWS

You're reading from   Serverless Architectures with AWS Discover how you can migrate from traditional deployments to serverless architectures with AWS

Arrow left icon
Product type Paperback
Published in Dec 2018
Publisher Packt
ISBN-13 9781789805024
Length 226 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mohit Gupta Mohit Gupta
Author Profile Icon Mohit Gupta
Mohit Gupta
Arrow right icon
View More author details
Toc

Chapter 5: Real-Time Data Insights Using Amazon Kinesis

Solution for Activity 6: Performing Data Transformations for Incoming Data

  1. Start by creating a Kinesis Firehose Data Stream and follow the steps that we completed in the last exercise.
  2. We disabled data transformation using Lambda in the last exercise. This time, enable the Transform source records with AWS Lambda option.
  3. Once enabled, create a Lambda function to do the data transformation for incoming data:
    Figure 5.54: The Transform source records with AWS Lambda window
    Figure 5.54: The Transform source records with AWS Lambda window
  4. There are already some sample functions that have been provided by Amazon. You can click on Create New and it will open up the list of transformation functions provided by AWS. Let's choose General Firehose Processing:
    Figure 5.55: The Choose Lambda blueprint window
    Figure 5.55: The Choose Lambda blueprint window
  5. This opens up the Lambda function window. Here, you need to provide the name of the function, along with the IAM role information:
    Figure 5.56: The Basic information window
    Figure 5.56: The Basic information window...
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image