Installing AWS CLI

Public cloud solution resource requirement
  • CPU or Memory: The minimum requirement is c5 type and above.
    Note: Does not support a1, t2, t3 types
  • Storage Requirement (Disk Storage): Minimum requirement of SSD - GP2 150 GB above

Note: Any CPU with credit limitation type cannot support.

Select the proper disk size to run vSZ since disk sizes may have different disk IO performance in each cloud platform.

  1. Ensure that you have created an account with AWS and have the login details for the same.
    Note: All the commands must be run on the host computer.
  2. Install pip by running the command
    # curl -O https://bootstrap.pypa.io/get-pip.py
    # sudo python27 get-pip.py
  3. Install AWS CLI using pip:# pip install
  4. Test the installation by using the command: # aws help
  5. To set up AWS CLI you need to get your access and secret key identifier. Follow the instructions and find your identifier keys.
  6. Use the following command to configure CLI:
    # aws configure
    AWS Access Key ID [None]: xxx
    AWS Secret Access Key [None]: xxx
    Default region name [None]: us-west-2
    Default output format [None]: json
  7. The default region should be the same as the bucket region. Refer to the below table for region mapping details. Additionaly, you can also refer to the latest version.

    Region Mapping

    Region Name Region
    US East (Ohio) us-east-2
    US East (N. Virginia) us-east-1
    US West (N. California) us-west-1
    US West (Oregon) us-west-2
    Asia Pacific (Mumbai) ap-south-1
    Asia Pacific (Osaka-Local) ap-northeast-3
    Asia Pacific (Seoul) ap-northeast-2
    Asia Pacific (Singapore) ap-southeast-1
    Asia Pacific (Sydney) ap-southeast-2
    Asia Pacific (Tokyo) ap-northeast-1
    Canada (Central) ca-central-1
    China (Beijing) cn-north-1
    China (Ningxia) cn-northwest-1
    EU (Frankfurt) eu-central-1
    EU (Ireland) eu-west-1
    EU (London) eu-west-2
    EU (Paris) eu-west-3
    EU (Stockholm) eu-north-1
    South America (São Paulo) sa-east-1
    AWS GovCloud (US-East) us-gov-east-1
    AWS GovCloud (US) us-gov-west-1