Setup script for an Amazon Linux 2 bastion instance. Should be idempotent.
- Updates all yum packages
- Sets up AWS CLI to use the instance profile creds
- Installs git
- Installs ASDF Version Manager
Note: AWS CLI gets set up to use
us-east-1as the default region. If you need to pick a different region runaws configureafter you run this to change it.
curl https://raw.githubusercontent.com/RothAndrew/aws-bastion-setup/master/setup.sh | sh- AWS CLI gets set up to use
us-east-1as the default region. If you need to pick a different region runaws configureafter you run this to change it. - Run
source ~/.bashrcto pick up the new ASDF shims and completions