文档对此有点不清楚-如果我在ec2实例上使用aws s3 sync从与该实例相同区域的s3 bucket下载和上传文件,我会为get和put付费吗?
否,您不会产生任何S3费用,因为从亚马逊S3存储桶传输到与S3存储桶相同的AWS区域内的任何AWS服务(包括传输到同一AWS区域的不同帐户(的数据是免费的。
点击此处查看官方定价信息。
更新
我知道这个问题只是关于数据传输。我的回答是正确的,因为数据传输确实是免费的。但是,其他标准S3收费DO适用。
You pay for requests made against your S3 buckets and
objects. S3 request costs are based on the request type, and
are charged on the quantity of requests as listed in the table
below. When you use the Amazon S3 console to browse your
storage, you incur charges for GET, LIST, and other requests
that are made to facilitate browsing. Charges are accrued at the
same rate as requests that are made using the API/SDK.
最佳,Stefan