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?

preguntada hace 2 años110 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas