42

使用Python boto3上传Windows EC2实例中的文件至S3存储桶中-戴柏阳的博客

 5 years ago
source link: http://blog.51cto.com/daibaiyang119/2146091
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一、创建终端节点    为什么要创建终端节点,把VPC和S3管理起来呢?如果不将VPC和S3通过终端节点管理起来,那么VPC中EC2实例访问S3存储桶是通过公共网络的;一旦关联起来,那么VPC中EC2实例访问S3存储桶走的就是内部网络。好处有两个:1. 走内部网络就不会产生流量费用;2. 走内部网络速度快,不会因为网络原因导致我们的Python脚本产生异常。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK