通过AWS Endpoints从内网访问S3

AWS S3作为非结构化数据的存储,经常会有内网中的app调用的需求。S3默认是走公网访问的,如果内网app通过公网地址访问S3并获取数据会消耗公网带宽费用。如下图所示:

AWS 提供了一种叫做endpoints的资源,这种资源可以后挂S3服务,使得内网服务可以不出公网访问S3.

VPC endpoints for Amazon S3 simplify access to S3 from within a VPC by providing configurable and highly reliable secure connections to S3 that do not require an internet gateway or Network Address Translation (NAT) device. When you create a S3 VPC endpoint, you can attach an endpoint policy to it that controls access to Amazon S3.

创建endpoints时,如果是S3,需选择gateway类型。

There are three types of VPC endpoints -- Interface endpoints, Gateway Load Balancer endpoints, and Gateway endpoints. Interface endpoints and Gateway Load Balancer endpoints are powered by AWS PrivateLink, and use an Elastic Network Interface (ENI) as an entry point for traffic destined to the service. Interface endpoints are typically accessed using the public or private DNS name associated with the service, while Gateway endpoints and Gateway Load Balancer endpoints serve as a target for a route in your route table for traffic destined for the service.

创建完成后(按需配置VPC,route table等),即可使用https://{{bucket-name}}.s3.ap-southeast-1.amazonaws.com通过aws内网(骨干网)访问S3了。

图片参考:https://www.youtube.com/watch?v=jo3X_aay4Vs

相关推荐
九河云1 天前
确保在AWS上的资源安全:构建坚不可摧的云安全防线
安全·云计算·aws
wumingxiaoyao3 天前
AWS 消息通知系统 SNS
云计算·aws·消息通知·cloudwatch·sns
九河云3 天前
变更AWS EC2 实例配置或实例类型
服务器·云计算·aws
九河云3 天前
如何在AWS账户上进行充值:一份详尽指南
云计算·aws
数云界4 天前
使用 CloudFront 将您的 Angular 应用程序托管为 AWS S3 网站
云计算·aws
佛州小李哥4 天前
沉浸式体验和评测Meta最新超级大语言模型405B
人工智能·机器学习·ai·语言模型·云计算·aws·亚马逊云科技
佛州小李哥6 天前
为数据仓库构建Zero-ETL无缝集成数据分析方案(下篇)
数据仓库·架构·数据分析·云计算·etl·aws·亚马逊云科技
Flying_Fish_roe6 天前
AWS Lambda 与 Java
java·云计算·aws
佛州小李哥7 天前
零基础5分钟上手亚马逊云科技-为网站服务器配置DNS域名
网络·科技·架构·云计算·开发·aws·亚马逊云科技
佛州小李哥7 天前
利用AI驱动智能BI数据可视化-深度评测Amazon Quicksight(四)
人工智能·信息可视化·数据分析·aws·数据·bi·亚马逊云科技