ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

服务 · Networking and Content Delivery · 基于 CLF-C02

AWS PrivateLink

Expose one service to other VPCs and accounts privately, with no routing between the networks.

本课尚未翻译,暂以英文显示。

你在云从业者中已学过

  • PrivateLink gives private access to a service, not to a whole network.
  • The consumer creates an interface endpoint in its own subnet.
  • Traffic stays on the AWS network.
阅读云从业者课程
Consumer VPCProvider
Consumer application
Interface endpoint
NLB and GWLB
Service
PrivateLink
The consumer sees one private IP address. Nothing else crosses over.
  • S3 or DynamoDB from a VPC

    Use
    Gateway endpoint
    Note
    Free, route table entry
  • Other AWS services, privately

    Use
    Interface endpoint
    Note
    PrivateLink, hourly fee
  • Your service for other VPCs

    Use
    Endpoint service
    Note
    Needs an NLB or GWLB
  • Full network access

    Use
    Peering or Transit Gateway
    Note
    No overlap allowed
Which private connection to pick.

是什么

The SAA view is from the provider side. You run a service behind a Network Load Balancer. You publish it as an endpoint service. Each consumer creates an interface endpoint in its own VPC, which appears as a network interface with a private IP address there. The consumer connects to that address. Only that service is reachable, and only in one direction, from the consumer to the provider.

是什么

Because no routes join the two VPCs, their address ranges can overlap. That makes PrivateLink the answer when you sell or share a service with hundreds of customer VPCs, or when ranges clash. Put an interface endpoint in each Availability Zone you use. The provider approves connection requests. Gateway Load Balancer endpoints use the same technology to send traffic to security appliances.

要记住

  • Provider: Network Load Balancer (or Gateway Load Balancer) plus an endpoint service.
  • Consumer: an interface endpoint, which is a private IP address in its VPC.
  • One way: the consumer calls the service. No access to the rest of the provider’s network.
  • Overlapping address ranges are fine.

要记住

  • Costs an hourly fee per endpoint per Availability Zone, plus a charge per GB.

考试中

  • “Share one application with many customer VPCs without exposing the VPC” points to PrivateLink.
  • “Overlapping CIDR blocks” and “only one service must be reachable” points to PrivateLink.
  • “Reach Amazon S3 or DynamoDB privately at no cost” points to a gateway endpoint, not PrivateLink.