An S3 Bucket with Objects
|Type of site||Cloud storage|
|Launched||March 14, 2006|
Amazon S3 (Simple Storage Service) is an online file storage web service offered by Amazon Web Services. Amazon S3 provides storage through web services interfaces (REST, SOAP, and BitTorrent). Amazon launched S3, its first publicly available web service, in the United States in March 2006 and in Europe in November 2007.
At its inception, Amazon charged end users US$0.15 per gigabyte-month, with additional charges for bandwidth used in sending and receiving data, and a per-request (get or put) charge. On November 1, 2008, pricing moved to tiers where end users storing more than 50 terabytes receive discounted pricing. Amazon says that S3 uses the same scalable storage infrastructure that Amazon.com uses to run its own global e-commerce network.
Amazon S3 is reported to store more than 2 trillion objects as of April 2013[update]. This is up from 102 billion objects as of March 2010[update], 64 billion objects in August 2009, 52 billion in March 2009, 29 billion in October 2008, 14 billion in January 2008, and 10 billion in October 2007. S3 uses include web hosting, image hosting, and storage for backup systems. S3 guarantees 99.9% monthly uptime, i.e. not more than 43 minutes of downtime per month.
Details of S3's design are not made public by Amazon, though it clearly manages data with an object storage architecture. According to Amazon, S3's design aims to provide scalability, high availability, and low latency at commodity costs.
S3 stores arbitrary objects (computer files) up to 5 terabytes in size, each accompanied by up to 2 kilobytes of metadata. Objects are organized into buckets (each owned by an Amazon Web Services account), and identified within each bucket by a unique, user-assigned key. Amazon Machine Images (AMIs) which are used in the Elastic Compute Cloud (EC2) can be exported to S3 as bundles.
Buckets and objects can be created, listed, and retrieved using either a REST-style HTTP interface or a SOAP interface. Additionally, objects can be downloaded using the HTTP GET interface and the BitTorrent protocol.
Requests are authorized using an access control list associated with each bucket and object.
Bucket names and keys are chosen so that objects are addressable using HTTP URLs:
http://bucket/key(where bucket is a DNS CNAME record pointing to bucket.s3.amazonaws.com)
Because objects are accessible by unmodified HTTP clients, S3 can be used to replace significant existing (static) web hosting infrastructure. The Amazon AWS Authentication mechanism allows the bucket owner to create an authenticated URL with time-bounded validity. That is, someone can construct a URL that can be handed off to a third-party for access for a period such as the next 30 minutes, or the next 24 hours.
Every item in a bucket can also be served up as a BitTorrent feed. The S3 store can act as a seed host for a torrent and any BitTorrent client can retrieve the file. This drastically reduces the bandwidth costs for the download of popular objects. While the use of BitTorrent does reduce bandwidth, AWS does not provide native bandwidth limiting and as such users have no access to automated cost control. This can lead to users on the 'free-tier' S3 or small hobby users amassing dramatic bills. AWS representatives have previously stated that such a feature was on the design table from 2006 to 2010 but have recently stated the feature is no longer in development.
A bucket can be configured to save HTTP log information to a sibling bucket; this can be used in later data mining operations. This feature is currently still in beta.
Hosting entire websites
Amazon S3 provides options to host static websites with Index document support and error document support. This support was added as a result of user requests dating at least to 2006. For example, suppose that Amazon S3 was configured with CNAME records to host http://subdomain.example.com/. In the past, a visitor to this URL would find only an XML-formatted list of objects instead of a general landing page (e.g., index.html) to accommodate casual visitors. Now, however, websites hosted on S3 may designate a default page to display, and another page to display in the event of a partially invalid URL.
Photo hosting service SmugMug has used S3 since April 2006. They experienced a number of initial outages and slowdowns, but after one year they described it as being "considerably more reliable than our own internal storage" and claimed to have saved almost $1 million in storage costs.
There are various User Mode File System (FUSE)-based file systems for Unix-like operating systems (Linux, etc.) that can be used to mount an S3 bucket as a file system. Note that as the semantics of the S3 file system are not that of a Posix file system, the file system may not behave entirely as expected.
Apache Hadoop file systems can be hosted on S3, as its requirements of a file system are met by S3. As a result, Hadoop can be used to run MapReduce algorithms on EC2 servers, reading data and writing results back to S3.
Dropbox, Bitcasa, StoreGrid, Prowl, Jumpshare, SyncBlaze, Tahoe-LAFS-on-S3, Zmanda and Ubuntu One, Fiabee are some of the many online backup and synchronization services that use S3 as their storage and transfer facility.
eXo Platform, an Open Source Document and Social Platform, also has an option to store binary files in Amazon S3
wikiHow, a MediaWiki-based how-to manual, uses S3 for generating thumbnail images on its articles.
S3 API and competing services
The broad adoption of Amazon S3 and related tooling has given rise to competing services based on the S3 API. These services utilize the standard programing interface; however, they are differentiated by their underlying technologies and supporting business models. A cloud storage standard (like electrical and networking standards) enables competing service providers to design their services and clients using different piece parts in different ways yet still communicate and provide the following benefits:
- Increase competition by providing a set of rules and a level playing field, encouraging market entry by smaller companies which might otherwise be precluded.
- Encourage innovation by cloud storage & tool vendors, and developers because they can focus on improving their own products and services instead of focusing on compatibility.
- Allow economies of scale in implementation (i.e., if a service provider encounters an outage or as clients outgrow their tools and need faster operating systems or tools, they can easily swap out solutions).
- Provide timely solutions for delivering functionality in response to demands of the marketplace (i.e., as business growth in new locations increases demand, clients can easily change or add service providers simply by subscribing to the new service).
Examples of competing S3 compliant storage implementations include:
- Google Cloud Storage
- Openstack Swift
- Cloud.com’s CloudStack
- Connectria's Cloud Storage in 2011 became the first US cloud storage service provider based on the Scality RING organic storage technology
- Nimbula (acquired by Oracle)
- Riak CS, which implements a subset of the S3 API including REST and ACLs on objects and buckets.
- Ceph with RADOS gateway.
- Caringo, Inc which implements the S3 API and extends Bucket Policies to include the addition of Domain Policies.
- Amazon S3, Cloud Computing Storage for Files, Images, Videos. Aws.amazon.com (2006-03-01). Retrieved on 2013-08-09.
- "Amazon Web Services Launches "Amazon S3"" (Press release). Amazon.com. 2006-03-14.
- Dorsey, John (2007-11-06). "Amazon S3 Storage Now Available in Europe". Dr. Dobb's Portal. Archived from the original on 15 April 2008. Retrieved 2008-03-26.
- "Amazon S3 Pricing". Amazon.com. 2009-02-05. Retrieved 2014-05-02.
- "Amazon S3 - Busier Than Ever". Amazon.com. 2008-10-08.
- The same data storage infrastructure that Amazon uses to run its own global network of web sites
- - Amazon S3 - Two Trillion Objects, 1.1 Million Requests / Second
- Brian Lillie of Equinix said that Amazon now is hosting 102 billion objects in S3
- S3 (Amazon's Simple Storage Service) alone has over 64 billion objects in it.
- Just a year ago, there were 18 billion objects in S3. As of today there are 52 billion
- Vogels, Werner (2008-03-19). "Happy Birthday, Amazon S3!". All Things Distributed.
- Amazon S3 SLA
- 60 min/hour * 24 hours in a day * 30 days * 0.1% = 43.2
- Amazon S3 Protecting Your Data
- Starting Websphere in Cloud and saving the data in S3
- How to use Amazon S3 for Web Hosting
- AWS Developer Forums: Limit my own bandwidth?. Forums.aws.amazon.com. Retrieved on 2013-08-09.
- AWS Developer Forums: What is the status on the bill capping. Forums.aws.amazon.com. Retrieved on 2013-08-09.
- Amazon Simple Storage Service. Docs.amazonwebservices.com. Retrieved on 2013-08-09.
- Garnaat, Mitch, (19 Nov 2009). "Re: default key or 'default document' - is it possible to specify in S3?". Retrieved 21 Sep 2010.
- "Amazon S3: Show Me the Money". SmugMug Blog. SmugMug. November 10, 2006.
- "Comparison of S3QL and other S3 file systems". Retrieved 2012-06-29.
- "Where are my files stored?". November 28, 2010.
- "Bitcasa Legal". May 16, 2013.
- "Where SyncBlaze Cloud stores my files?".
- "What is Tahoe-LAFS-on-S3?". August 21, 2012.
- "Ubuntu One Technical Details". Ubuntu.com. Retrieved 16 October 2012.
- "Minecraft Beta 1.2_02". January 21, 2010.
- Watters, Audrey. "Cloud Community Debates, Is Amazon S3's API the Standard? (And Should It Be?)". SAY Media, Inc. Retrieved 19 December 2012.
- Committee on Standards Workshop Planning, Board on Telecommunications and Computer Applications, Commission on Engineering and Technical Systems, National Research Council (1990). Crossroads of Information Technology Standards. Washington, DC:: The National Academies Press, 1990. pp. 36–37.
- Harris, Derrick (Mar 9, 2011). "Cloud.com Expands Service Provider Footprint". Gigaom. Retrieved 19 December 2012.
- "Connectria Cloud Storage - Amazon S3® Compatible Cloud Storage Service". Connectria. Connectria. Retrieved 19 December 2012.
- "Connectria Hosting Launches Cloud Storage Solution". Connectria Hosting. Retrieved 19 December 2012.
- Ross, Rose (February 22, 2011). "Connectria selects Scality to launch a public cloud storage service". RealWire. Retrieved 19 December 2012.
- "Cloud Storage Providers". Twinstrata. Twinstrata. Retrieved 19 December 2012.
- Riak CS. Basho (2013-01-18). Retrieved on 2013-08-09.
- Ceph Object Gateway S3 API — Ceph Documentation. Ceph.com. Retrieved on 2013-08-09.
- "Amazon S3 Developer Guide". 2006-03-01.
- "Amazon S3 Introduces Storage Pricing Tiers". 2008-10-08.
- "RightScale Ruby library to access Amazon CloudFront, EC2, S3, SQS, and SDB". 2007-10-27.