hands-on lab

Automating Translations With Amazon Translate and AWS Lambda

Difficulty: Beginner
Duration: Up to 45 minutes
Students: 10
Rating: 5/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.

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

Prerequisites

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

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