Cloud computing @ slideshare

1,990 views

Published on

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,990
On SlideShare
0
From Embeds
0
Number of Embeds
33
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Later we will see how RRC and SNS can help reducing cost
  • Later we will see how RRC and SNS can help reducing cost
  • Later we will see how RRC and SNS can help reducing cost
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Later we will see how RRC and SNS can help reducing cost
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • Ideal Elastic Scalability
  • To further illustrate the difference between SimpleDB and relational databases, a RDBMS or a spreadsheet supports only a single value per cell or column, whereas SimpleDB allows you to have multiple values for a single item attribute.
  • To further illustrate the difference between SimpleDB and relational databases, a RDBMS or a spreadsheet supports only a single value per cell or column, whereas SimpleDB allows you to have multiple values for a single item attribute.
  • Cloud computing @ slideshare

    1. 1. Cloud Computing and its usage at Slideshare -- Akash Agrawal
    2. 2. what the heck is Cloud Computing?
    3. 3. Move to a new place? You can either Build a house or Rent an apartment
    4. 4. <ul><li>Size </li></ul>Problems in building a new house
    5. 5. <ul><li>Size </li></ul><ul><li>Customization </li></ul>Problems in building a new house
    6. 6. <ul><li>Size </li></ul><ul><li>Customization </li></ul><ul><li>Maintenance </li></ul>Problems in building a new house
    7. 7. Why Slideshare uses cloud computing?
    8. 9. Faster <ul><li>Infrastructure on demand </li></ul><ul><li>Provision via APIs, not phone calls </li></ul><ul><li>Snapshot, clone and go. Repeat. </li></ul>
    9. 10. Cheaper <ul><li>Reduced need for capital </li></ul><ul><li>OpEx not CapEx </li></ul><ul><li>Barrier to entry is much lower </li></ul>
    10. 11. Better <ul><li>Focus on your core business </li></ul><ul><li>Infrastructure isn’t your problem </li></ul>
    11. 12. How do we see it? FAST ELASTIC
    12. 13. What do we use? <ul><li>Amazon Web Services (AWS) </li></ul><ul><li>S3 (Storage) </li></ul><ul><li>EC2 (Computing) </li></ul><ul><li>SQS (Messaging) </li></ul>
    13. 14. What do we use? <ul><li>Amazon Web Services (AWS) </li></ul><ul><li>S3 (Storage) </li></ul><ul><li>EC2 (Computing) </li></ul><ul><li>SQS (Messaging) </li></ul><ul><li>SNS (Notification) </li></ul><ul><li>SDB (NoSQL DB) </li></ul>
    14. 15. Simple Storage Service (S3) <ul><li>Storage is organized in buckets </li></ul><ul><li>Like a namespace for the objects it contains </li></ul><ul><li>Accessible via </li></ul><ul><ul><li>http://bucketname.s3.amazonaws.com </li></ul></ul><ul><li>It’s not file storage; it’s a key-value store </li></ul><ul><li>Like a big hash table or dictionary </li></ul><ul><li>Number of objects you can store is unlimited </li></ul><ul><li>Key-value pairs </li></ul><ul><li>Accessible via </li></ul><ul><ul><li>http://bucketname.s3.amazonaws.com/keyname </li></ul></ul>
    15. 16. Simple Storage Service (S3) <ul><li>Implicit BitTorrent seeding for all keys </li></ul><ul><li>5TB limit for each key </li></ul><ul><li>Official API to operate on buckets in different languages and for different platforms </li></ul><ul><li>Public, private and other custom access for keys </li></ul><ul><li>You may choose what kind of reliability you want; more reliable more cost, less reliable less cost </li></ul>
    16. 17. Reduced Redundancy Storage (RRS) <ul><li>Standard Storage provides 99.999999999% durability </li></ul><ul><li>$0.140 / GB for first 1 TB / month </li></ul><ul><li>RRS provides 99.99% durability </li></ul><ul><li>$0.093 / GB for first 1 TB / month </li></ul>
    17. 18. S3 as Website
    18. 19. Redirection from S3 <html> <head> <meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;> <META HTTP-EQUIV=&quot;Refresh&quot; CONTENT=&quot;1; URL=http://tech-queries.blogspot.com/&quot;> <title>Programming Interviews</title> </head> </html> Try accessing http://slideshare.s3.amazonaws.com/test.jpg
    19. 20. Simple Queue Service (SQS) <ul><li>storing messages as they travel between computers </li></ul><ul><li>move data between distributed components </li></ul><ul><li>Doesn’t require each component to be always available </li></ul><ul><li>64 KB for a single message </li></ul><ul><li>Queue length can be infinite. </li></ul><ul><li>Messages can be retained in queues for up to 14 days </li></ul><ul><li>Messages can be sent and read simultaneously </li></ul>
    20. 21. Visibility Timeout (SQS)
    21. 22. Visibility Timeout (SQS) <ul><li>Keeps multiple computers from processing the same message at once. </li></ul><ul><li>If this system fails to process the message, then it will be read by another call as soon as the visibility timeout passes. </li></ul>
    22. 23. SQS is not FIFO
    23. 24. Simple Notification Service (SNS)
    24. 25. Simple Notification Service (SNS) <ul><li>Topics </li></ul><ul><li>Owners </li></ul><ul><li>Subscribers </li></ul><ul><li>Publishers </li></ul>
    25. 26. Simple Notification Service (SNS) <ul><li>HTTP </li></ul><ul><li>HTTPS </li></ul><ul><li>Email </li></ul><ul><li>Email (json) </li></ul><ul><li>SQS </li></ul><ul><li>SMS </li></ul>
    26. 27. Simple Notification Service (SNS) <ul><li>Monitoring alert system (like Nagios) </li></ul><ul><li>News Distribution </li></ul><ul><li>EC2 control </li></ul><ul><li>Start stop services </li></ul>
    27. 28. Reduce cost using SNS – RRS Integration
    28. 29. Amazon SimpleDB (SDB) <ul><li>Highly available, flexible, and scalable non-relational data store </li></ul><ul><li>No-touch scaling </li></ul><ul><li>No need to anticipate and respond to changes in request load or database utilization </li></ul><ul><li>No rigid Schema </li></ul><ul><li>Data is stored as key-value pairs </li></ul><ul><li>No normalization, joints, schemas etc as we see in a relational DB </li></ul>
    29. 30. Amazon SimpleDB (SDB) <ul><li>Domain (table) </li></ul><ul><ul><li>A maximum of 250 domains of 10 GB each </li></ul></ul><ul><li>Item (row) </li></ul><ul><ul><li>Item is identified by a unique key or identifier) </li></ul></ul><ul><li>Attribute (column) </li></ul><ul><li>Value </li></ul>
    30. 31. Amazon SimpleDB (SDB) Demo
    31. 32. Questions ?

    ×