Process Amazon S3 Events with AWS Lambda
663 students completed the lab in ~36m
Total available time: 1h:0m
330+ 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
Logging in to the Amazon Web Services Console
Your first step to start the Lab experience
S3 Events overview
Learn which S3 events can be processed by AWS Lambda
Create an S3 bucket
Create a new 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