Presentation is loading. Please wait.

Presentation is loading. Please wait.

Developing SaaS Applications with the Windows Azure Platform Vittorio Bertocci

Similar presentations


Presentation on theme: "Developing SaaS Applications with the Windows Azure Platform Vittorio Bertocci"— Presentation transcript:

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

2 The Windows Azure Platform Makes It Easier to Develop SaaS Solutions

3 Agenda SaaS, PaaS and the cloud opportunity FabrikamShipping SaaS – www.fabrikamshipping.comwww.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 DEMO 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 DEMO Enterprise Subscription

11 Enterprise Architecture

12 Enterprise Edition Features & Tradeoffs Completely isolated from other tenants Fs-.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 Subscription Store New Hosted Service (HS) And Storage Account (SA) Every 1 minute Check HS and SA were created Service Mgmt API triggers che ck sta tus insert Deployment Queue enqueue Create SQL Azure DB mail to FS Administrat ors Create Self Signed SSL Cert insert triggers SQL Azure Server Upload Decryption Certificate Create Relying Parties (website & odata), Upload FedMetadata (of IdP), Upload the encryption cert (of RP), Create claim mapping Rules Access Control Service Mgmt API Deploy Package and Update Subscription Status Azure Service Mgmt API Every 1 minute Check Deployment is Ready Deployment Ready Queue enque ue Send Notification (email) triggers Enterprise Provisioning Queue triggers enque ue Provisioning Store insert update Create Provisioning Start Provisioning Get Subscriptions query Provisioning Framework API query & update IsAlias Available query Update Web.config and ServiceConfiguration.cscfg, Re-package and upload to blob storage Provisioning Workflow ENTERPRISE Makcert.ex e & certutil.exe Azure Service Mgmt API Provisionin g Store Cspack.exe triggers mail to the subscriber

14 DEMO 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/ 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 Subscription Store insert Create SQL Azure DB Create User profiles triggers Provisionin g Store Create Signing X509 Certificate Deployment Ready Queue Send Notification (email) triggers SmallBiz Provisioning Queue enqueue Provisioning Store insert update Create Provisioning Start Provisioning Get Subscriptions query Provisioning Framework API IsAlias Available query enqueue Create Tenant Metadata (name of company, alias, public key) SQL Azure Server Makcert.ex e & certutil.exe Create User and Roles tables 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 Access Control Service Mgmt API

18 Advices From Applications to Application Factories Whatever tradeoff you want, the Windows Azure platform allows it Reuse IP “as is” vs multitenancy 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 1.Activate your Benefits (see previous slide) 2.Get the Tools via http://tinyurl.com/toolsforazure 3.First learn how to create an application via http://tinyurl.com/deployazureapplication

21 Speaker info: please do not delete the slides in this section Show these slides at the end of your session before going to Thank you page.

22 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 blog http://blogs.msdn.com/belux Join us on Facebook http://www.facebook.com/msdnbe http://www.facebook.com/msdnbelux LinkedIn: http://linkd.in/msdnbelux/ Twitter: @msdnbelux Download MSDN/TechNet Desktop Gadget http://bit.ly/msdntngadget

23 TechDays 2011 On-Demand Watch this session on-demand via Channel9 http://channel9.msdn.com/belux Download to your favorite MP3 or video player Get access to slides and recommended resources by the speakers

24 THANK YOU


Download ppt "Developing SaaS Applications with the Windows Azure Platform Vittorio Bertocci"

Similar presentations


Ads by Google