The Full Wiki

Amazon Elastic Compute Cloud: Wikis

  

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

From Wikipedia, the free encyclopedia

Amazon Elastic Compute Cloud (also known as "EC2") allows users to rent computers on which to run their own computer applications. EC2 allows scalable deployment of applications by providing a web service through which a user can boot an Amazon Machine Image to create a virtual machine, which Amazon calls an "instance", containing any software desired.

A user can create, launch, and terminate server instances as needed, paying by the hour for active servers, hence the term "elastic". EC2 provides users with control over the geographical location of instances which allows for latency optimization and high levels of redundancy. For example, to minimize downtime, a user can set up server instances in multiple zones which are insulated from each other for most causes of failure such that one backs up the other.[1]

Amazon.com provides EC2 as one of several web services marketed under the Amazon Web Services (AWS) brand.

Contents

History

Amazon announced a limited public beta of EC2 on August 25, 2006.[2] Access to EC2 was granted on a first come first served basis. Amazon added two new instance types (Large and Extra-Large) on October 16, 2007.[3] On May 29, 2008, two more types were added, High-CPU Medium and High-CPU Extra Large.[4] There are currently seven types of instances available.

Amazon added three new features on March 27, 2008.[5] These features included static IP addresses, Availability Zones, and User Selectable Kernels. Amazon added Elastic Block Store (EBS) on August 20, 2008.[6] This provides persistent storage, a basic feature which had been lacking since the service was introduced.

Amazon EC2 is in full production since it dropped the beta label on October 23, 2008. On the same day, Amazon announced the following features:[7] a service level agreement for EC2, Microsoft Windows in beta form on EC2, Microsoft SQL Server in beta form on EC2, plans for an AWS management console, and plans for load balancing, autoscaling, and cloud monitoring services.[7] These features were subsequently added on May 18, 2009.[8]

Virtual machines

EC2 uses Xen virtualization. Each virtual machine, called an "instance", functions as a virtual private server in one of three sizes; small, large or extra large. Amazon.com sizes instances based on "EC2 Compute Units" — the equivalent CPU capacity of physical hardware. One EC2 Compute Unit equals 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor. The system offers the following instance types:

Standard Instances

Instances of this family are well suited for most applications.

Small Instance – default
1.7 GB memory
1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit)
160 GB instance storage (150 GB plus 10 GB root partition)
32-bit platform
I/O Performance: Moderate
API name: m1.small
Large Instance
7.5 GB memory
4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each)
850 GB instance storage (2×420 GB plus 10 GB root partition)
64-bit platform
I/O Performance: High
API name: m1.large
Extra Large Instance
15 GB memory
8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each)
1,690 GB instance storage (4×420 GB plus 10 GB root partition)
64-bit platform
I/O Performance: High
API name: m1.xlarge

High-Memory Instances

Instances of this family offer large memory sizes for high throughput applications, including database and memory caching applications.

High-Memory Double Extra Large Instance
34.2 GB of memory
13 EC2 Compute Units (4 virtual cores with 3.25 EC2 Compute Units each)
850 GB of instance storage
64-bit platform
I/O Performance: High
API name: m2.2xlarge
High-Memory Quadruple Extra Large Instance
68.4 GB of memory
26 EC2 Compute Units (8 virtual cores with 3.25 EC2 Compute Units each)
1690 GB of instance storage
64-bit platform
I/O Performance: High
API name: m2.4xlarge


High-CPU Instances

Instances of this family have proportionally more CPU resources than memory (RAM) and are well suited for compute-intensive applications.

High-CPU Medium Instance
1.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
I/O Performance: Moderate
API name: c1.medium
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
I/O Performance: High
API name: c1.xlarge

Pricing

Amazon primarily charges customers in two ways:

  • Hourly charge per running virtual machine
  • Data transfer charge

Additional charges for:

  • Allocated and unused Elastic IP Addresses
  • Storage using Amazon Elastic Block Store (EBS)
  • Additional transfer charges using Elastic Load Balancing
  • Using Amazon's CloudWatch service to monitor your virtual machine
  • Using Amazon's Elastic Load Balancing which distributes load among selected virtual machine
  • Note: You could also be charged for other Amazon Web Services used in conjunction with EC2, for example S3 charges for hosting a custom AMI

The hourly charge for a running virtual machine are based on the resources allocated to the machine (CPU cores memory and storage) as well as licence fees for software pre-installed including Microsoft Windows. Virtual machines can be saved and shutdown for a small fee and don't not incur the hourly fee in that state.

The performance of multiple identical virtual machines may however vary[9].

Customers can easily create/reboot virtual machines. Shutdown is not available but you can terminate your instance and create another one later, although in this case you will lose data (unless backed up on Amazon S3, or on their network attached storage service EBS).

As of November 2009, Amazon charges $0.084/hour ($61/month) for the smallest "On-Demand" virtual machine running Linux and twelve times that for the largest one running Windows. "Reserved" instances can go as low as $31/month for a three-year prepaid plan.[10] The data transfer charge ranges from $0.08 to $0.15 per gigabyte, depending on the direction and monthly volume.

Amazon does not have monthly minimums or account maintenance charges.

Operating systems

When it launched in August 2006, the EC2 service offered Linux and later Sun Microsystems' OpenSolaris and Solaris Express Community Edition. In October 2008, EC2 added the Windows Server 2003 operating system to the list of available operating systems.[11][12]

Plans are in place for the Eucalyptus interface for the Amazon API to be packaged into the standard Ubuntu distribution.

Persistent Storage

A normal EC2 instance has no persistent storage. They have temporary storage, which remains consistent when an EC2 instance is rebooted, but when the instance is terminated -be it explicitly done so by an API call, or due to a failure of the infrastructure, this store is lost. For applications to retain data over time, persistent storage of one form or another is needed. This may be through one of Amazon's database services, or it may be through their two persistent storage options.

Simple Storage Service (S3) is a storage system in which data is accessible to EC2 instances, or directly over the network to suitably authenticated callers -all communication is over HTTP. Amazon does not charge for the bandwidth for communications between EC2 instances and S3 storage in the same region. Accessing S3 data stored in a different region (for example, data stored in Europe from a US East Coast EC2 instance) will be billed at Amazon's normal rates.

S3-based storage is low cost, as you only pay per gigabyte per month for data stored; unused space is not billed for. However, it does not look like classic, locally mounted file storage, and applications need to be written to use it directly. As an example of this Apache Hadoop supports a special s3: filesystem to support reading from and writing to S3 storage during a MapReduce job. There are also S3 filesystems for Linux, which mount a remote S3 filestore on an EC2 image, as if it were local storage. As S3 is not a full Posix filesystem, things may not behave the same as on a local disk -there is no locking, for example.

The other form of persistence is the Elastic Block Storage (EBS). Here users can set up and manage storage volumes of sizes from 1GB to 1TB. An EBS store can be mounted to a single EC2 instance at a time. When mounted, it appears as a local filesystem, with full Posix functionality. This makes it possible to use EBS as the store for databases and other applications, without their needing to be rewritten to work with the S3 filestore.

Automated Scaling

Amazon's Auto Scaling feature of EC2 allows it to automatically adapt computing capacity to site traffic.

Elastic IP Addresses

Amazon's Elastic IP Address feature is similar to static IP address in traditional data centers, with one key difference. A user can programmatically map an Elastic IP Address to any virtual machine instance without a network administrator's help and without having to wait for DNS to propagate the new binding. In this sense an Elastic IP Address belongs to the account and not to a virtual machine instance. It exists until it is explicitly removed. IPv6 is not yet provided.

Amazon CloudWatch

Amazon CloudWatch is a web service that provides real-time monitoring to Amazon's EC2 customers on their resource utilization such as CPU,disk, network and memory. The data is aggregated and provided through AWS management console. It can also be accessed through command line tools and web API's if the customer desires to monitor their EC2 resources through their enterprise monitoring software.

The metrics collected by Amazon CloudWatch enables Auto Scaling feature to dynamically add or remove EC2 instances. The customers are charged by the number of monitoring instances.

Reserved Instances

Reserved instances enable EC2 service users to reserve an instance for one or three years. Although there is a fee associated with reserving an instance, the corresponding per hour rate charged by Amazon to operate the instance is much less than the rate charged for non-reserved instances.

Abuse

In early July 2008 Outblaze and Spamhaus.org started to block Amazon's EC2 address-pool due to problems with the distribution of spam and malware.[13]

Competitors

Other companies which rent their own cloud infrastructure with minimum restrictions on the implementation of hosted applications, operating systems or databases.

References

  1. ^ LaMonica, Martin (March 27, 2008). "Amazon Web Services adds 'resiliency' to EC2 compute service". CNet News. http://www.news.com/8301-10784_3-9904091-7.html. Retrieved August 1, 2009. 
  2. ^ Barr, Jeff (August 25, 2006). "Amazon EC2 Beta". Amazon Web Services Blog. http://aws.typepad.com/aws/2006/08/amazon_ec2_beta.html. Retrieved August 1, 2009. 
  3. ^ Jinesh (October 16, 2007). "Amazon EC2 Gets More Muscle". http://aws.typepad.com/aws/2007/10/amazon-ec2-gets.html. 
  4. ^ Barr, Jeff (May 29, 2008). "More EC2 power". Amazon Web Services Blog. http://aws.typepad.com/aws/2008/05/more-ec2-power.html. Retrieved August 1, 2009. 
  5. ^ Barr, Jeff (March 27, 2008). "New EC2 Features". Amazon Web Services Blog. http://aws.typepad.com/aws/2008/03/new-ec2-feature.html. Retrieved August 1, 2009. 
  6. ^ Barr, Jeff (August 20, 2008). "Amazon EBS (Elastic Block Store) - Bring Us Your Data". Amazon Web Services Blog. http://aws.typepad.com/aws/2008/08/amazon-elastic.html. Retrieved August 1, 2009. 
  7. ^ a b Barr, Jeff (August 23, 2008). "Big Day For EC2". Amazon Web Services Blog. http://aws.typepad.com/aws/2008/10/big-day-for-ec2.html. Retrieved August 1, 2009. 
  8. ^ Barr, Jeff (May 18, 2009). "New Features for EC2". Amazon Web Services Blog. http://aws.typepad.com/aws/2009/05/new-aws-load-balancing-automatic-scaling-and-cloud-monitoring-services.html. Retrieved August 1, 2009. 
  9. ^ J. Dejun, G. Pierre and C.-H. Chi. EC2 Performance Analysis for Resource Provisioning of Service-Oriented Applications. In Proceedings of the Workshop on Non-Functional Properties and SLA Management in Service-Oriented Computing, November 2009.
  10. ^ http://aws.amazon.com/ec2/#pricing
  11. ^ Shankland, Stephen (October 23, 2008). "Amazon's Linux cloud computing out of beta, joined by Windows". CNet News. http://news.cnet.com/8301-17939_109-10073696-2.html. Retrieved October 24, 2008. 
  12. ^ "Amazon Elastic Compute Cloud (EC2) Running Microsoft Windows Server and SQL Server". Amazon.com. October 23, 2008. http://aws.amazon.com/windows/. Retrieved October 25, 2008. 
  13. ^ Krebs, Brian (July 1, 2008). "Amazon: Hey Spammers, Get Off My Cloud!". Washington Post. http://blog.washingtonpost.com/securityfix/2008/07/amazon_hey_spammers_get_off_my.html. Retrieved August 1, 2009. 

See also

External links








Got something to say? Make a comment.
Your name
Your email address
Message