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
AWS logoAWS
S3 Bucket
IAM
Batch Operations
Skills Covered
Using AWS Cloud Services
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:

Architecture diagram
Architecture diagram

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.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image