- Python 3.9+
- AWS Chalice
- Ensure access to AWS and proper permissions.
- Create 2 AWS SQS queues. The functions deployed by this repo will need the following Action roles to be able to access the queues:
- sqs:DeleteMessage
- sqs:GetQueueUrl
- sqs:ReceiveMessage
- sqs:SendMessage
- Modify the values of the following in app.py to match the names of the added queues and the S3 bucket containing bagged files:
- SQS_QUEUE_DERIV
- SQS_QUEUE_PDF
- S3_BUCKET
- Adjust
Default visibility timeout
of SQS queues (default is 30 seconds) to matchlambda_timeout
(default is 60 seconds) - Adjust
lambda_memory_size
in Chalice's config.json to your needs before deploying. - To deploy run
chalice deploy
- Create deployment script to setup AWS service dependencies and roles
- Store results in a database
The following are notes to help with working with AWS Lambda and Chalice