Resizing Images with S3 Batch Operations and AWS Lambda

Resizing Images with S3 Batch Operations and AWS Lambda
Resizing Images with S3 Batch Operations and AWS Lambda

CLOUD LABS



Resizing Images with S3 Batch Operations and AWS Lambda

In this CloudLab, you will learn about S3 Batch Operations. You will also learn how to use S3 Batch Operations to batch resize images from a target S3 bucket and store them in a destination bucket. This lab will help you get familiar with the basics of S3 batch operations and how you can use it to perform batch operations on user data stored in S3 buckets.

8 Tasks

intermediate

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

A thorough understanding of S3 Batch Operations
Hands-on experience running Batch Operations jobs
The ability to invoke Lambda functions using Batch Operations
Hands-on experience with Batch Operations to batch process data in S3 buckets

Technologies
IAM logoIAM
S3 logoS3
Cloud Lab Overview

Performing large-scale operations enhances efficiency, resource optimization, and cost savings in cloud environments. Amazon S3 Batch Operations is a feature provided by Amazon Simple Storage Service (Amazon S3) that allows you to perform large-scale batch operations on your S3 objects. These operations include copying objects between buckets, replacing tag sets, updating access control lists (ACLs), and running AWS Lambda functions on objects in parallel.

In this CloudLab, you will make a storage space using an S3 bucket and put images in it. After that, you will make a Lambda function to change the image sizes and save them in another bucket. Then, you will set up a job using S3 batch operations to get all the items from the first bucket and send them to the Lambda function for processing. Finally, you will review the logs and check the second bucket to ensure everything was done successfully.

After completing this lab, you will be able to make your own S3 batch operations, and you will be able to use it to perform batch operations on user data stored in S3 buckets.

A high-level architecture diagram for this Cloud Lab is given below:

S3 Batch Operations for Image Processing with AWS Lambda
S3 Batch Operations for Image Processing with AWS Lambda

Cloud Lab Tasks
1.Introduction
Getting Started
2.IAM and S3 Bucket
Create IAM Roles
Create S3 Buckets
3.Creating Batch Operations
Create a Lambda Function
Create Batch Operations Job
Run the Batch Operations Job
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like