SSH into the Raspberry Pi and run the following command:
bash <(curl -s https://gist.githubusercontent.com/rbwestmoreland/7a61a8d87f82fde770ccb5fa3609e912/raw/init.sh)
When prompted, provide you AWS IAM access key and secret key.
This IAM user requires the AmazonEC2ContainerRegistryReadOnly
policy.