image
hands-on labGetting Started with Amazon Elastic MapReduce
Intermediate
1h 45m
3,338
4.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.
Lab steps
Logging In to the Amazon Web Services Console
Creating an S3 Bucket for EMR
Creating an EMR Cluster
Adding a Step to your running Cluster
Viewing the EMR Cluster and Step Results
Terminating and Cloning a Cluster
Adding a new Step for a Cloned EMR Cluster to Process
Lab description

Amazon Elastic MapReduce (Amazon EMR) makes it easy to process vast amounts of data in a variety of applications, including log analysis, web indexing, data warehousing, machine learning, financial analysis, scientific simulation, and bioinformatics. Amazon EMR uses Hadoop, an open source framework, to distribute raw data and processing across a resizable cluster of Amazon EC2 instances.

Hadoop uses a distributed processing architecture called MapReduce in which a task is mapped to a set of servers for processing. The results of the computation performed by those servers is then reduced down to a single output set. 

A high level view of the EMR workflow is as follows:

  1. Load the input dataset
  2. Execute a Map-Reduce job
  3. Store the job results in HDFS
  4. View the job results from HDFS

The focus of this lab is configuring and launching an EMR cluster. You will be provided with sample input data sets and sample applications to process the data sets. Treating the application and data set as a "black box" will lift unneeded complexities and free you up to concentrate on the configuration component. Note that Amazon EMR does a massive amount of heavy lifting for you. In addition to providing security, reliability, monitoring, scalability, integration with other Amazon services and the potential for cost savings, Amazon tackles the deployment as well. For example, Amazon will configure the instances in your cluster with all the necessary software and versions of the software to process the tasks you submit.

Lab Objectives

Upon completion of this lab you will be able to:

  • Explain the key features and benefits of Amazon EMR
  • Configure and launch a cluster in two different launch modes
  • Submit tasks for your cluster to process
  • Check the status of your cluster and the tasks it processes
  • Terminate, clone, reconfigure and launch a cluster
  • Clone a job for your cluster to process
  • View logs and results

Lab Prerequisites

You should be familiar with:

  • Amazon Management Console
  • Amazon Simple Storage Service (S3)
  • Amazon Elastic Compute Cloud (EC2)
  • Big Data concepts

Lab Environment

After completing the lab instructions the environment should look similar to:

Updates

March 30th, 2023 - Updated the instructions and screenshots to reflect the latest UI

December 27th, 2022 - Updated the instructions and screenshots to reflect the latest UI

September 13th, 2022 - Updated the instructions and screenshots to reflect the latest UI

December 13th, 2021 - Adjusted the allowed bandwidth for the lab to account for increased network usage by EMR

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

About the author
Avatar
Greg DeRenne
Lab Research dev
Students
70263
Labs
8

Greg has been a consistent high performer for pioneering technologies in the wireless web industries with an illustrious career that is a testament to his breadth of knowledge. Dabbling with MS Azure, at Cloud Academy, Greg really thrives on evangelizing the benefits of Amazon Web Services. A dedicated and passionate professional who learns new and emerging technologies quickly, Greg always ensures the highest quality and caliber of everything he produces.

Covered topics