API Gateway -> Fargate using VPC Link, CloudMap, Service Connect and no Load Balancer

0

I have a simple web api that's running in Fargate with an ALB and working great but the cost of the load balancer is not worth it for this project. I've started to setup using a VPC link and CloudMap with Api Gateway instead but can't find any complete tutorials on how to accomplish this and getting "Internal Server Error" hitting my Api Gateway url with no sign of anything in any of the logs.

I believe this is because I don't have any CloudMap Services Instances. When I try to create one it asks me for IPv4 and IPv6 address and a port, which I don't know where to get this from.

My current setup:

Api Gateway

  • Http api
  • $default route
  • CloudMap Integration for $default pointing to my VPC Link

VPC Link

  • VPC link for HTTP APIs
  • 5 of 6 subnets (one could not be added)
  • Security group to allow inbound http access to my api's port 80

Fargate

  • Service uses Service Connect, Client side only

CloudMap

  • Route 53 Health Checks

Thanks, Jon

沒有答案

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

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

回答問題指南