Fargate without API Gateway

0

My service's current architecture is : Client --> Service global API gateway --> GraphQL Router --> sub-Service X API Gateway --> sub-Service X Lambda. Here problem is client is going to send 20MB request but API Gateway limit is of 10MB and lambda limit is of 6MB. So I am exploring whether can I use fargate instead of lambda and can also avoid API gateway to avoid any payload limits ?

Or we are also open to use any other compute instance other than fargate which doesn't have any payload size limits.

Also, we know S3 upload is one of the solution, but due to some limitation we cannot use that approach.

2개 답변
1

I answered with the URL below, but I think it is possible to avoid payload restrictions by using ALB and EC2, ECS, etc.
A possible disadvantage is that it is executed on demand, so it may be more expensive than API Gateway or Lambda.
https://repost.aws/ja/questions/QU9rp0yBOWTOeQy3TiMyBcKg/scaling-problem-api-gateway-and-lambda-payload-limits

profile picture
전문가
답변함 2달 전
1

Hi,

A very key feature of API Gateway is that it is secured by AWS IAM in terms of Authentication and Authorization. Replicating the level of security of IAM on your own will be hard if you decide to reach Fargate container directly (which is possible).

So, I'd recommend to think twice before eliminating it.

Best,

Didier

profile pictureAWS
전문가
답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인