AWS Api Gateway: how to expose new services automatically?

1

Hi everyone, I'm searching for a way to expose service routes to Api Gateway automatically. The flow should be the following:

  1. New service in EKS is created
  2. Two proxy resources added to api gateway /public/<service-name> and /private/<service-name>
  3. Integration with new service added to created resources (perhaps we would have ALB per service, so it resource integration would be done through ALB)
  4. Api gateway redeployed

So far, I've come up with the solution using a lambda function which will listen to cloudtrail ALB creation event and make calls to API gateway to create new resources and publish them, but I feel that there should be something more AWS native that works out of the box.

  • Hi, did you find a way to implement such automatic scenario?

已提問 2 年前檢視次數 110 次
沒有答案

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

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

回答問題指南