|
Amazon just announced two big improvements to EC2:
- Multiple Locations
Amazon EC2 now provides the
ability to place instances in multiple locations. Amazon EC2 locations
are composed of regions and Availability Zones. Regions are
geographically dispersed and will be in separate geographic areas or
countries. Currently, Amazon EC2 exposes only a single region.
Availability Zones are distinct locations that are engineered to be
insulated from failures in other Availability Zones and provide
inexpensive, low latency network connectivity to other Availability
Zones in the same region. Regions consist of one or more Availability
Zones. By launching instances in separate Availability Zones, you can
protect your applications from failure of a single location.
- Elastic IP Addresses
Elastic IP addresses
are static IP addresses designed for dynamic cloud computing. An
Elastic IP address is associated with your account not a particular
instance, and you control that address until you choose to explicitly
release it. Unlike traditional static IP addresses, however, Elastic IP
addresses allow you to mask instance or Availability Zone failures by
programmatically remapping your public IP addresses to any instance in
your account. Rather than waiting on a data technician to reconfigure
or replace your host, or waiting for DNS to propagate to all of your
customers, Amazon EC2 enables you to engineer around problems with your
instance or software by quickly remapping your Elastic IP address to a
replacement instance.
Datacenters and geographic regions are Single Points of Failure (SPOF) too. Failure Happens, and it's far better (and cheaper) to build services that are resilient to failure than to try to prevent them from happening. This is a big step in the right direction. Update: RightScale posted an excellent overview of how this works.
|
Amazon刚刚宣布了EC2的两项重大改进:
•多重地点
Amazon EC2现在提供把instance放到多个地点的能力。Amazon EC2 地点是由区域和可用区构成的。区域地理上分散在隔离的地区或国家。目前Amazon EC2只开放了一个区域。可用区是独立的场所,它能够隔离其它可用区的故障并且具有与同一区域内其它可用区的经济的、快速的网络连接。区域由一个或多个可用区组成。通过在多个不同的可用区发布instance你可以防止你的应用在一个单独地点的故障。
•弹性IP地址
弹性IP地址是为动态云计算设计的静态IP地址。一个弹性IP地址和你的帐号绑定,而不是绑到某一个instance上,直到你明确地发布它你都可以控制着。和传统静态IP地址不同通过弹性IP地址你可以在故障发生时把你的公开IP地址指到其它instance上,把故障可用区和里面的instance屏蔽掉。而无需等待工程师重新配置你的主机以及DNS数据。Amazon EC2让你能够通过迅速把弹性地址指向备用instance从而绕过出现故障的instance或软件。
数据中心和地理区域也都是单点故障环节(SPOF)。故障免不了要发生,建立坚韧的故障恢复服务作做法远优于(也经济)一味地防止其发生。这是朝正确方向迈出的一大步。
更新: RightScale有一篇e非常好的解释其如何工作的帖子。
|
Discussion