Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The repository is located at the Github Repository. Setup instructions can be found there as well.

AWS Chalice

Using AWS Chalice will allow for the dashboard backend to be fully integrated in the AWS environment.

API documentation for the AWS Python SDK can be found here. Using the Python SDK will allow for access to all AWS Services, including but not limited to: Lambda, S3, DynamoDB, etc. Chalice is a frame work that will allow for easy deployments of Lambda Functions and APIs. It can also generate CRON jobs that will run on custom intervals.

Deployment

Deployment for the AWS Chalice APIs will need to be managed by the Dashboard team. However, further development will likely need to include updated IAM roles which the Infrastructure team will need be involved in. 

Once a Chalice API is deployed, an API URL will be generated and can be immediately used in testing or production environments. 

Extra Notes

Lambda functions have a memory limit of 50mb. Therefore, dependencies installed needs to be kept at a minimum. Using libraries such as Pandas and Numpy will work. However, using those libraries with other larger libraries will likely not work. The AWS Lambda 50mb limit is currently a hard limit. However, there is a likelihood that it will be increased in the future.