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?

feita há 2 anos110 visualizações
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas