![Page 1: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/1.jpg)
Platform as a Service
Deploying to the cloud
![Page 2: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/2.jpg)
What is PaaS
• Complete application stack• Pay only for what you use• Elastic scaling• No server setup or maintenance
![Page 3: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/3.jpg)
![Page 4: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/4.jpg)
No vendor lock-in
• Builds standard .NET based project types• No AppHarbor specific code• Easily migrate apps
![Page 5: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/5.jpg)
Deployment
![Page 6: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/6.jpg)
GitHub integration
![Page 7: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/7.jpg)
Mercurial, SVN and TFS
• Build API
![Page 8: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/8.jpg)
Maintenance manager
![Page 9: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/9.jpg)
Continuous Integration
• Only deploys “default” branches
![Page 10: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/10.jpg)
Service hooks
• TweetHarbor• Hook API
![Page 11: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/11.jpg)
Application servers
• Most common frameworks and libraries are installed.
• .NET 2.0 and 4.0• ASP.NET MVC 1, 2 and 3• F#• WCF services
![Page 12: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/12.jpg)
Add-ons
![Page 13: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/13.jpg)
Databases and caching
![Page 14: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/14.jpg)
• Use SMTP4Dev locally
![Page 15: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/15.jpg)
Logging and Performance
![Page 16: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/16.jpg)
Designing for the cloud
• Keep in mind that:– Apps are deployed to multiple instances– Can be moved to other servers at any time
![Page 17: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/17.jpg)
Design implications
• Don’t use local storage• Don’t use instance session state• Self-contained app packages (bin-deploy)
![Page 18: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/18.jpg)
Scaling
![Page 19: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/19.jpg)
Release management
![Page 20: BizSpark SF Lightning Talk: "PaaS and Deploying To The Cloud" by Rune Soerensen](https://reader033.vdocument.in/reader033/viewer/2022061218/54b698404a795968278b4607/html5/thumbnails/20.jpg)
Links• AppHarbor: https://appharbor.com• Github.com, bitbucket.org, codeplex.com• Add-ons: https://appharbor.com/addon• TweetHarbor: https://tweetharbor.apphb.com• MaintMan: https://maintman.apphb.com/ • Twitter: http://twitter.com/appharbor• Msysgit: http://code.google.com/p/msysgit/ • Gallio: http://www.gallio.org/ • Smtp4Dev: http://smtp4dev.codeplex.com/ • AppHarbor API docs: http://support.appharbor.com/kb/api• AppHarbor add-on docs: http://support.appharbor.com/kb/add-ons