Best way to expose your services

0

I have a client-server architecture where each client and the server is associated with an AWS account. What is the best way I can expose services from the Server account to the clients? Now each client connects to the server from lambda to lambda connections. Is exposing all the services through an AppSync is better? Are there any other ways more suitable?

1回答
1

There are a couple of ways to achieve this architecture. Depending on the level of access (security) required - in addition to your method.

You can peer the VPCs, but the security issue is, this will open up the entire VPC in the shared services (server) account. https://docs.aws.amazon.com/vpc/latest/peering/create-vpc-peering-connection.html

The second method, much easier and secure is using AWS Private-Link: https://docs.aws.amazon.com/vpc/latest/privatelink/privatelink-share-your-services.html

This method uses a NLB to front the application (Lambda in your case), and a VPC-Endpoint to route traffic privately from the consumer (client) account. '

I'd recommend setting up a POC for this, initially, then duplicating into a staging account.

AWS
KAS
回答済み 3ヶ月前

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

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

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

関連するコンテンツ