亚马逊网络服务 Apache 服务器
我试图了解在 AWS 上持续运行 apache 所带来的成本。假设该服务很少被使用,有谁知道仅仅坐在那里运行一个月会消耗多少 cpu 小时?我知道这有点不切实际,但我试图弄清楚在这个平台上部署应用程序的入门成本是多少(与 GAE 相比)。我怀疑它很小,但我想知道。
I am trying to get a feel for the costs imposed by running apache on AWS continually. Assuming that the service is scarcely used, does anyone know how many cpu hours that would eat up in a month just by sitting there and running? I understand that this is slightly impractical but I am trying to figure out what the cost of entry is to deploy an application on this platform (as compared to GAE). I suspect it to be small but I would like to know.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Amazon 按正常运行时间而不是 CPU 时间对 EC2 实例收费。最便宜的 Linux 实例类型费用为 8.5c/小时,即每月约 37 美元。您可以通过注册您计划运行的预留实例来减少这种情况长时间使用,或者使用您出价的现货定价实例你准备好付款了。
如果您将任何数据永久存储在 AWS 上,您还需要支付 EC2 网络进出数据传输的带宽费用以及存储费用。与运行实例的成本相比,这些成本应该很小。
Amazon charges for EC2 instances by uptime, not CPU time. The cheapest Linux instance type costs 8.5c / hour, or about $37 / month. You can reduce this by either signing up for a reserved instance that you plan to run for an extended period, or by using a spot priced instance where you bid the price you're prepared to pay.
You will also incur bandwidth charges for data transfer in and out of the EC2 network, and storage charges if you store any data permanently on AWS. These should be small compared with the cost of running the instance.
您随时可以在这里进行估算:
http://calculator.s3.amazonaws.com/calc5.html
You can always have an estimates here:
http://calculator.s3.amazonaws.com/calc5.html