Amazon S3 is a cloud storage service that allows developers to store and retrieve any amount of data, at any time, from anywhere on the web. It provides scalable, reliable storage with interfaces for object storage and retrieval, and can be used with frameworks like Ruby on Rails through plugins and gems that integrate with S3. S3 offers inexpensive storage and data transfer rates starting at $0.15 per GB for storage and $0.10 per GB for data transfer.
2. What is it?
S3 = Simple Storage System
quot;Amazon S3 is storage for the Internet. It
is designed to make web-scale computing
easier for developers.quot;
3. Features
Write, read, delete from 1B to 5GB
REST and SOAP interfaces
HTTP & BitTorrent protocols supported
Authentication built-in
US & European storage
4. Why use it?
CDN
Fast
Scalable
Simple
Inexpensive
Reliable 99.99%
5. Basic Concepts
Object - data + metadata (custom + some standard)
Bucket - the storage container (max 100 / dev)
- must be unique across whole S3 service
Key - unique identifier of an object in
a bucket
6. Using S3 with Rails
Signup at Amazon
Install AWS::S3 gem
Install attachment_fu plugin
11. Pricing
Storage
$0.15 per GB-Month of storage used
Data Transfer
$0.10 per GB - all data transfer in
$0.18 per GB - first 10 TB / month data transfer out
$0.16 per GB - next 40 TB / month data transfer out
$0.13 per GB - data transfer out / month over 50 TB
Requests
$0.01 per 1,000 PUT or LIST requests
$0.01 per 10,000 GET and all other requests*
* No charge for delete requests