AWS Lambda + S3 = Problem when uploading assets #4305
dlhck
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I stumbled upon problem when using AWS lambda, when I try to upload assets larger than 6MB, it fails due to lambda constraints.
Describe the solution you'd like
I think it might be good extend both AdminUI and AdminAPI to use pre-signed uploads directly to S3 (as part of S3 Asset strategy).
This would give the possibility to use admin ui with bigger images or simply more images where summed size is bigger than 6mb
Describe alternatives you've considered
Loading the assets already uploaded to s3 (this would mean to be able to create asset without image and then just fill in the links)
Additional context
https://blog.thundra.io/aws-lambda-limits-to-keep-in-mind-when-developing-a-serverless-application
https://enlear.academy/upload-files-to-aws-s3-using-signed-urls-fa0a0cf489db
https://theburningmonk.com/2020/04/hit-the-6mb-lambda-payload-limit-heres-what-you-can-do/
Beta Was this translation helpful? Give feedback.
All reactions