I have Fargate ECS task which is under ALB and everything is working fine.
Since this ALB is internal, I want to expose it via the new HTTP API Gateway via VPC link for HTTP API.
I have created the new VPC link for HTTP API (specifying the security group and subnets for the internal ALB), and created HTTP API Gateway and connected it to the VPC link + ALB.
I am trying to map specific routes (and {proxy+} as well in other cases), but it seems that I am getting,
{
"message": "Service Unavailable"
}
on the correct links.
(On the non existing URLs, I get 404 - as expected).
I tried this also with internet facing ALB (connecting it via VPC link as well - for testing purposes only), but it seems this is again the case.
I even tested it with NLB with HTTP API VPC link - and still same behavior.
Any idea if this even works? (Since it is in the UI, I assume it does?)
UPDATE:
It seems that it works only in default stage For other stages, I have created (dev and beta) for which I get 404.
To me, it seems that since the URLs for dev and beta are /dev and /beta, the load balancer is 'getting confused'.