简体   繁体   English

从服务器发送给用户的数据,是从s3数据输出还是从ec2数据输出?是指AWS

[英]the data sent to users from servers,is it data out form s3 or data out from ec2 ?refering to AWS

I was using the aws monthly calculator and hence got this question. 我使用的是aws月度计算器,因此遇到了这个问题。 The data is sent from the servers to the users of the app.Now the data is data out for sure. 数据从服务器发送到应用程序的用户。现在,数据已经确定了。 But from where??..Out from s3 or form ec2 and if one then why not the other. 但是从哪里?? ..从s3或ec2表格中取出,如果有一个,那么为什么不另一个。

This depends entirely on how you design your application. 完全取决于如何设计应用程序。 Most applications would have some data out from EC2 and some data out from S3. 大多数应用程序将从EC2发出一些数据,从S3发出一些数据。 It depends on which system the browser is actually connected to when the data is sent, which is determined by your code. 它取决于发送数据时浏览器实际连接到的系统,这由您的代码确定。

Fundamentally, though, the difference shouldn't matter, because data out from S3 to the Internet and data out from EC2 to the Internet are billed at the same price. 但从根本上讲,差异无关紧要,因为从S3到Internet的数据和从EC2到Internet的数据都以相同的价格计费。

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

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