What are the steps to setting up a VPC endpoint for a private api in account B that is being called in account a through an http vpc link for a http api

0

I am setting up a VPC endpoint to allow communication between my two AWS Accounts. Account A is using an http api with cloud map to call the private api in account b. I need to setup a VPC endpoint in account b to allow this. I need to specify service, VPC, subnets, and security groups. What do I need to make sure I configure in this VPC endpoint creation to make this communication between accounts possible?

preguntada hace un mes167 visualizaciones
1 Respuesta
0

Hello,

I believe this is the follow-up query for this re:Post question

I understand that your you want to create a cross-account setup in which you have HTTP API, CloudMap in account A and Private REST API in account B. You want to access Private REST API in account B from HTTP API via CloudMap in account A.

Please note that you can access your private APIs through interface VPC endpoints for API Gateway, so the service name should be execute-api. As mentioned in the above re:Post question you can access the Private API from cross-account using this format https://{rest-api-id}-{vpce-id}.execute-api.{region}.amazonaws.com/{stage}

For additional recommendations and insights related to cross-account setups, I recommend referring to the following articles:

Thank you

AWS
INGENIERO DE SOPORTE
respondido hace un mes
profile picture
EXPERTO
revisado hace un mes

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