github.com/kubernetes-incubator/kube-aws@v0.16.4/docs/getting-started/step-1-configure.md (about)

     1  # Configure
     2  
     3  ## Download kube-aws
     4  
     5  Go to the [releases](https://github.com/kubernetes-incubator/kube-aws/releases) and download the latest release tarball for your architecture.
     6  
     7  Extract the binary:
     8  
     9  ```sh
    10  tar zxvf kube-aws-${PLATFORM}.tar.gz
    11  ```
    12  
    13  Add kube-aws to your path:
    14  
    15  ```sh
    16  mv ${PLATFORM}/kube-aws /usr/local/bin
    17  ```
    18  
    19  ## Configure AWS credentials
    20  
    21  Configure your local workstation with AWS credentials using one of the following methods:
    22  
    23  ### Method 1: Configure command
    24  
    25  Provide the values of your AWS access and secret keys, and optionally default region and output format:
    26  
    27  ```sh
    28  $ aws configure
    29  AWS Access Key ID [None]: AKID1234567890
    30  AWS Secret Access Key [None]: MY-SECRET-KEY
    31  Default region name [None]: us-west-2
    32  Default output format [None]: text
    33  ```
    34  
    35  ### Method 2: Config file
    36  
    37  Write your credentials into the file `~/.aws/credentials` using the following template:
    38  
    39  ```
    40  [default]
    41  aws_access_key_id = AKID1234567890
    42  aws_secret_access_key = MY-SECRET-KEY
    43  ```
    44  
    45  ### Method 3: Environment variables
    46  
    47  Provide AWS credentials to kube-aws by exporting the following environment variables:
    48  
    49  ```sh
    50  export AWS_ACCESS_KEY_ID=AKID1234567890
    51  export AWS_SECRET_ACCESS_KEY=MY-SECRET-KEY
    52  ```
    53  
    54  ## Test Credentials
    55  
    56  Test that your credentials work by describing any instances you may already have running on your account:
    57  
    58  ```sh
    59  $ aws ec2 describe-instances
    60  ```
    61  
    62  **Did you download kube-aws?**
    63  **Did your credentials work?** We will use the AWS CLI in the next step.
    64  
    65  [Yes, ready to configure my cluster options][getting-started-step-2]
    66  
    67  [No, I need more info on the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html)
    68  
    69  [getting-started-step-1]: step-1-configure.md
    70  [getting-started-step-2]: step-2-render.md
    71  [getting-started-step-3]: step-3-launch.md
    72  [getting-started-step-4]: step-4-update.md
    73  [getting-started-step-5]: step-5-add-node-pool.md
    74  [getting-started-step-6]: step-6-configure-add-ons.md
    75  [getting-started-step-7]: step-7-destroy.md