hands-on lab

Transforming Your Data with Amazon S3 Object Lambda

Intermediate
45m
3,146
4.7/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Amazon Simple Storage Service (S3) allows you to store and share data to be used by multiple applications. However, certain applications require specific formats or views of your data. In order to accommodate the various applications accessing your data, you could either store multiple copies of your data in different formats or provide an additional layer to the object retrieval process that transforms your data to match the required format. 

With Amazon S3 Object Lambda, you can now add your own custom AWS Lambda function code to intercept data being retrieved from S3 before returning it to an application. This Lambda function can transform your data to meet your application's requirements without modifying the original object stored in your S3 bucket. Amazon S3 Object Lambda allows you to enrich your data with additional properties as well as redact any data that is critical to security such as personally identifiable information (PII).

In this lab, you will configure an Amazon S3 Object Lamdba Access Point and write a custom Lambda function to retrieve CSV files stored in an S3 bucket and transform that data into JSON before returning it to the application.

Learning Objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Create an Amazon S3 Access Point
  • Create an Amazon S3 Object Lambda Access Point
  • Configure an AWS Lambda function to automatically transform data retrieved from an Amazon S3 bucket

Intended Audience

  • Cloud Architects
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Amazon Simple Storage Service (S3)
  • AWS Lambda
  • JavaScript Object Notation (JSON)

The following content can be used to fulfill the prerequisites:

Updates

November 27th, 2022 - Updated screenshots & instructions to reflect latest UI

Environment before
Environment after
About the author
Avatar
Jun Fritz
Cloud Labs Developer
Students
38,821
Labs
103
Courses
1
Learning paths
6

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Configuring an Amazon S3 Object Lambda Access Point
Writing a Lambda Function for an S3 Object Lambda Access Point
Retrieving Transformed Data from an S3 Object Lambda Access Point