Skip to content

General

Setup API access

Upload ssh-key: IAM -> Users -> varac -> Upload SSH key Create api access key: IAM -> Users -> varac -? Create access key Save access key in ~/.aws/credentials

Test access key:

aws --profile rewire iam get-user

Billing

  • Billing only works in us2-west

The Startup Quick Guide to Managing Budgets, Credits, and AWS Resources

Install CLI

sudo apt install awscli

Configure

Configure the AWS CLI

See ~/.aws/config and ~/.aws/credentials

 aws configure

Env vars

Environment variables to configure the AWS CLI

export AWS_ACCESS_KEY_ID=... # gitleaks:allow
export AWS_SECRET_ACCESS_KEY=... # gitleaks:allow
export AWS_DEFAULT_REGION=us-west-2