Deployment via S3 ?
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
I have a Chalice app which is breaching the Lambda size limit, probably due to the inclusion of `scipy` -
> An error occurred (RequestEntityTooLargeException) when calling the
> CreateFunction operation: Request must be smaller than 69905067 bytes for the
> CreateFunction operation
>
> This is likely because the deployment package is 62.4 MB. Lambda only allows
> deployment packages that are 50.0 MB or less in size. To avoid this error,
> decrease the size of your chalice application by removing code or removing
> dependencies from your chalice application.
This article suggests its possibly to bypass the size restriction by deploying via S3 -
https://hackernoon.com/exploring-the-aws-lambda-deployment-limits-9a8384b0bec3
is there any `chalice deploy` support (or equivalent) for deploying in this fashion ?
Contributor guide
Research direction
Start with the `chalice deploy` entry point and the AWS Lambda `CreateFunction` deployment flow described in the issue. Determine how an S3-based package upload would fit the existing deployment process; done means a Chalice app exceeding the direct package limit can deploy through S3, with appropriate coverage or verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- backend, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100