亚马逊EC2定价问题 [英] Amazon EC2 pricing question

查看:133
本文介绍了亚马逊EC2定价问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我把我的第一个步骤与云服务器的工作和chosed亚马逊EC2为这个项目。因为我有点对这个新人,我没有完全理解他们的定价:

  • 在什么时候一个实例怠速情况 并且彻底放弃任何连接。是否 它仍然花费了我们的钱?

这将是可悲的具有实例空转和成本我们钱的时候,我们没有使用这些......

非常感谢!

解决方案
  

当一个实例空转并且彻底放弃任何连接会发生什么情况。是否仍然花费了我们的钱?

是的,它的成本钱,当实例启动的,不管它是否富有成效的工作或没有。

  

这将是可悲的具有实例空转和成本我们钱的时候,我们没有使用这些......

EC2的好处是,你可以关闭空闲的情况下,后来又重新启动它们。 当然,对于一个面向公众的Web服务,你需要在所有的时间至少运行一台Web服务器,所以这更适用于高峰时间额外容量。

在此相反,谷歌App Engine的管理服务器实例自动生命周期,并为CPU周期(和其他资源)只法案,你实际使用。但是,为了让他们能够做到这一点,会严重限制你可以做什么,并相信他们能够正确地扩展您的应用程序(没有办法拿在服务器部署,积极参与)。

I took my first step today on working with cloud servers and chosed Amazon EC2 for this project. Since I am a bit of a newcomer on this, I didn't fully understand their pricing:

  • What happens when a instance is idling with no connections being made. Does it still cost us money?

It would be sad to have instances idling and costing us money when we do not use them...

Thanks a lot!

解决方案

What happens when a instance is idling with no connections being made. Does it still cost us money?

Yes, it costs money when the instance is powered-on, no matter if it does productive work or not.

It would be sad to have instances idling and costing us money when we do not use them...

The advantage of EC2 is that you can shut down idle instances and restart them later. Of course, for a public-facing web service, you need at least one web server running at all time, so this applies more for peak-time extra capacity.

In contrast, Google App Engine manages server instance lifecycle automatically, and only bills for CPU cycles (and other resources) that you actually use. But in order for them to be able to do that, you are severely limited in what you can do, and have to trust them to properly scale your application (no way to take an active part in server deployment).

这篇关于亚马逊EC2定价问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆