Deploying the backend application onto AWS Lambda.
This application requires the frontend Amplfy Application to be setup and running on the same account and region.
- Run the
create_lambda.bat
script for Windows machines orcreate_lambda.sh
for Linux machines and follow the prompts - In the AWS console, navigate to the newly created lambda function
- Click on the Add Trigger Option
- Add a S3 create object trigger associated to the S3 bucket that Amplify created
If you make any updates to index.py
, you must run lambda.sh
on a machine with the same OS as Python3.8 in AWS Lambda
- see here for more information