All lecture and tutorial examples require the following in order to work: - Python 3.8 - A python virtual environment - Flask - zappa - AWS CLI Perform these steps to run the examples: 1) Install python 3.8 by following the instructions for your respective platform available at https://www.python.org/ 2) Download and unpack the example sources: a) Download the example sources, b) Open a shell and navigate to the location of the tar.gz file c) Uncompress and untar (e.g., tar -xzf solution.tar.gz) d) Go into the example directory (e.g., cd solution) 3) Create a new python virtual environment as follows: python -m venv venv For some platforms substitute python for python3 or python3.6 4) Activate the virtual environment source venv/bin/activate 5) Install Flask and Zappa pip install zappa flask Note for OSX users: If installation fails, add the following lines to your ~/.profile or ~/.bashrc and retry: LANG="en_US.UTF-8" 6) Install AWS Command Line Interface (CLI) Follow instruction in https://aws.amazon.com/cli/ 7) Install older version of troposphere required by zappa pip install -r requirements.txt 8) Before you can begin using zappa, you should set up authentication credentials. Credentials for your AWS account can be found in the IAM Console at https://console.aws.amazon.com/iam/home?#. You can create or use an existing user. Go to manage access keys and generate a new set of keys. You will need both the aws_access_key_id and aws_secret_access_key. 9) Configure your credentials aws configure 10) Edit the file zappa_settings.json. Set the value of the key "s3_bucket" to the name of one of your existing S3 buckets. 11) Deploy the example on AWS Lambda zappa deploy dev