Virtualization and                        Cloud: a “PRO”                       infrastructure for                         ...
Luca Bonmassar                       Passionate about Tech                       Favorite topics: Cloud,                  ...
Cloud - Agenda                       Avoiding “the fog”                        Cloud what?                        Cloud wh...
1. Cloud what?                                        BetterSoftware ‘11Monday, 27 June 2011
It’s not about the pro                                              d u ct                                    You have the...
Build your own pizza p                                              lace!                                               Be...
Build your own pizza p                                                    lace                       Upfront decisions:   ...
What about renting?                                             BetterSoftware ‘11Monday, 27 June 2011
Renting in Cloud mall                                In the Cloud mall you                                can rent by squa...
2. Cloud why?                                       BetterSoftware ‘11Monday, 27 June 2011
Move from Capex to O                                            p ex                                             BetterSof...
eCommerce Website         1600000         1200000           800000           400000                       0               ...
Over provision                                                              ing         1600000         1200000           ...
Under provisioning         1600000         1200000           800000           400000                       0              ...
AutoScale(TM)         1600000         1200000           800000           400000                       0                   ...
From Capex to Opex                               No need for approval                               to buy any new        ...
Ready to succeed?                                           BetterSoftware ‘11Monday, 27 June 2011
200150100   50     0         Sat           Sun   Mon   Tue   Wed       Thu   Fri       Sat      Sun                       ...
300000225000150000 75000           0               Fri     Sat Sun Mon Tue Wed Thu       Fri   Sat Sun Mon Tue Wed Thu    ...
3. Cloud when?                                        BetterSoftware ‘11Monday, 27 June 2011
Enterprise                           Circumvent IT                           department                           Pay as y...
Startup / Pet project                                Defeat TechCrunch                                effect              ...
Building on AWS                                     BetterSoftware ‘11Monday, 27 June 2011
Amazon Web Services                       “The most mature,                       flexible and                       comple...
AWS WebApp Architect                                                        ure                       Monitoring          ...
Network Components                       Load Balancers                       Firewalls                       Elastic IPs ...
Computing: EC2                       Virtual Machines                       Different memory/cpu                       res...
Bonus Track: EC2 + LX                                                     C                       Run Virtual Machines    ...
Storage: EBS                       Network storage                       volumes                       Customizable size  ...
Storage: S3                       Key/value object                       storage                       Rest API to manipul...
Storage: RDS                       Relational Database                       Service                       A managed MySQL...
Storage: SimpleDB                       The NoSQL alternative                       A managed NoSQL                       ...
Messaging: SNS                       Simple Notification Service                       A notification                       ...
Messaging: SQS                       Simple Queue Service                       A message queue                       infr...
Monitoring: CloudWatc                                                          h                       Monitor AWS resourc...
Monitoring: AutoScale                       Monitor instances and                       take scalability decisions        ...
Putting it all together                       Monitoring                                              Frontend            ...
Failures                       Cloud is not immune to                       failures                       Cloud Apps shou...
One more thing: API!                       All services are manageable through a Web Console                       But all...
Predicting costs                       Amazon Simple                       Monthly Calculator                       (googl...
Keep costs low                       Use a mix of reserved                       instances vs. On-                       D...
Conclusions                       Cloud is a very good place                       to host your application               ...
Thanks! Questions?                       luca@coderloop.com                       linkedin.com/in/lucabonmassar           ...
Upcoming SlideShare
Loading in …5
×

Virtualization and Cloud - a "Pro" infrastructure for everyone.

1,986 views

Published on

A talk about Cloud Computing, to understand what is Cloud Computing and what are the benefits of building applications on top of Amazon AWS.

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

No Downloads
Views
Total views
1,986
On SlideShare
0
From Embeds
0
Number of Embeds
761
Actions
Shares
0
Downloads
11
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Virtualization and Cloud - a "Pro" infrastructure for everyone.

  1. 1. Virtualization and Cloud: a “PRO” infrastructure for everyone. Luca Bonmassa r, BetterSoftware 2011Monday, 27 June 2011
  2. 2. Luca Bonmassar Passionate about Tech Favorite topics: Cloud, Virtualization, NoSQL Enterprise / startup experience BetterSoftware ‘11Monday, 27 June 2011
  3. 3. Cloud - Agenda Avoiding “the fog” Cloud what? Cloud why? Cloud when? Building on AWS Cloud BetterSoftware ‘11Monday, 27 June 2011
  4. 4. 1. Cloud what? BetterSoftware ‘11Monday, 27 June 2011
  5. 5. It’s not about the pro d u ct You have the biggest idea ever: a brand new pizza type! You have spent time designing, implementing and testing your new pizza™ But now you need a place to sell it BetterSoftware ‘11Monday, 27 June 2011
  6. 6. Build your own pizza p lace! BetterSoftware ‘11Monday, 27 June 2011
  7. 7. Build your own pizza p lace Upfront decisions: How big? How many tables? Where? Time and money if you change your mind BetterSoftware ‘11Monday, 27 June 2011
  8. 8. What about renting? BetterSoftware ‘11Monday, 27 June 2011
  9. 9. Renting in Cloud mall In the Cloud mall you can rent by square meters If: you need more, you get more you need less, you give it back BetterSoftware ‘11Monday, 27 June 2011
  10. 10. 2. Cloud why? BetterSoftware ‘11Monday, 27 June 2011
  11. 11. Move from Capex to O p ex BetterSoftware ‘11Monday, 27 June 2011
  12. 12. eCommerce Website 1600000 1200000 800000 400000 0 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Traffic BetterSoftware ‘11Monday, 27 June 2011
  13. 13. Over provision ing 1600000 1200000 800000 400000 0 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Traffic Provisioning BetterSoftware ‘11Monday, 27 June 2011
  14. 14. Under provisioning 1600000 1200000 800000 400000 0 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Traffic Provisioning BetterSoftware ‘11Monday, 27 June 2011
  15. 15. AutoScale(TM) 1600000 1200000 800000 400000 0 Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Traffic Provisioning BetterSoftware ‘11Monday, 27 June 2011
  16. 16. From Capex to Opex No need for approval to buy any new computational resources  “Pay as you go” model BetterSoftware ‘11Monday, 27 June 2011
  17. 17. Ready to succeed? BetterSoftware ‘11Monday, 27 June 2011
  18. 18. 200150100 50 0 Sat Sun Mon Tue Wed Thu Fri Sat Sun Traffic “Breakup notifier” - la unch BetterSoftware ‘11Monday, 27 June 2011
  19. 19. 300000225000150000 75000 0 Fri Sat Sun Mon Tue Wed Thu Fri Sat Sun Mon Tue Wed Thu Traffic The TechCrunch effec t BetterSoftware ‘11Monday, 27 June 2011
  20. 20. 3. Cloud when? BetterSoftware ‘11Monday, 27 June 2011
  21. 21. Enterprise Circumvent IT department Pay as you go - no budget approval No provisioning Cons: sensitive data? BetterSoftware ‘11Monday, 27 June 2011
  22. 22. Startup / Pet project Defeat TechCrunch effect No money (but glory) No operations team BetterSoftware ‘11Monday, 27 June 2011
  23. 23. Building on AWS BetterSoftware ‘11Monday, 27 June 2011
  24. 24. Amazon Web Services “The most mature, flexible and complete infrastructure platform” -- Jeff Bezos (CEO, Amazon.com) BetterSoftware ‘11Monday, 27 June 2011
  25. 25. AWS WebApp Architect ure Monitoring Frontend Messaging AutoScale Backend Backend Storage BetterSoftware ‘11Monday, 27 June 2011
  26. 26. Network Components Load Balancers Firewalls Elastic IPs Route 53 Virtual Private Cloud BetterSoftware ‘11Monday, 27 June 2011
  27. 27. Computing: EC2 Virtual Machines Different memory/cpu resources Run public or custom OS images When turned off, changes are lost (volatile) Pay what you use (time and bandwidth) BetterSoftware ‘11Monday, 27 June 2011
  28. 28. Bonus Track: EC2 + LX C Run Virtual Machines into Virtual Machines LXC (Linux Containers) UML (UserMode Linux) FreeBSD jails BetterSoftware ‘11Monday, 27 June 2011
  29. 29. Storage: EBS Network storage volumes Customizable size Data stored in snapshots Data is automatically replicated Pay per allocated GB BetterSoftware ‘11Monday, 27 June 2011
  30. 30. Storage: S3 Key/value object storage Rest API to manipulate the repository (web access to objects) S3FS Slower, more reliable Pay per allocated GB and usage (data transfer) BetterSoftware ‘11Monday, 27 June 2011
  31. 31. Storage: RDS Relational Database Service A managed MySQL/ Oracle instance in the Cloud Different cpu/mem resources Pay what you use (bandwidth and time) BetterSoftware ‘11Monday, 27 June 2011
  32. 32. Storage: SimpleDB The NoSQL alternative A managed NoSQL instance in the Cloud Custom API to manipulate the data set Pay what you use (bandwidth and time) BetterSoftware ‘11Monday, 27 June 2011
  33. 33. Messaging: SNS Simple Notification Service A notification infrastructure in the Cloud Publish/Subscribe protocol Http/Mail/SQS notifications Pay what you use (requests, notification and bandwidth) BetterSoftware ‘11Monday, 27 June 2011
  34. 34. Messaging: SQS Simple Queue Service A message queue infrastructure in the Cloud Communications between EC2 instances Enable the “worker queue” paradigm Pay what you use (bandwidth and API requests) BetterSoftware ‘11Monday, 27 June 2011
  35. 35. Monitoring: CloudWatc h Monitor AWS resources EC2 instances EBS volumes RDS databases Load Balancers ... Set alarms View graphs and statistics Pay per number of alarms and metrics monitored BetterSoftware ‘11Monday, 27 June 2011
  36. 36. Monitoring: AutoScale Monitor instances and take scalability decisions Scale out EC2 instances when demand increases Shed unneeded EC2 instances when demand subsides (save $$$) Enable “elasticity” Free of charge BetterSoftware ‘11Monday, 27 June 2011
  37. 37. Putting it all together Monitoring Frontend Messaging AutoScale Backend Backend Storage BetterSoftware ‘11Monday, 27 June 2011
  38. 38. Failures Cloud is not immune to failures Cloud Apps should be designed with failure in mind (distributed components app) Take advantages of: Availability Zones Multiple Regions BetterSoftware ‘11Monday, 27 June 2011
  39. 39. One more thing: API! All services are manageable through a Web Console But all AWS services have exposed APIs You can (for example): Allocate, start, control, terminate EC2 instances Allocate/attach/deallocate EBS partitions Allocate/start/stop databases Create/Read/Update/Destroy S3 objects Change IPs Monitor components ... BetterSoftware ‘11Monday, 27 June 2011
  40. 40. Predicting costs Amazon Simple Monthly Calculator (google it!) Given some assumptions, how much will I pay? BetterSoftware ‘11Monday, 27 June 2011
  41. 41. Keep costs low Use a mix of reserved instances vs. On- Demand instances Undersize your storage and processing power Monitor process activities (e.g. you pay for the bandwidth) Use AutoScale BetterSoftware ‘11Monday, 27 June 2011
  42. 42. Conclusions Cloud is a very good place to host your application and data Very flexible, leaves to others the pain of operations Easy to migrate to Cloud in steps (subscribing one service at a time) Your application is ready to scale with your business BetterSoftware ‘11Monday, 27 June 2011
  43. 43. Thanks! Questions? luca@coderloop.com linkedin.com/in/lucabonmassar twitter.com/lucabonmassar BetterSoftware ‘11Monday, 27 June 2011

×