刚才试用了Amazon Web Services–免费1年EC2云VPS0+

8,448 views / 2010.12.11 / 11:11 下午

Amazon Web Services(AWS)是从今年11月1日起正式推出免费1年的云VPS,基于XEN、613M内存(支持32和64位平台)、10G存储容量、30G月流量、1G容量SimpleDB数据库等等,其实提供的服务和限制写的很详细的,但是感觉规则太复杂了,搞不好什么地方没搞明白就要被扣费,因为申请的时候要绑定信用卡。

这是免费声明:

New AWS customers will receive the following EC2 services each month for one year. Usage is calculated each month across all regions and automatically applied to your bill – unused monthly usage will not roll over. Restrictions apply; see offer terms for more details.

  • 750 hours of Amazon EC2 running Linux/Unix Micro Instance usage (613 MB of memory and 32-bit and 64-bit platform support) – enough hours to run steady state each month
  • 750 hours of Elastic Load Balancing plus 15 GB data processing
  • 10 GB of Amazon Elastic Block Storage (EBS) plus 1 million IOs, 1 GB snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests
  • 15 GB of bandwidth in and 15 GB of bandwidth out aggregated across all AWS services

2010-12-12补充:愤怒,刚才看账单,莫名其妙被Amazon扣除了2.4$.

Categories: 感悟 Tags:

js模拟php的shuffle函数,用来打乱一维数组3+

8,050 views / 2010.12.09 / 6:06 下午
Array.prototype.shuffle = function() {
for(var j, x, i = this.length; i; j = parseInt(Math.random() * i), x = this[--i], this[i] = this[j], this[j] = x);
return this;
};
 
非原创,纯分享
Categories: 分享 Tags: ,