Can you have two API Gateway API methods integrate with Lambda functions in different VPCs?

0

Are there any potential issues to be aware of in an architecture where you integrate two public API Gateway API methods with two Lambda functions that are in different VPCs?

For example:

/resource1 -> lambda function 1 -> VPC A

/resource2 -> lambda function 2 -> VPC B

1 Risposta
0
Risposta accettata

Not really. That's the advantage of microservices: Not all of your resources need to be in the same VPC. However, it's important to keep in mind the best practice of granting the minimal number of privileges to your functions that are necessary. For more information, see Applying the principles of least privilege in the Lambda operator guide.

profile pictureAWS
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande