I'm using Node/Express for my server and am trying to save photos from the client (mobile app) to the server, and am deployed using AWS elastic beanstalk. It works fine on AWS if I use small files (a few kb), and works fine if I use large files (several MB) if I run the server on my machine locally. However, I can't seem to get large files to save to the deployed AWS server properly. Is there a size limit by default on Elastic Beanstalk setups? I have the following line in my server code, which seems to work fine with I run the server locally.
app.use(express.limit('15mb'));
Thanks in advance for any help!