什么是 AWS PrivateLink

您可以使用 Amazon VPC 定义虚拟私有云(VPC),这是一个逻辑隔离虚拟网络。您可以在 VPC 中启动 AWS 资源。您可以允许 VPC 中的资源连接到该 VPC 外部的资源。例如,向 VPC 添加互联网网关以允许访问互联网,或添加 VPN 连接以允许访问您的本地网络。或者,使用 AWS PrivateLink 允许您的 VPC 中的资源使用私有 IP 地址连接到其他 VPC 中的服务,就像这些服务直接托管在您的 VPC 中一样。

架构示意图:

Service provider: 服务的所有者是服务提供商。服务提供商包括AWS、AWS合作伙伴和其他AWS帐户。服务提供商可以使用AWS资源(如EC2实例)或使用本地服务器来托管其服务。

Endpoint service:服务提供者必须建立一个端点服务,同时在创建端点服务时,服务提供商必须指定负载均衡器。负载均衡器接收来自服务使用者的请求并将请求路由到您的服务。

Service Names:每一个端点服务必须指定一个服务名。在创建 VPC 端点时,服务消费者必须指定服务名称。服务使用者可以查询 AWS 服务的服务名。服务提供商必须与服务使用者共享其服务名称。

Service states:端点服务的状态如下所示

  • Pending - The endpoint service is being created.

  • Available - The endpoint service is available.

  • Failed - The endpoint service could not be created.

  • Deleting - The service provider deleted the endpoint service and deletion is in progress.

  • Deleted - The endpoint service is deleted

Service Consumer :连接端点服务的服务消费者。

VPC endpoint: 服务消费者通过VPC端点来连接端点服务。建立VPC端点时必须指定端点服务的服务名。VPC端点有以下类型:

  • Interface - Create an interface endpoint to send TCP traffic to an endpoint service. Traffic destined for the endpoint service is resolved using DNS.

  • GatewayLoadBalancer - Create a Gateway Load Balancer endpoint to send traffic to a fleet of virtual appliances using private IP addresses. You route traffic from your VPC to the Gateway Load Balancer endpoint using route tables. The Gateway Load Balancer distributes traffic to the virtual appliances and can scale with demand.

There is another type of VPC endpoint, Gateway, which creates a gateway endpoint to send traffic to Amazon S3 or DynamoDB. Gateway endpoints do not use AWS PrivateLink, unlike the other types of VPC endpoints. For more information, see Gateway endpoints.

使用事例:

通过

相关推荐
独行soc1 小时前
2025年渗透测试面试题总结-阿里云[实习]阿里云安全-安全工程师(题目+回答)
linux·经验分享·安全·阿里云·面试·职场和发展·云计算
weixin_579732103 小时前
腾讯云存储原理
云计算·腾讯云
Akamai中国3 小时前
分布式AI推理的成功之道
人工智能·分布式·云原生·云计算·云服务·云平台·云主机
一个没有感情的程序猿6 小时前
当 PyIceberg 和 DuckDB 遇见 AWS S3 Tables:打造 Serverless 数据湖“开源梦幻组合”
开源·serverless·aws
忍者算法6 小时前
AWS VPC 核心笔记(小白向)
笔记·云计算·aws
Johny_Zhao8 小时前
VMware workstation 部署微软MDT系统
网络·人工智能·信息安全·微软·云计算·系统运维·mdt
AWS官方合作商10 小时前
高可用消息队列实战:AWS SQS 在分布式系统中的核心解决方案
云计算·aws·云服务器
算命吗?你算什么东西1 天前
腾讯云-人脸核身+人脸识别教程
服务器·云计算·腾讯云·环境搭建·人脸·人脸核身
杰克逊的日记1 天前
阿里云的网络有哪些
网络·阿里云·云计算
萌狼蓝天1 天前
[SSL]1Panel添加阿里云DNS账户
网络·网络协议·阿里云·云计算·ssl