Can an Application Load Balancer invoke an API Gateway HTTP API via a VPC Endpoint Interface?

0

I've been trying to implement the architecture described here : https://aws.amazon.com/blogs/networking-and-content-delivery/accessing-an-aws-api-gateway-via-static-ip-addresses-provided-by-aws-global-accelerator/, but replacing the API Gateway REST API with an HTTP API. However, I am running into 403 errors when my ALB tries to invoke the HTTP API via the VPC Endpoint Interface.

Enter image description here

Is this architecture possible?

  • please set the answer to Accepted Answer if you feel it has responded to your query. Thanks.

2 réponses
1
Réponse acceptée

To my knowledge API Gateway does not support Private API for HTTP APIs, it is only supported for REST APIs. If you look at the documentation , it is only under REST API and there is no reference to Private deployment for HTTP APIs.

AWS
répondu il y a 10 mois
profile picture
EXPERT
vérifié il y a 2 mois
profile pictureAWS
EXPERT
Uri
vérifié il y a 10 mois
0

Hi, is there a policy (maybe a default one) applied on your VPC Endpoint blocking its use by the ALB? Make sure the the ALB service is allowed to use your endpoint

See for details on those policies: https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints-access.html

Hope it helps!

Didier

profile pictureAWS
EXPERT
répondu il y a 10 mois
profile picture
EXPERT
vérifié il y a 5 mois
  • Hi Didier, thanks for the link. I do have the default endpoint policy described there which is * on * which is why I'm wondering if perhaps what i'm trying to do only works for REST API's and not HTTP API's.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions