Intro to Amazon S3

10,333 views
10,057 views

Published on

Brief research on Amazon S3 for my company.
Feel free to comment/feedback. Thanks!

Connect with me on LinkedIn : sg.linkedin.com/in/yulunteo/

Seems like there are still plenty of people viewing this presentation after so long.
Maybe i should consider doing a update for Cloudfront/Glacier as well..

Published in: Technology, Business
3 Comments
14 Likes
Statistics
Notes
No Downloads
Views
Total views
10,333
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
285
Comments
3
Likes
14
Embeds 0
No embeds

No notes for slide

Intro to Amazon S3

  1. 1. Amazon S3
  2. 2. Agenda <ul><li>What is Amazon S3? </li></ul><ul><li>Functions & concepts of S3 </li></ul><ul><li>Advantages and disadvantages </li></ul><ul><li>Requirements </li></ul><ul><li>Pricing </li></ul><ul><li>Implementation </li></ul>
  3. 3. What is Amazon S3? <ul><li>S3 stands for Simple Storage Service. </li></ul><ul><li>It is storage for the Internet. </li></ul><ul><li>Provided via a web services interface. (REST and SOAP) </li></ul><ul><li>Based on the same infrastructure Amazon uses for its global network of web sites. </li></ul>
  4. 4. Functions & concepts of S3 <ul><li>Allows unlimited storage of objects(files) containing of 1 byte to 5 gigabytes each. </li></ul><ul><li>Objects consist of the raw object data and metadata. </li></ul><ul><li>Objects are stored and retrieved using a developer-assigned key. </li></ul><ul><li>Data are kept secured from unauthorised access through authentication mechanism. </li></ul><ul><li>Objects can be made available to public by the http or bittorrent protocol. </li></ul>
  5. 5. Functions & concepts of S3 <ul><li>All objects are stored in buckets. </li></ul><ul><li>A bucket is simply a container for objects.It is used to partition the namespace of objects at the highest level. </li></ul><ul><li>Buckets are similar to Internet domain names. They are accessed via bucketname .s3.amazonaws.com. </li></ul><ul><li>Each developer account has a limit of 100 buckets. </li></ul><ul><li>More information of buckets can be found at: http://docs.amazonwebservices.com/AmazonS3/2006-03-01/index.html?UsingBucket.html </li></ul>
  6. 6. Functions & concepts of S3 <ul><li>A key is the unique identifier for an object within a bucket. </li></ul><ul><li>A bucket and a key together uniquely identify each object in S3.Every object can be addressed through bucket and key combination. </li></ul><ul><li>For example, if your bucket name is mybucket and key is myhomepage.html , the URL for the object will be http:// mybucket .s3.amazonaws.com/ myhomepage.html </li></ul>
  7. 7. Advantages of using S3 <ul><li>Scalability.The amount of storage & bandwidth you need can scale as you like without any configuration changes needed. </li></ul><ul><li>Availability, speed, throughput, capacity, and robustness is not affected even if you gain 10,000 users overnight. </li></ul><ul><li>Unlimited storage. You pay as you go. </li></ul><ul><li>Inexpensive and no capital outlay. Great for startups! </li></ul><ul><li>Data is accessible from any location. </li></ul><ul><li>Since it is based on the Amazon infrastructure, it is probably more reliable than other cheap data storage providers. </li></ul>
  8. 8. Disadvtanges of using S3 <ul><li>Not user-friendly for 'beginner level' computer users. S3 is basically UI-less. </li></ul><ul><li>Trust. Not all types of business or services might be comfortable with storing their data in the 'cloud', especially those with extremely sensitive and confidential data. Eg. banking </li></ul><ul><li>Although it promises 99.9% of uptime in its SLA , in 2008 it has 2 major outages in February and July , bringing down Web 2.0 startups like Twitter. </li></ul><ul><li>Back in 2007, S3 had speed issues with reading and writing of data. </li></ul>
  9. 9. Requirements <ul><li>To get started using S3, an AWS account is needed. An AWS account is simply an Amazon.com account that has AWS services enabled. </li></ul><ul><li>Sign up at http://aws.amazon.com </li></ul><ul><li>After creating the AWS account, you need to sign up for S3 by clicking the sign up for this web service button at this page . </li></ul><ul><li>A credit card needs to be associated with the account. </li></ul><ul><li>You will be given a Access Key ID and secret Access Key on successful creation.(note: they are not emailed to you.) ‏ </li></ul>
  10. 10. Pricing <ul><li>Charges for using S3 is based on the location of your buckets. </li></ul><ul><li>You are billed according to storage(average), data transfer in and out and the number of requests per month. </li></ul><ul><li>There is no minimum fee to use S3, you pay for only what you use. </li></ul><ul><li>You can view your current charges incurred almost immediately on the S3 portal. </li></ul><ul><li>Detailed usage reports can also be downloaded in xml or csv format. </li></ul>
  11. 11. Pricing – US usage Storage $0.150 per GB – first 50 TB / month of storage used $0.140 per GB – next 50 TB / month of storage used $0.130 per GB – next 400 TB /month of storage used $0.120 per GB – storage used / month over 500 TB Data Transfer $0.100 per GB – all data transfer in $0.170 per GB – first 10 TB / month data transfer out $0.130 per GB – next 40 TB / month data transfer out $0.110 per GB – next 100 TB / month data transfer out $0.100 per GB – data transfer out / month over 150 TB Requests $0.01 per 1,000 PUT, COPY, POST, or LIST requests $0.01 per 10,000 GET and all other requests* * No charge for delete requests
  12. 12. Pricing – EU usage Storage $0.180 per GB – first 50 TB / month of storage used $0.170 per GB – next 50 TB / month of storage used $0.160 per GB – next 400 TB / month of storage used $0.150 per GB – storage used / month over 500 TB Data Transfer $0.100 per GB – all data transfer in $0.170 per GB – first 10 TB / month data transfer out $0.130 per GB – next 40 TB / month data transfer out $0.110 per GB – next 100 TB / month data transfer out $0.100 per GB – data transfer out / month over 150 TB Requests $0.012 per 1,000 PUT, COPY, POST, or LIST requests $0.012 per 10,000 GET and all other requests* * No charge for delete requests Estimate your monthly bills by using this calculator .
  13. 13. Implementation <ul><li>To start using S3, get hold of your S3 access key ID and secret access key via the AWS portal. </li></ul><ul><li>Next, get hold of an application capable of managing S3. Here are a few resources: Spaceblock : Windows Application S3 Web Interface : Web App/Interface S3 Firefox Organizer : Firefox add-on </li></ul><ul><li>These applications make objects more manageable because they provide a directory structure similar to windows explorer. </li></ul>
  14. 14. Implementation <ul><li>What can we use S3 for? - HTML microsites - Flash microsites - Media storage - Backups </li></ul><ul><li>For HTML and Flash microsites, custom URLs can be created by using CNAME to create DNS alias. </li></ul><ul><li>No server side processing should be used in S3 as they will not work without web servers(i.e IIS , Apache) </li></ul>
  15. 15. Amazon EC2 <ul><li>EC2 stands for Elastic Compute Cloud. </li></ul><ul><li>Think of it as your CPU/OS, while S3 is your harddisk. </li></ul><ul><li>It provides a web server computing environment, allowing you to create an Amazon Machine Image (AMI) containing your applications, libraries, data and associated configuration settings. </li></ul><ul><li>Currently capable of running LINUX instances (php,ruby,python comes to mind) , Solaris and Microsoft Windows Server 2003. </li></ul><ul><li>Designed to be very scalable like S3. </li></ul>
  16. 16. Amazon SimpleDB <ul><li>Amazon SimpleDB provides a simple web services interface to create and store multiple data sets, query your data easily, and return the results. </li></ul><ul><li>It is not a traditional RDBMS, therefore there is no schema needed. </li></ul><ul><li>Therefore, it is actually very flexible(compared to RDBMS) and is something worth looking into. </li></ul><ul><li>Very useful if you need to store simple structured data, e.g. Lucky draw participants data. </li></ul><ul><li>Again, it is designed to be very scalable. </li></ul>

×