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개 답변
-1
수락된 답변

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
전문가
답변함 7년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠