Release: AWS SDK for PHP 2.1.0

Release Notes>Release: AWS SDK for PHP 2.1.0
This release adds support for Amazon EC2, Amazon Elastic Transcoder, AWS Elastic Beanstalk, AWS Identity and Access Management (IAM), Elastic Load Balancing, and Amazon SimpleDB. It also adds support for Amazon S3 website redirect rules and resolves issues reported on the forums and GitHub.


Submitted By: lindblom
Latest Version: 2.1.0
Created On: January 29, 2013 6:17 AM GMT
Last Updated: January 29, 2013 6:17 AM GMT


New Features

Change Description

Amazon Elastic Transcoder

The AWS SDK for PHP now supports Amazon Elastic Transcoder.

Amazon Elastic Transcoder is a web service that allows users to convert media files that are stored in Amazon Simple Storage Service (Amazon S3) into media files in the formats required by consumer playback devices. For more information, see the Elastic Transcoder product page.

Amazon EC2

The AWS SDK for PHP now supports Amazon Elastic Compute Cloud (Amazon EC2).

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

Amazon EC2's simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon's proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios.

AWS Elastic Beanstalk

The AWS SDK for PHP now supports AWS Elastic Beanstalk.

AWS Elastic Beanstalk is an even easier way for you to quickly deploy and manage applications in the AWS cloud. You simply upload your application, and Elastic Beanstalk automatically handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring. At the same time, with Elastic Beanstalk, you retain full control over the AWS resources powering your application and can access the underlying resources at any time. Elastic Beanstalk leverages AWS services such as Amazon Elastic Cloud Compute (Amazon EC2), Amazon Simple Storage Service (Amazon S3), Amazon Simple Notification Service (Amazon SNS), Elastic Load Balancing, and Auto Scaling to deliver the same highly reliable, scalable, and cost-effective infrastructure that hundreds of thousands of businesses depend on today. AWS Elastic Beanstalk is easy to begin and impossible to outgrow.

AWS Identity and Access Management

The AWS SDK for PHP now supports AWS Identity and Access Management (IAM).

AWS Identity and Access Management (IAM) enables you to securely control access to AWS services and resources for your users. Using IAM you can create and manage AWS users and groups and use permissions to allow and deny their permissions to AWS resources.

Elastic Load Balancing

The AWS SDK for PHP now supports Elastic Load Balancing.

Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances. It enables you to achieve even greater fault tolerance in your applications, seamlessly providing the amount of load balancing capacity needed in response to incoming application traffic. Elastic Load Balancing detects unhealthy instances within a pool and automatically reroutes traffic to healthy instances until the unhealthy instances have been restored. Customers can enable Elastic Load Balancing within a single Availability Zone or across multiple zones for even more consistent application performance. Elastic Load Balancing can also be used in an Amazon Virtual Private Cloud ("VPC") to distribute traffic between application tiers.

Amazon SimpleDB

The AWS SDK for PHP now supports Amazon SimpleDB.

Amazon SimpleDB is a highly available and flexible non-relational data store that offloads the work of database administration. Developers simply store and query data items via web services requests and Amazon SimpleDB does the rest.

Unbound by the strict requirements of a relational database, Amazon SimpleDB is optimized to provide high availability and flexibility, with little or no administrative burden. Behind the scenes, Amazon SimpleDB creates and manages multiple geographically distributed replicas of your data automatically to enable high availability and data durability. The service charges you only for the resources actually consumed in storing your data and serving your requests. You can change your data model on the fly, and data is automatically indexed for you. With Amazon SimpleDB, you can focus on application development without worrying about infrastructure provisioning, high availability, software maintenance, schema and index management, or performance tuning.

Amazon S3 website redirection rules

You can now add a set of redirection rules to a bucket configured for website hosting to automatically redirect requests.

For more information see Configure a Bucket for Website Hosting in the Amazon Simple Storage Service Developer Guide.

General SDK Updates

  • Waiters now require an associative array as input for the underlying operation performed by a waiter. See for details.
  • Added support for Signature Version 2
  • Clients now gain more information from service descriptions rather than client factory methods
  • Service descriptions are now versioned for clients

Resolved Issues

Change Description

Resolved issues from the forums and GitHub

  • Fixed an issue where Amazon S3 did not use "restore" as a signable resource
  • Fixed an issue with Amazon S3 where x-amz-meta-* headers were not properly added with the CopyObject operation
  • Fixed an issue where the Amazon Glacier client was not using the correct User-Agent header
  • Fixed issue #13 in which constants defined by referencing other constants caused errors with early versions of PHP 5.3

Supported API Versions

AWS SDK for PHP 2 supports the following services and API versions:

Service API Version
Amazon CloudFront 2012-05-05
Amazon DynamoDB 2011-12-05
Amazon Elastic Compute Cloud (Amazon EC2) 2012-12-01
Amazon Elastic Transcoder 2012-09-25
Amazon Glacier 2012-06-01
Amazon Route 53 2012-02-29
Amazon Simple Storage Service (Amazon S3) 2006-03-01
Amazon SimpleDB 2009-04-15
AWS Data Pipeline 2012-10-29
AWS Elastic Beanstalk 2010-12-01
AWS Identity and Access Management (IAM) 2010-05-08
AWS Security Token Service (AWS STS) 2011-06-15
Elastic Load Balancing 2012-06-01
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.