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:
<Name> <Name>Access keysCreate New Access KeyShow Access KeyCopy key ID and access key to configuration
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