Once you have registered with Amazon S3, you're ready to store your first data object on the S3. The objects on S3 are stored in containers, called "buckets". Bucket names are unique on S3, and each user can have no more than 100 buckets simultaneously. Each bucket can contain unlimited amount of objects, identified by name.
The following example demonstrates creating a bucket, storing and retrieving the data.
Example 751. Zend_Service_Amazon_S3 Usage Example
$s3 = new Zend_Service_Amazon_S3($my_aws_key, $my_aws_secret_key);
Zend_Service_Amazon_S3 service requires authentication,
you should pass your credentials (AWS key and secret key) to the constructor.
If you only use one account, you can set default credentials for the service:
$s3 = new Zend_Service_Amazon_S3();