Currently the Strapi middleware in charge of parsing requests needs to be configured to support file sizes larger than the default of 200MB.
You can pass configuration to the middleware directly by setting it in the parser middleware configuration in config/middleware.js
module.exports = {
//...
settings: {
parser: {
enabled: true,
multipart: true,
formidable: {
maxFileSize: 200 * 1024 * 1024 // Defaults to 200mb
}
}
},
//...
};
Btw, If you are using nginx as the reverse proxy server in your EC2, then you also need to update client_max_body_size
parameter. Refer this How to edit nginx.conf to increase file size upload