I am in the process of replacing nginx. Currently, my nginx instance routes traffic to an s3 bucket OR to apigateway (apigateway then routes traffic to different lambda functions).
Originally, I was considering replacing the nginx routing with an application load balancer, but I can't find any information on how to set up api gateway as a target group for the alb. Also for context, we want to keep our current apigateway as is.
My main questions are:
- Is it possible to make apigateway a target group for an alb?
- Is this a reasonable approach? Or would it make more sense to just move all the routing logic into apigateway? Or some other alternative?
Thanks in advance!