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.

已提问 2 年前326 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则