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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン