Google App Engine和Amazon S3,EC2价格比较
Friday, May 30th, 2008GAE刚刚开放注册了,并且增加了memcache和image API, 可以说超实用又迈进了一步, 这篇blog中还宣布了未来的价格:
Although we’re not ready to offer this ability now, we’ve been asked by many developers to provide some insight into how we’ll be pricing App Engine usage for applications that have exceeded the free quota of 500 MB of storage and around 5M pageviews per month. We’d like to be transparent about this, and have announced today that developers can expect to pay:
$0.10 - $0.12 per CPU core-hour $0.15 - $0.18 per GB-month of storage $0.11 - $0.13 per GB outgoing bandwidth $0.09 - $0.11 per GB incoming bandwidth
我不由得马上跑到amazon上去比较一下S3和EC2的价格。
S3目前的价格:
United States
Storage
$0.15 per GB-Month of storage usedData Transfer
$0.100 per GB - all data transfer in
$0.170 per GB - first 10 TB / month data transfer out
$0.130 per GB - next 40 TB / month data transfer out
$0.110 per GB - next 100 TB / month data transfer out
$0.100 per GB - data transfer out / month over 150 TBRequests
$0.01 per 1,000 PUT, POST, or LIST requests
$0.01 per 10,000 GET and all other requests*
* No charge for delete requestsEurope
Storage
$0.18 per GB-Month of storage usedData Transfer
$0.100 per GB - all data transfer in$0.170 per GB - first 10 TB / month data transfer out
$0.130 per GB - next 40 TB / month data transfer out
$0.110 per GB - next 100 TB / month data transfer out
$0.100 per GB - data transfer out / month over 150 TBRequests
$0.012 per 1,000 PUT, POST, or LIST requests
$0.012 per 10,000 GET and all other requests*
* No charge for delete requestsData transfer “in” and “out” refers to transfer into and out of Amazon S3. Data transferred between Amazon EC2 and Amazon S3, is free of charge (i.e., $0.00 per GB), except data transferred between Amazon EC2 and Amazon S3-Europe, which will be charged at regular rates.
Storage and bandwidth size includes all file overhead.
(Amazon S3 is sold by Amazon Web Services LLC.)
可以看到,目前在文件存储和传输方面两者价格是非常接近的,考虑到GAE提供500M的免费空间和每月5M的免费PV,在文件保存和传送方面GAE更有吸引力。S3完全是不免费的,我现在每月信用卡帐单上都有几分钱的支出,就是因为我在s3里放了一点点测试数据。
虽然GAE目前并不纯粹提供和S3相当的文件服务,但相信很快、也相当容易就可以提供一个这样的GAE应用出来。
EC2的价格:
Instances
Standard Instances
Instances of this family are well suited for most applications.
$0.10 - Small Instance (Default)1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of instance storage, 32-bit platform
$0.40 - Large Instance
7.5 GB of memory, 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), 850 GB of instance storage, 64-bit platform
$0.80 - Extra Large Instance
15 GB of memory, 8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platform
High-CPU Instances
Instances of this family have proportionally more CPU resources than memory (RAM) and are well suited for compute-intensive applications.
$0.20 - High-CPU Medium Instance1.7 GB of memory, 5 EC2 Compute Units (2 virtual cores with 2.5 EC2 Compute Units each), 350 GB of instance storage, 32-bit platform
$0.80 - High-CPU Extra Large Instance
7 GB of memory, 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each), 1690 GB of instance storage, 64-bit platform
Pricing is per instance-hour consumed for each instance type. Partial instance-hours consumed are billed as full hours.
EC2 Compute Unit (ECU) - One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor. See Amazon EC2 Instance Types for details on available instance configurations and a complete description of an EC2 Compute Unit.
Data Transfer
Internet Data Transfer
$0.100 per GB - all data transfer in$0.170 per GB - first 10 TB / month data transfer out
$0.130 per GB - next 40 TB / month data transfer out
$0.110 per GB - next 100 TB / month data transfer out
$0.100 per GB - data transfer out / month over 150 TBData transfer “in” and “out” refers to transfer into and out of Amazon EC2.
Data transferred between Amazon EC2 and Amazon S3-US or Amazon SimpleDB, is free of charge (i.e., $0.00 per GB), except data transferred between Amazon EC2 and Amazon S3-Europe, which will be charged at regular rates.
Amazon S3 usage is billed separately from Amazon EC2; charges for each service will be billed at the end of the month.
Availability Zone Data Transfer
$0.00 per GB - all data transferred between instances in the same Availability Zone using private IP addresses.Regional Data Transfer
$0.01 per GB in/out - all data transferred between instances in different Availability Zones in the same region.Public and Elastic IP Data Transfer
$0.01 per GB in/out - If you choose to communicate using your Public or Elastic IP address inside of the Amazon EC2 network, you’ll pay Regional Data Transfer rates even if the instances are in the same Availability Zone. For data transfer within the same Availability Zone, you can easily avoid this charge (and get better network performance) by using your private IP whenever possible.* Please note that Regional Data Transfer and Public and Elastic IP Data Transfer will be charged at $0.00 per GB through June 30, 2008. This is to allow current Amazon EC2 users to optimize the placement of instances before incurring any charges. See Availability Zones for tools to describe instance location.
Elastic IP Addresses
No cost for Elastic IP addresses while in use
$0.01 per non-attached Elastic IP address per complete hour
$0.00 per Elastic IP address remap - first 100 remaps / month
$0.10 per Elastic IP address remap - additional remap / month over 100(Amazon EC2 is sold by Amazon Web Services LLC.)
EC2 和 GAE比较是有一点拿苹果和梨子比,因为两者提供的并不对等, GAE只能host 应用, EC2能提供货真价实的虚拟机给你完全控制,但GAE保证帮你实现app的load balance和scalability, EC2就只能靠你的应用来自己实现。
单纯从CPU使用的价格上来看, GAE更便宜,和Ec2的数据传送价格比, GAE也有优势。 总体上来看, GAE是比较有竞争优势的,因为GAE的哲学可能是Just alright, 对大多数服务和应用来说刚好够用,EC2更加专业化一些,但很多场合下并不需要。
Microsoft呢?
Microsoft并没有闲着看,这个SSDS就是答案,现在还是close beta状态,但文档可以直接访问。 不得不说这个名字SSDS取得不太好,也很容易误导。
目前还没有公布价格,所以无从比较。 SSDS提供的服务应该认为是S3的增强版本,不但可以保存文件还可以保存结构化数据,并且能用LINQ语法进行一些查询。 我刚刚拿到测试帐户,还没有仔细看。
其实Microsoft拥有IIS, ASP.NET, Visual Studio等全套的东西,完全应该能提供出类似于GAE并且比GAE完善得多的方案,让开发、部署基于ASP的应用易如反掌,而且这种host类型的服务,不但不会影响传统的销售,还会更好地吸引个人开发者和startup公司,实在是太太太太应该提供了!!! 然而,我还没有听说类似的计划和项目。 :( :( :(
这里说个题外话就是很多新的startup 尤其互联网startup用Microsoft产品的非常少,大部分都是LAMP阵营的,未来可能是GOP(Google + Python,不是共和党
)的, Microsoft的web方面产品其实从某些角度对startup有不少优势,然而由于没有几乎为0的入门门槛,以及一些”不cool”的感觉因素,导致了目前这种局面,实在觉得很应该扭转过来。 Microsoft有一个针对startup的计划Microsoft Startup Zone,让“合格”的startup可以以很低的价格购买Microsoft系列产品,然而既然是startup, 一开始的时候谁有精力去搞这些呢? 这就是为什么Just all right的产品更容易吸引startup的原因。 因此我觉得GAE将大大降低startup的资金入门门槛, 可以让startup更多把资源用在创新上,是非常有竞争力的。
当然,既然评论了不少公司和产品,得声明一下:本文纯属个人观点,不代表我所在公司观点.



About


































































