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?

1개 답변
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
지원 엔지니어
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠