A tutorial to setup and deploy a simple Serverless Python workflow with REST API endpoints in AWS Lambda.
- Working Knowledge of Python or Learn Here
- AWS Account with the appropriate permissions for AWS Lambda, API Gateway, AWS S3, and IAM. If it's your account, you already have this.
mkdir serverless-workflow
cd serverless-worlfow
git clone https://github.com/codingforentrepreneurs/Serverless-Python-Workflow-with-AWS-Lambda .
cp base/* .
rm -rf .git
rm -rf base
pipenv install -r requirements.txt --python 3.8
virtualenv -p python3.8 .
source bin/activate
pip install -r requirements.txt
If using
windows
withvirtualenv
just run.\Scripts\activate
You now have a baseline Lambda function working locally. Check out the code in the course directory or learn how to implement this code on cfe.