Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document serverless deployment (as aws lambda) #152

Open
demeringo opened this issue Feb 5, 2023 · 1 comment
Open

Document serverless deployment (as aws lambda) #152

demeringo opened this issue Feb 5, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@demeringo
Copy link
Collaborator

Problem

API can be deployed as aws lambda but it is not described in the doc.

Solution

  1. verify that the serverless deployment stills works OK (not tested in a while....)
  2. Add a paragraph in the deploy section of documentation:
    https://doc.api.boavizta.org/Reference/deploy/

Alternatives

Additional context or elements

@demeringo demeringo self-assigned this Feb 5, 2023
@demeringo demeringo added the documentation Improvements or additions to documentation label Feb 5, 2023
@demeringo
Copy link
Collaborator Author

A quick test shows that existing serverless config does not deploy anymore 😢

Seems related to the size of un-zippped python deps > 250 MB (which is default lambda limit).

An alternative for a quick workaround could be to deploy a docker image to lambda.
See:

If confirmed I'll move it to it's own issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant