什么是 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.

使用事例:

通过

相关推荐
2501_930472443 小时前
上云迁移验收-CVM健康校验用例与数据库比对报告
数据库·人工智能·阿里云·云计算·腾讯云
AI_Cloud_推荐4 小时前
Android集成百度人脸离线SDK实战:从环境搭建到活体检测(附避坑清单)
android·人工智能·百度·云计算·视觉检测·智能硬件
小马同学-5 小时前
01 容器技术概述
运维·docker·云计算
悟乙己6 小时前
逛逛阿里云 官方Skills 门户
阿里云·云计算
2501_930472446 小时前
深度复盘|数据库迁移实战(上):腾讯云助手解析慢查询日志,定位索引缺失与语法不兼容
数据库·阿里云·ffmpeg·云计算·腾讯云·aws
万象新讯6 小时前
申请 AWS Activate 的初创企业要满足什么条件,需准备哪些资料?
大数据·人工智能·aws
商业看点解说7 小时前
AWS Activate除了提供云积分,还能为初创企业提供哪些技术和生态资源?
aws
yunlaodacom1 天前
腾讯云国际版代理商:COS标准、低频、归档和深度归档怎么选?存储成本与数据取回区别
数据库·云计算·腾讯云
sbjdhjd1 天前
从 assert 动态调用报错到临时文件链路:PHP 5.6 与 7.3 授权靶场中的短 payload 复盘 | (17字符绕过)
安全·网络安全·数据挖掘·开源·云计算·php·字符绕过
sbjdhjd1 天前
从 7 字符文件名拼接到二维数组取值:PHP 无参函数限制下的受控靶场复盘 | (7字符绕过)
网络·nginx·安全·网络安全·云计算·php·apache