Not able to upload large files on nodejs app on Elastic Beanstalk

0

Hello guys, I deployed my web app on AWS Elastic Beanstalk and cannot able to upload large files. Small files upload works perfectly, but when I upload large size files, it gives me an error Request entity too large.Enter image description here

and my folder structure is below - Enter image description here

and .ebextensions folder I have two files - Enter image description here

and in logging.config - Enter image description here

and in nginx.config - Enter image description here

Please anyone guide me on where I am doing wrong, thanks for your time.

3개 답변
0
profile pictureAWS
전문가
답변함 2년 전
0

If you're storing the file in S3, the maximum size the file can be is 5 TB. The maximum for a single put command is 5 GB. https://aws.amazon.com/s3/faqs/#:~:text=Individual%20Amazon%20S3%20objects%20can,using%20the%20Multipart%20Upload%20capability.

답변함 2년 전
0

Also, if you are using multipart uploads, you might want to check out this article. AWS stores failed Multipart uploads in your S3 bucket and you pay for them. You don't have to use 7 days and wait that long for it to take effect. 1 day is the minimum. This article also shows you how to see if you have this storage in your bucket. https://aws.amazon.com/blogs/aws-cloud-financial-management/discovering-and-deleting-incomplete-multipart-uploads-to-lower-amazon-s3-costs/

답변함 2년 전

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

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

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