Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Amazon EC2 Regions

Amazon EC2 provides multiple regions so you can launch Amazon EC2 instances in locations that meet your requirements. For example, you might want to launch instances in Europe to be closer to your European customers or to meet legal requirements.

Each Amazon EC2 region is designed to be completely isolated from the other Amazon EC2 regions. This achieves the greatest possible failure independence and stability, and it makes the locality of each EC2 resource unambiguous.

Example 760. Viewing the available regions

describe is used to find out which regions your account has access to.

describe will return an array containing information about which regions are available. Each array will contain regionName and regionUrl.

= new Zend_Service_Amazon_Ec2_Region('aws_key','aws_secret_key');
$regions $ec2_region->describe();

$regions as $region) {
$region['regionName'] . ' -- ' $region['regionUrl'] . '<br />';

Zend Framework