The life in the Cloud

478 views
435 views

Published on

Presentation by Maarten Huijsmans on Google App Engine & Amazon Web Services

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

  • Be the first to like this

No Downloads
Views
Total views
478
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

The life in the Cloud

  1. 1. The life in the CloudGoogle App Engine & Amazon Web Services<br />22 June 2011<br />1<br />
  2. 2. Content<br />Google App Engine (GAE)<br />Amazon Web Services (AWS)<br />2<br />
  3. 3. Google App Engine<br />SaaS= Software as a Service<br />Autoscaling<br />Its Free!!<br />Paid if you use more<br />http://code.google.com/intl/en/appengine/<br />Signup:<br />https://appengine.google.com/<br />SMS verifying <br />3<br />
  4. 4. GAE - Limitations<br />No Relational Database<br />Instead: “google data store”<br />Google Query Language (GQL)<br />No joins<br />Hard to configure custom libraries<br />Limited to what googleoffers<br />No full Java support<br />No support for “naked domains”<br />foreach.com<br />No hard drive … <br />Files must be stored in the Data Store<br />4<br />
  5. 5. GAE – Pro’s<br />Hot deploy<br />Fast<br />Easy (launcher)<br />App versioning<br />No server configuration<br />No servers to maintain<br />Data store works out of the box<br />Datastores are created automatically<br />Automatic scaling<br />Easy integration with all Google API’s<br />Authentication Google accounts<br />Picasa<br />Google Maps<br />etc<br />5<br />
  6. 6. GAE – Techstuff<br />Supported for:<br />Java<br />Python<br />Go!<br />Mature Eclipse Plugin<br />Launcher:<br />Emulator of GAE for development<br />Online dashboard: https://appengine.google.com/<br />6<br />Guillermo<br />
  7. 7. GAE – Example in Python<br />Object Oriented scripting language<br />Create app in the dashboard<br />https://appengine.google.com/<br />Create project in Eclipse<br />Google plugin must be installed<br />http://code.google.com/intl/en/appengine/docs/java/tools/eclipse.html<br />7<br />
  8. 8. GAE – Hola Platano<br />Simple example, 2 files:<br />app.yaml<br />holaplatano.py<br />8<br />
  9. 9. GAE – app.yaml<br />application: holaplatanoexample<br />version: 1 <br />runtime: python <br />api_version: 1 <br />handlers: <br /> - url: /.* script: holaplatano.py<br />9<br />
  10. 10. GAE – holaplatano.py<br />print 'Content-Type: text/html‘<br />print '‘<br />print ‘HolaPlatano’<br />10<br />
  11. 11. GAE – Overall<br />Not really feasible for big projects<br />Easy to use<br />Good enough for smaller sites<br />Free tier is sufficient<br />11<br />
  12. 12. Amazon Web Service<br />12<br />
  13. 13. AWS – Overview<br />IaaS = Infrastructure as a Service<br />Cloud computing<br />Set of services<br />You only pay for what you use<br />Scattered all over the world<br />Different datacenters<br />Paid service<br />Free tier for new users<br />13<br />
  14. 14. AWS – Services<br />Elastic Compute Cloud (ec2)<br />Simple Storage Service (s3)<br />CloudFront<br />Relational Database Service (RDS)<br />…<br />14<br />
  15. 15. AWS – Services API<br />RESTfulAPI<br />authenticated<br />All services are accessible through their API.<br />Java<br />Python<br />Ruby<br />.NET<br />iPhone<br />Android<br />Online console<br />Not everything supported yet<br />Large community and code samples<br />15<br />
  16. 16. AWS – Elastic Compute Cloud (ec2)<br />Create a Virtual Instances<br />Linux<br />Windows<br />Preconfigured instances<br />http://aws.amazon.com/ec2/#instance<br />Reusable images<br />Up and running in 5 minutes<br />16<br />
  17. 17. AWS – Simple Storage Service (s3)<br />Storage in the cloud<br />Unlimited<br />99.9999999999999999999999% durability and availability<br />No FTP, no disk … its somewhere<br />17<br />
  18. 18. AWS – CloudFront<br />Content Delivery Network<br />Content stored on edge locations<br />All over the world<br />User connects to the nearest location<br />18<br />
  19. 19. AWS – Relational Database Service (RDS)<br />Based on ec2<br />Scalable database<br />Scale up <br />Scale out (read-replications)<br />Supported<br />Oracle<br />MySQL<br />19<br />
  20. 20. AWS – Some Limitations<br />Not a network infrastructure<br />Dynamic ip’s (they have elastic ips)<br />No multicast ip’s<br />Instances are preconfigured<br />Disk IO is slower <br />…<br />20<br />
  21. 21. Da wast<br />21<br />Any questions?<br />

×