Amazon Web Services

Sources:

AWS Credentials Setup

Install AWS CLI and start configuring:

pipx install awscli

aws configure
# AWS Access Key ID [None]:      <id>
# AWS Secret Access Key [None]:  <key>
# Default region name [None]:    eu-central-1
# Default output format [None]:  text

Go to credentials menu:

  1. AWS Console

  2. <Name> <Name>

  3. My Security Credentials

  4. Access keys
    1. Create New Access Key

    2. Show Access Key

    3. Copy key ID and access key to configuration

  5. Multi-factor authentication

Chalice Serverless Framework

# Bootstrap project
chalice new-project helloworld
# Deploy function and try it out
chalice deploy
curl https://qxea58oupc.execute-api.us-west-2.amazonaws.com/api/
# Cleanup
chalice delete