简体   繁体   English

S3 存储桶定价和性能

[英]S3 Bucket pricing and performance

I want to know if there are charges for uploading/dropping files in an S3 bucket created in EU region from a lambda function running in the US region.我想知道从美国地区运行的 lambda 函数上传/删除在欧盟地区创建的 S3 存储桶中的文件是否收费。

Also how much of a performance hit it is, to have lambda function and the S3 bucket to be present in these two different regions.此外,在这两个不同区域中存在 lambda 函数和 S3 存储桶对性能有多大影响。

Please help!!请帮忙!!

There's no charge for data transferred into S3, but you would be charged for data transferred from your Lambda function outside of the region the function executed in (charged at EC2 data transfer rates).传输到 S3 的数据不收费,但您需要为从 Lambda 函数传输到函数执行区域之外的数据收费(按 EC2 数据传输费率收费)。 You're also charged similarly for data into a Lambda function, if that data originates from outside the Lambda function's region.如果数据来自 Lambda 函数区域之外,您还需要为输入 Lambda 函数的数据支付类似的费用。

For performance, I'd recommend that you test it and also see what the internet has to say about cross-region write performance to S3 (eg takipi/aws-s3-speed ).对于性能,我建议您对其进行测试,并查看互联网对 S3 的跨区域写入性能的看法(例如takipi/aws-s3-speed )。 Also, consider S3 Transfer Acceleration and Multi-Region Access Points .此外,请考虑 S3 传输加速多区域接入点

The configured RAM size of your Lambda functions will impact their network bandwidth, so consider testing with large RAM Lambda functions. Lambda 函数的配置 RAM 大小将影响其网络带宽,因此请考虑使用大型 RAM Lambda 函数进行测试。

And, generally, be aware of S3 Performance Guidelines .并且,一般来说,请注意S3 性能指南

You might also consider writing to an S3 bucket in the same region and have S3 replicate it cross-region.您还可以考虑写入同一区域中的 S3 存储桶,并让 S3 跨区域复制它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM