navigation

Adding watermark to new image uploaded to Amazon S3 using AWS Lambda

Overview

Dynamic data transformations are very common nowadays. For different applications and workloads, we often need the ability to modify the data as necessary for each use case. In this workshop, I will demonstrate how we can use AWS Lambda for a simple task such as adding a watermark to the images every time they are uploaded to an Amazon S3 bucket. This can be further expanded to every tasks that demand object modification operations before storing in S3 buckets. I will go through every step from creating all the resources needed, testing the function, and then cleaning up. Let’s get started!

S3 Lambda

Content

  1. Introduction
  2. Creating the S3 bucket
  3. Creating IAM role for Lambda function
  4. Creating and packaging Lambda function
  5. Testing the function
  6. Resource Cleanup