Payload size limit on API Gateway

0

A customer is using API gateway, Lambda, and DynamoDB to build an API. They need an image uploading function and expect to receive 100-1000 images in the range of 5-50MB in size. API Gateway has a "payload size" limit of 10MB. Is there a way for them to implement the file upload functionality on the API and not be restricted by the payload size limit? What workarounds have other customers implemented?

1 Antwort
-1
Akzeptierte Antwort

Instead of posting the data directly to the API endpoint, they could implement their client to upload the image to S3 storage first and provide API Gateway a pointer to the bucket and key. If the operation can be asynchronous, you could use API Gateway to vend a signed URL for S3 to the client and use S3 notifications to handle the image processing via Lambda after the upload is completed.

AWS
EXPERTE
beantwortet vor 7 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen