Process Amazon S3 Events with AWS Lambda
280 students completed the lab in ~15m
Total available time: 1h:0m
130+ students rated this lab!
How to process S3 objects without servers using AWS Lambda
Amazon Simple Storage Service lets you store, retrieve, update and version objects in the Cloud.
Not only does it guarantee durability and high availability at low cost, but it also enables event-driven systems by notifying you whenever objects are created, updated or deleted. This lets you connect S3 to SQS queues, SNS notifications or AWS Lambda for custom processing.
In this lab, we will learn how to process new image files uploaded into S3 with a Lambda Function. As a simple example, we will use Python to compress the input image and generate a gzipped version.
Follow these steps to learn by building helpful cloud resources
Log In to the Amazon Web Service Console
Your first step to start the laboratory experience
S3 Events overview
Learn which S3 events can be processed by AWS Lambda.
Create an S3 bucket
How to create an S3 bucket
Implement a Lambda Function to process S3 events
AWS Lambda implementation of the processing logic.
Test the S3 Trigger
Upload a new file to S3 and verify the trigger output.