1 / 23

Developing SaaS Applications with the Windows Azure Platform

Developing SaaS Applications with the Windows Azure Platform. Vittorio Bertocci www.cloudidentity.net/@vibronet. The Windows Azure Platform Makes It Easier to Develop SaaS Solutions. Agenda. SaaS , PaaS and the cloud opportunity FabrikamShipping SaaS – www.fabrikamshipping.com

becky
Télécharger la présentation

Developing SaaS Applications with the Windows Azure Platform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Developing SaaS Applications with the Windows Azure Platform Vittorio Bertocci www.cloudidentity.net/@vibronet

  2. The Windows Azure Platform Makes It Easierto Develop SaaS Solutions

  3. Agenda • SaaS, PaaS and the cloud opportunity • FabrikamShipping SaaS – www.fabrikamshipping.com • Enterprise Edition • Small Business Edition

  4. *aaS

  5. FabrikamShipping->SaaS • Existing demo application • PDC08, sample, Keynote demo at TechEd NA 2010 • Simple outsourcing scenario: mailing & shipping • Exercise: • Move FabrikamShipping to a subscription-based model… • …leveraging the Windows Azure platform • Goals • Make it easy FOR YOU to experience • Provide boilerplate code for hard tasks • Engineering feedback

  6. FabrikamShipping SaaS

  7. Our Solution Pattern • New solution structure: application factory

  8. FabrikamShipping SaaS

  9. Provisioning Operations • Windows Azure • Poll for service and storage existence • React to triggers • Use CSPack in a worker role for creating a package • Create and upload certificates • Send mails • Handle payments via PayPal • SQL Azure • Create and destroy databases • ACS • Create RPs, trust IPs, create & modify rules, upload certificates

  10. Enterprise Subscription

  11. Enterprise Architecture

  12. Enterprise Edition Features & Tradeoffs • Completely isolated from other tenants • Fs-<tenant>.cloudapp.net • Exclusive use of • dedicated hosted service(s) • SQL Azure databases • Little or no change to the existing application codebase • The provisioning • automates the customization of the app • creates a package dynamically • …but requires a manual step • Maximum clarity in the billing • Federated SSO • No need for account provisioning, reuse existing org structure • The # of actual users is unknown

  13. Enterprise Provisioning Get Subscriptions Create Provisioning IsAliasAvailable Provisioning Store Subscription Store insert enqueue Provisioning Framework API triggers Start Provisioning Deployment Queue query update insert query insert Check HS and SA were created Access Control Service Mgmt API query & update triggers enqueue Every 1 minute Upload Decryption Certificate Create Relying Parties (website & odata), Upload FedMetadata (of IdP), Upload the encryption cert (of RP), Create claim mapping Rules Create Self Signed SSL Cert Create SQL Azure DB Update Web.config and ServiceConfiguration.cscfg, Re-package and upload to blob storage Azure Service Mgmt API Deploy Package and Update Subscription Status check status Makcert.exe & certutil.exe Provisioning Store SQL Azure Server Cspack.exe Service Mgmt API triggers Azure Service Mgmt API mail to FS Administrators New Hosted Service (HS) And Storage Account (SA) Enterprise Provisioning Queue triggers enqueue triggers Check Deployment is Ready mail to the subscriber Send Notification (email) Every 1 minute ProvisioningWorkflow ENTERPRISE Deployment Ready Queue

  14. Small Business Subscription

  15. Small Business Architecture

  16. Small Business Edition Features & Tradeoffs • One application instance shared among all subscribers • Classic multitenant scenario • Fshippingsmallbiz.cloudapp.net/<tenant> • Exclusive SQL Azure database • Admits users from social identity providers • Sign-up and user account activation require custom code • Custom code required for • customizing the same app instance per-tenant • keeping tenants isolated from each other • Improved resources yield • Harder to track usage per customer and bill • Investments in the infra (ie multiple instances for the app) affect all tenants • Variant: bucketing

  17. Small Business Provisioning Get Subscriptions Create Provisioning IsAliasAvailable Provisioning Store Subscription Store triggers Start Provisioning Provisioning Framework API SmallBiz Provisioning Queue query update insert query insert enqueue Create User and Roles tables Access Control Service Mgmt API Create Signing X509 Certificate Create User profiles Create Relying Party (website), Configure allowed Identity Prov (Google, LiveID, fb) Upload the signing cert (created on step 1), Upload the encryption cert (FS) Create claim mapping rules Create SQL Azure DB Makcert.exe & certutil.exe SQL Azure Server Create Tenant Metadata (name of company, alias, public key) ProvisioningStore enqueue triggers Deployment Ready Queue Send Notification (email)

  18. Advices • From Applications to Application Factories • Whatever tradeoff you want, the Windows Azure platform allows it • Reuse IP “as is” vsmultitenancy • Shared vs. exclusive resources • Enterprise SSO vs. social providers • …and everything in between • Integrate other PaaS to get the vertical features you need • Mail • Payment • ..check out the code, tons of goodies

  19. Get Started with Windows Azure For Free Today! • MSDN Subscriber • Activate Your Free Included MSDN Benefits via http://tinyurl.com/activatemsdnazurebenefits • Individual: • Get a Free Azure Introductory via http://tinyurl.com/freeintroazureoffer • Free Computation hours and Storage • Get 30 Days Free Windows Azure via http://www.windowsazurepass.com • Select Belgium and enter Promo code: AZP001 • Partner • Get free monthly access to Azure with Partner Cloud Essentials via http://www.microsoftcloudpartner.com/ 

  20. Start Developing on the Windows Azure Platform • Activate your Benefits (see previous slide) • Get the Tools via http://tinyurl.com/toolsforazure • First learn how to create an application via http://tinyurl.com/deployazureapplication

  21. Stay up to date with MSDN Belux • Register for our newsletters and stay up to date:http://www.msdn-newsletters.be • Technical updates • Event announcements and registration • Top downloads • Follow our bloghttp://blogs.msdn.com/belux • Join us on Facebookhttp://www.facebook.com/msdnbehttp://www.facebook.com/msdnbelux • LinkedIn: http://linkd.in/msdnbelux/ • Twitter: @msdnbelux DownloadMSDN/TechNet Desktop Gadgethttp://bit.ly/msdntngadget

  22. TechDays 2011 On-Demand • Watchthis session on-demand via Channel9http://channel9.msdn.com/belux • Download to your favorite MP3 or video player • Get access to slides and recommended resources by the speakers

  23. THANK YOU

More Related