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.

asked a year ago303 views
3 Answers
0
profile pictureAWS
EXPERT
answered a year ago
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.

answered a year ago
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/

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions