Skip to content

Instantly share code, notes, and snippets.

@backroot
Last active October 7, 2019 07:19
Show Gist options
  • Select an option

  • Save backroot/18ea11e548859edd9e0dd54fa1fab00c to your computer and use it in GitHub Desktop.

Select an option

Save backroot/18ea11e548859edd9e0dd54fa1fab00c to your computer and use it in GitHub Desktop.
Setup AWS CLI for CentOS 7
curl -kL https://bootstrap.pypa.io/get-pip.py | python
pip install awscli --upgrade --user
echo "export PATH=~/.local/bin:$PATH" >> ~/.bash_profile
source ~/.bash_profile
aws configure
AWS Access Key ID [None]: <ID>
AWS Secret Access Key [None]: <KEY>
Default region name [None]: ap-northeast-1
Default output format [None]: json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment