Technical requirements
The recipes in this chapter assume that you have a Bash shell or equivalent available with the AWS CLI installed (https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) with access to AWS. If using Microsoft Windows, you can enable WSL (https://learn.microsoft.com/en-us/windows/wsl/install) or install Git (https://git-scm.com/downloads) to use the Bash shell that it brings.
Most commands are too long to list in the book line width. To fit them in, lines have been broken using the \
character, which tells the shell that the command continues in the next line. Be careful to respect the spaces (or lack of) on the line breaks.
It is also assumed that you have configured the default credentials and region using aws configure
or using an AWS CLI profile. You need to have permission to manage EMR clusters. Also, most recipes will expect you to have a user with access to the AWS EMR console using a web browser. It’s easier if you...