Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Automatically Processing Data in S3 Using Lambda

Automating processes is a cornerstone of cloud computing. If you have data processing that needs to happen on data once it is uploaded to the cloud, there is no reason not to automate it to save yourself extra work for every new file. With AWS, this automation is easy to achieve. In this lab, we'll transcribe audio data into text whenever an audio file is uploaded to S3. Magic!

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Sep 23, 2025
Duration
45m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Create an IAM Role
    1. Log in to the AWS Console.
    2. Create an IAM role that will allow Lambda to:
      • Read and write to S3
      • Start jobs in Transcribe
      • Create logs in CloudWatch
  2. Challenge

    Create a Lambda Function
    1. Create a new Lambda function that will handle events from S3. Be sure to use the IAM role you just created.
    2. Each event should create a new job in Transcribe that will translate the audio to text and store the result back in the S3 bucket that triggered the event.
      • Hint: Transcribe jobs must be uniquely named.
    3. Output the name of the Transcribe job to CloudWatch.
  3. Challenge

    Create an S3 Bucket
    1. Create a new S3 bucket to hold the meeting audio.
      • Since the audio will contain secret company information, ensure the bucket can't be accessed by anyone outside the company.
      • The meeting audio should be encrypted at rest to improve security.
    2. Create an event notification for uploaded audio files that will trigger your Lambda function.
      • Hint: It's very important to only send audio data to your function since we'll be automatically adding text data back to this bucket via the Transcribe job. You don't want an infinite loop of Lambda calls.
  4. Challenge

    Automatically Transcribe Data
    1. Upload the ImportantBusiness.mp3 audio file provided with the lab (direct link) to the S3 bucket.
    2. View the logs for the Lambda function in CloudWatch.
    3. View the details of the job created in Transcribe.
    4. Attempt to view the transcript in a browser via the S3 URL.
    5. Download the transcript to view the results.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

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.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight