- 最新
- 投票最多
- 评论最多
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:
- https://repost.aws/knowledge-center/fargate-service-discovery-cloud-map
- https://docs.aws.amazon.com/whitepapers/latest/best-practices-api-gateway-private-apis-integration/http-api.html#private-integration-cross-account-1
- https://docs.aws.amazon.com/cloud-map/latest/dg/registering-instances.html
- https://docs.aws.amazon.com/cloud-map/latest/dg/tutorial-microservices.html
- https://aws.amazon.com/blogs/architecture/new-application-integration-with-aws-cloud-map-for-service-discovery/
- https://repost.aws/knowledge-center/api-gateway-private-cross-account-vpce
Thank you
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 7 个月前