Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Purpose: EMR bootstrap script
# Author: Gary A. Stafford (2021-04-05)
# update and install some useful yum packages
sudo yum install -y jq
# set region for boto3
aws configure set region \
"$(curl --silent | jq -r .region)"
# install some useful python packages
sudo python3 -m pip install boto3 ec2-metadata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment