Programmatically Utilizing S3 Select

1.5 hours
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, we’ll work through completing a filtering function for a simple web application that displays user data. To accomplish this, we will edit a Lambda function and write the necessary code to utilize S3 Select.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Investigate the Lab Environment

Utilize the AWS Web Console to investigate the provided resources, including the S3 Buckets, API Gateway, and Users primary Lambda function. Make note of any information that may be important for updating the Users primary function.

Update Lambda Function

Update the _filterdata function in the Users primary Lambda function to implement data filtering via the S3 Select Content API call.

Test Web Application Filtering

Once you’ve updated the Lambda function and deployed your changes, open the web application with the URL provided and test each filter, as well as combinations of filters, to ensure they function.

Additional Resources

The Development team at your company is working on a proof of concept for a directory of all the employees for the company. They have a very basic web application working, but want to add a filtering feature to the application. They've run into problems attempting to get S3 Select working to implement this, and have requested your assistance. They've provided a Dev environment with an S3 hosts web frontend, API Gateway, Lambda function, and another S3 bucket which contains the data for the application. You need to update the Lambda function to be able to filter the data and return the results.

S3 Select Object Content

S3 Select Documentation

Lab Github Repo

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?