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
サポートエンジニア
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ