3

I had deployed an application on EKS, and tried two ways of exposing it for traffic. though ingress is a better approach, I also tried directly exposing the application through a LB.

  1. Load Balancer: When I exposed a service directly through a load balancer, it was unable to receive file sizes greater then 20MB, I was having trouble finding out a way to configure the loadbalancer or the kubernetes service to accept a file of that size. I was always getting "413 Request Entity Too Large Error". Is there a way to configure the LB to accept file sizes more than a specific limit?

  2. Using ingress through nginx-ingress: I was able to configure nginx-ingress to accept file size greater than 25 MB and my application was working properly.

Hitesh jain
  • 103
  • 9
  • I suggest reaching out to AWS support to get some details, because I wasn't able to find any even references to this parameter or limits about it. And later you [can answer your own question](https://stackoverflow.com/help/self-answer) with their response because it will be useful for the community. – moonkotte Sep 03 '21 at 10:43
  • 1
    Do you found any solution? – shubham rasal Aug 09 '22 at 10:33
  • 1
    comment from aws support - Regarding your query, I have checked with my internal ELB Team and would like to inform you that, "ALB does not have any maximum payload size limit unless the target is a Lambda function." Hope it helps – Hitesh jain Jan 10 '23 at 07:09

0 Answers0