- Install the AWS CLI
- Install the AWS SAM CLI
- Install PuTTY
Assumption: all downloads are 64-bit distributions.
Note: Full instructions available here.
- Install Homebrew
- Open Terminal
- Run:
xcode-select --install
- Run:
brew tap aws/tap
- Run:
brew install python
- Run:
brew install awscli
- Run:
brew install aws-sam-cli
Note: Full instructions available here.
In this section we will create a new IAM user with liberal programmatic access to our account. This IAM user will be used by the AWS CLI tools to interact with our account.
- Open the AWS IAM Dashboard
- Go to "Users"
- Click "Add User"
- Enter a unique username (ex.
djm-programmatic
) - Select "Programmatic Access" only
- Click "Next"
- Click "Create Group"
- Create a group with a unique name (ex.
djm-admin-group
) and provide it with theAdministratorAccess
policy - Proceed with "Next" until you "Create User"
- Download the CSV file
Opening a shell (e.g. command prompt or terminal) run the following:
aws configure
You will be prompted to provide an Access Key and Access Secret - these can be found in the CSV file you downloaded for your IAM user.