hands-on lab

Automating Translations With Amazon Translate and AWS Lambda

Up to 45m
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

Language translation is becoming increasingly important as businesses expand globally. To provide localized content and solutions, companies should be able to translate text and documents into multiple languages.

Amazon Translate is an affordable and customizable language translation service that utilizes deep learning models to deliver accurate, high-quality translations. Amazon Translate can translate text and documents between 75 languages and can be leveraged to perform both batch and real-time translations.

In this lab, you will learn how to use Amazon Translate to translate text and HTML files. You will also learn how to call the Amazon Translate API from an AWS Lambda function and automatically translate HTML files from an Amazon S3 bucket using AWS Lambda and S3 event notifications.

Learning objectives

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

  • Translate text using Amazon Translate
  • Call the Amazon Translate API from an AWS Lambda function
  • Automatically translate HTML files from an Amazon S3 bucket using AWS Lambda and S3 event notifications

Intended audience

  • Candidates for the AWS Certified Machine Learning - Specialty certification
  • Cloud Architects
  • Software Engineers


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

  • Amazon Translate
  • AWS Lambda
  • Amazon S3
  • Python

The following content can be used to fulfill the prerequisites:

Environment before
Environment after
About the author
Jun Fritz, opens in a new tab
Cloud Labs Developer
Learning paths

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
Translating Text in Real-Time With Amazon Translate
Selecting Amazon S3 Documents to Translate
Automatically Translating Documents With AWS Lambda and Amazon Translate