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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南