Configure AWS so Jets can connect to it. The recommended way is to:
- set up the
- set up your
output = json
region = us-west-2
aws_access_key_id = REPLACE_ME
aws_secret_access_key = REPLACE_ME
~/.profile, use this line to set the
AWS_REGION environment variables:
export AWS_REGION=`aws configure get region` # to match what's in ~/.aws/config
Note, you do not have to AWS_REGION. However, the environment variable AWS_REGION will take higher precedence than the region
~/.aws/config. You probably want them to match in general.
Interesting note: If you want to deploy your Jets app to a different region, you can simply change the AWS_REGION and deploy again.
Test AWS Setup
Here are some useful commands to test that the AWS CLI is working:
aws sts get-caller-identity
aws s3 ls
Next, we’ll create a new project.