Download - Harper Reed: Cloud Contraints
![Page 2: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/2.jpg)
Hi!
![Page 3: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/3.jpg)
I build a lot of applications.
![Page 4: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/4.jpg)
BIG
![Page 6: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/6.jpg)
![Page 7: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/7.jpg)
Cloud Computing is Awesome
![Page 8: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/8.jpg)
![Page 9: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/9.jpg)
Cloud computing has a lot of constraints
ArchitectureDevelopmentDeployment
![Page 10: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/10.jpg)
Architecture
You never know if a resource may disappear/fail.
Examples:EC2 InstancesCloud Server Resources
![Page 11: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/11.jpg)
Development
The languages and supported technologies may be limited
Examples: App Engine: python/javaHeroku: ruby
![Page 12: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/12.jpg)
Deployment
Old style simple deployment is gone.
Examples:App engine deploy toolsEC2 Tool chainHeroku tool chain
![Page 13: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/13.jpg)
Google App Engine
![Page 14: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/14.jpg)
Google App Engine
A platform for developing and hosting web applications in Google-managed data centers.
![Page 15: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/15.jpg)
App Engine
Time per request: 30 secBlobstore size: 2 GBHTTP response size: 10 MBDatastore item size: 1 MBApplication code size: 150 MB
![Page 16: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/16.jpg)
Time per request
Limit the time allowed per request
![Page 17: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/17.jpg)
Query Constraints
App Engine used to only return resultsets with 1000 results.
![Page 18: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/18.jpg)
Datastore
Often PaaS providers limit the type and kind of queries you can do over a datastore.
Joins are not your friend
![Page 19: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/19.jpg)
Port 80
You can only serve and make requests on port 80.
![Page 20: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/20.jpg)
Misc tools/apis
QueueSearchMap ReduceDatastoreEmail
see: http://addons.heroku.com/
![Page 21: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/21.jpg)
Servers
EC2 and Rackspace Cloud
![Page 22: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/22.jpg)
Servers offer a lot of freedom. They are also a pain in the ass (don't trust them).
![Page 23: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/23.jpg)
Architecture
Architecting server infrastructures in clouded environments is MUCH different than the old fashioned big iron way.
see: elastic scaling, IaaS vs PaaS
![Page 24: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/24.jpg)
Cloud Server Constraints
Less constraints than PaaS providers. Often emulates a real server.
see: rackspace cloud
![Page 25: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/25.jpg)
Some real constaints
Transient serversArchitect for failureDeployment
![Page 26: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/26.jpg)
Transient servers
Your servers may/will disappear. You need to build that assumption into your infrastructure.
![Page 27: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/27.jpg)
Architect for failure
When you don't control the resource and hardware - you will experience failures.
Build around the potential for failure.
![Page 28: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/28.jpg)
Deployment
The nature of cloud servers let's you pop up 100s or 1000s of boxes. This is a nightmare to manage without awesome tools like puppet, chef, etc.
![Page 29: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/29.jpg)
The Magic
![Page 30: Harper Reed: Cloud Contraints](https://reader034.vdocuments.net/reader034/viewer/2022051111/55519d5eb4c9053c488b48c9/html5/thumbnails/30.jpg)
Work within these constraints even when you don't have them
Your apps will be better.They will respond better.They will be more efficient.
Your users will be happier