Access Amazon S3 Service using Perl
Amazon's S3 [Simple Storage Service] is a really amazing service, where you can store unlimited amount of data at a very cheap rate, and the service being really reliable at the same time. Signing up for the service is really easy, you are charged a very low rate only for what you use, you can read more about the service at http://aws.amazon.com/s3/
You can create a "bucket" which is similar to a folder, the bucket name has to be unique all throughout the s3 service, that means if someone has already created the bucket with the name "images" you cannot create "images", also the you cannot create nested buckets i.e. buckets inside buckets. The number of objects [files] you can store in a bucket is unlimited. You may use S3 as a backup storage, or as live storage.
After signing up for the service you'll be provided an access key and a secret key which will be needed to access the service, never provide your secret key to anyone else. Now, let's get into writing some code ;-)
For accessing the service, we'll be using a Perl module Net::Amazon::S3 , although you can write your own code to access the S3 service, which we will dig into in another article.
These were the basic functionalities of S3 accessed via S3, enjoy storing in S3.
Re: Access Amazon S3 Service using Perl
Nominate this article for Article of the month - Jul 2009
|All times are GMT +5.5. The time now is 01:04.|