Skip to content

Instantly share code, notes, and snippets.

@sourabh-upadhyay
Last active December 8, 2017 12:32
Show Gist options
  • Save sourabh-upadhyay/6e3cadd9e747a9dbb366c1d256abf6c0 to your computer and use it in GitHub Desktop.
Save sourabh-upadhyay/6e3cadd9e747a9dbb366c1d256abf6c0 to your computer and use it in GitHub Desktop.
Install AWS CLI in Ubuntu
  1. Install AWS CLI using the OS X Bundled Installer.

python --version

  1. Now download the AWSCLI installer using the following command:

curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"

  1. Unzip the package

unzip awscli-bundle.zip

  1. Run the install executable and test the AWS CLI installation

sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws

  1. Configure AWS credentials

To configure the aws cosole

aws configure

Then enter the following information

AWS Access Key ID [None]: XXXXXXXXXXXXXXXXXXXX

AWS Secret Access Key [None]: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Default region name [None]: us-west-2

Default output format [None]: json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment