SlideShare une entreprise Scribd logo
1  sur  23
Windows Azure for Developers

       Building Block Services


     Wednesday, March 7th 2012
About Me

Michael S. Collier
National Architect,
Windows Azure



michael.collier@neudesic.com
@MichaelCollier
www.MichaelSCollier.com
Today’s Agenda

• Windows Azure Overview
• Building Block Services
   – Access Control Services
   – Caching
   – Service Bus
• Q&A
Windows Azure Core Components

                                                                                    VM

   DataMarket Service                               WEB
                                                                                                    Service Bus         Cache Service
                                                                  WORKER             VM
                                                    ROLE           ROLE             ROLE




                                                                                                         Access Control Service



                                                                                         DATABASE   DATA SYNC     IMPORT     REPORTING
                  BLOB          QUEUE            TABLE
                                                                                          SERVICE    SERVICE      EXPORT      SERVICE
                 SERVICE        SERVICE         SERVICE
                                                                                                                  SERVICE




                    Windows Azure Connect                                                   Windows Azure Traffic Manager
Windows Azure graphics courtesy of David Pallmann (http://davidpallmann.blogspot.com/)
Building Block Services

•   Additional platform services for advanced functionality
•   Use with “core” services or own their own
•   Enhance developer productivity
•   Consume cloud services – initial move to the cloud
•   Services
    – Access Control Services – federated identity management
      service
    – Caching – distributed caching service
    – Service Bus – messaging and routing service
Access Control Services

• No need to build your own identity management
   – Another component to maintain
   – Likely not a distinguishable part of your application
   – Deal with user management
       • User support
       • Password management (including resets)
Federated Identity Management

• Authenticate
   – Windows Identity Foundation (WIF)
   – OAuth and WS-Federation
• Authorize
   – Claims-based
• Identity Providers
   – Corporate via Active Directory (ADFSv2)
   – Social
      • Windows Live, Yahoo!, Google, Facebook
   – Build your own using membership (identityserver.codeplex.com)
• Write to ACS and let Microsoft worry about the rest
ACS – How Does It Work?
                                                                                    Identity                            Access
                                              Browser                                                                                      Application
                                                                                    Provider                            Control


                                                                                                  1. Request Resource

                                                                                                   2. Redirect to ACS

                                                                                                       3. Auth/N                  4. Home-realm
                                                                                                                                  Discovery
                                                                                                  5. Redirect to IdP
                                                                                               7. Authenticate &
Diagram courtesy of Windows Azure Boot Camp




                                                               6. Login
                                                                                                  Issue Token
                                                        8. Redirect to AC service
                                                                                                                                  10. Validate
                                                                          9. Send Token to ACS                                    Token, Run Rules
                                                                                                                                  Engine,
                                                                  11. Redirect to RP with ACS Token                                 Issue Token

                                                                                      13. Send ACS Token to Relying Party

                                                                                                                                                  12. Validate
                                                                                     14. Return resource representation
                                                                                                                                                      Token
Windows Azure Access Control Service

DEMO
ACS – Final Tips

• Update session cooking handling
   – WIF uses Data Protection API (DPAPI) by default.
   – DPAPI not support in Windows Azure.
   – Encrypt cookies with RSA using a certificate (SSL or self-signed
     (dev))
   – Windows Azure Training Kit has full example
   – http://davidpallmann.blogspot.com/2011/12/mobile-global-with-
     html5-mvc-windows_27.html
• Put WIF configuration params in ServiceConfiguration
   – WIF uses web.config
   – Read in params from ServiceConfiguration.cscfg on role start and
     rewrite web.config
   – http://blogs.msdn.com/b/vbertocci/archive/2011/05/31/edit-and-
     apply-new-wif-s-config-settings-in-your-windows-azure-webrole-
     without-redeploying.aspx
Caching

•   Distributed, in-memory caching for Windows Azure apps
•   Scalable, low latency, and high throughput
•   Very similar to Windows Server AppFabric Caching
•   Ability to enable a local cache
•   Limits
    – 8MB per object
    – No serialization for local caching
• Security via ACS
Caching

• Easy to plug in as provider for ASP.NET session state
  and page output
• Sample client configuration XML provided in portal
Caching

• Add the following assemblies
   –   Microsoft.ApplicationServer.Caching.Client.dll
   –   Microsoft.ApplicationServer.Caching.Core.dll
   –   Microsoft.WindowsFabric.Common.dll
   –   Microsoft.WindowsFabric.Data.Common.dll
   –   Microsoft.Web.DistributedCache.dll (for ASP.NET web projects)
• Write the code
Service Bus

• Robust messaging and routing services
• Ability to connect services across networks
   – Defeats NATs and firewalls
   – Great for hybrid application scenarios!
• Uses ACS for security
Message Relay

sb://namespace.servicebus.windows.net/service



                                                                   Service Bus




                   Upgrade connection – NAT traversal connection
      Sender                                                       Receiver
Message Relay

• Use SB addressing and bindings
• Simply use new „relay‟ bindings
• Behavior for ACS authorization

• Not new . . . Been in Service Bus for a while! 
Service Bus Message Queues

•     Reliable and durable – backed by SQL Azure
•     Store up to 1GB per queue
•     No TTL – unlike Windows Azure queues
•     256KB maximum message size
•     Messaging API, WCF, and REST interfaces



    Publisher                 Queue                Receiver
Service Bus Topics (pub/sub)

•   Takes SB Queues to the next level
•   2,000 subscriptions on a single Topic
•   Subscription is a virtual queue – gets a copy of each message
•   Filters
     – Use SQL92 syntax to configure Subscription to receive only messages
       with matching properties
• Actions
     – Modify message properties as they‟re selected

                                                                  Receiver
                                            Subscription
                                                                  Receiver
    Publisher               Topic
                                            Subscription          Receiver
Windows Azure Service Bus Queues & Topics

SHOW ME THE CODE!
Summary

 • Compute roles, storage, and SQL Azure get a lot of
   attention.
 • Don‟t forget about the building block services

                         Robust service relay and messaging
     Service Bus


                         Easy to configure Cache-as-a-Service
    Cache Service


                         Federated identity management
Access Control Service   (authentication and authorization)
Resources

• How To Guides for .NET
    – http://www.windowsazure.com/en-us/develop/net/
• Managing Caches in Windows Azure
    – http://msdn.microsoft.com/en-us/library/windowsazure/gg618005.aspx
• Windows Azure Service Bus Best Practices
    – http://windowsazurecat.com/2011/09/best-practices-leveraging-windows-
      azure-service-bus-brokered-messaging-api/
• Service Bus Explorer
    – http://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer-
      f2abca5a
• Rick Garibay – “Azure AppFabric Service Bus Brokered Messaging
  GA & Rude CTP Diffs”
    – http://www.rickgaribay.net/archive/2011/09/14/azure-appfabric-service-bus-
      brokered-messaging-ga-amp-rude-ctp.aspx
• Vitorrio Bertocci‟s Blog
    – http://blogs.msdn.com/b/vbertocci/
Windows Azure Building Block Services for Developers
Windows Azure Building Block Services for Developers

Contenu connexe

Tendances

More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less CashMichael Collier
 
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...Michael Collier
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)Michael Collier
 
Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerMichael Collier
 
Above the cloud: Big Data and BI
Above the cloud: Big Data and BIAbove the cloud: Big Data and BI
Above the cloud: Big Data and BIDenny Lee
 
Integrating sps 2010 and windows azure
Integrating sps 2010 and windows azureIntegrating sps 2010 and windows azure
Integrating sps 2010 and windows azureManish Corriea
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applicationsManish Corriea
 
Lap around windows azure
Lap around windows azureLap around windows azure
Lap around windows azureManish Corriea
 
Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerMichael Collier
 
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...Sandy Winarko
 
What’s New with SSIS in ADF
 What’s New with SSIS in ADF What’s New with SSIS in ADF
What’s New with SSIS in ADFSandy Winarko
 
Hibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdfHibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdfChristian Beikov
 
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Cloud Computing with the Windows Azure PlatformMS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Cloud Computing with the Windows Azure PlatformSpiffy
 
AWS December 2015 Webinar Series - EC2 Dedicated Hosts
AWS December 2015 Webinar Series - EC2 Dedicated HostsAWS December 2015 Webinar Series - EC2 Dedicated Hosts
AWS December 2015 Webinar Series - EC2 Dedicated HostsAmazon Web Services
 
The Essentials of Building Cloud-Based Web Apps with Azure
The Essentials of Building Cloud-Based Web Apps with AzureThe Essentials of Building Cloud-Based Web Apps with Azure
The Essentials of Building Cloud-Based Web Apps with AzureIdo Flatow
 
C fowler intro-azure
C fowler intro-azureC fowler intro-azure
C fowler intro-azuresdeconf
 
Microsoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure PlatformMicrosoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure PlatformEsri
 
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
Migrating Customers to Microsoft Azure: Lessons Learned From the FieldMigrating Customers to Microsoft Azure: Lessons Learned From the Field
Migrating Customers to Microsoft Azure: Lessons Learned From the FieldIdo Flatow
 
Build the foundation for Private Cloud
Build the foundation for Private CloudBuild the foundation for Private Cloud
Build the foundation for Private CloudAppZero
 

Tendances (20)

More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less Cash
 
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
Using Windows Azure for Solving Identity Management Challenges (Visual Studio...
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)
 
Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect Partner
 
Above the cloud: Big Data and BI
Above the cloud: Big Data and BIAbove the cloud: Big Data and BI
Above the cloud: Big Data and BI
 
Integrating sps 2010 and windows azure
Integrating sps 2010 and windows azureIntegrating sps 2010 and windows azure
Integrating sps 2010 and windows azure
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
 
Lap around windows azure
Lap around windows azureLap around windows azure
Lap around windows azure
 
Windows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect PartnerWindows Azure Mobile Services - The Perfect Partner
Windows Azure Mobile Services - The Perfect Partner
 
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...
Embrace and Extend - First-Class Activity and 3rd Party Ecosystem for SSIS in...
 
What’s New with SSIS in ADF
 What’s New with SSIS in ADF What’s New with SSIS in ADF
What’s New with SSIS in ADF
 
Move to azure
Move to azureMove to azure
Move to azure
 
Hibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdfHibernate 6.0 - What's new.pdf
Hibernate 6.0 - What's new.pdf
 
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Cloud Computing with the Windows Azure PlatformMS TechDays 2011 - Cloud Computing with the Windows Azure Platform
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
 
AWS December 2015 Webinar Series - EC2 Dedicated Hosts
AWS December 2015 Webinar Series - EC2 Dedicated HostsAWS December 2015 Webinar Series - EC2 Dedicated Hosts
AWS December 2015 Webinar Series - EC2 Dedicated Hosts
 
The Essentials of Building Cloud-Based Web Apps with Azure
The Essentials of Building Cloud-Based Web Apps with AzureThe Essentials of Building Cloud-Based Web Apps with Azure
The Essentials of Building Cloud-Based Web Apps with Azure
 
C fowler intro-azure
C fowler intro-azureC fowler intro-azure
C fowler intro-azure
 
Microsoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure PlatformMicrosoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure Platform
 
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
Migrating Customers to Microsoft Azure: Lessons Learned From the FieldMigrating Customers to Microsoft Azure: Lessons Learned From the Field
Migrating Customers to Microsoft Azure: Lessons Learned From the Field
 
Build the foundation for Private Cloud
Build the foundation for Private CloudBuild the foundation for Private Cloud
Build the foundation for Private Cloud
 

En vedette

Alternative media in advertising
Alternative media in advertisingAlternative media in advertising
Alternative media in advertisingAMGW Agency
 
Alternative Media and Personal Publishing
Alternative Media and Personal PublishingAlternative Media and Personal Publishing
Alternative Media and Personal Publishingbicyclemark
 
Examples of alternative media
Examples of alternative mediaExamples of alternative media
Examples of alternative mediaArtSoup
 
Alternative media presentation
Alternative media presentationAlternative media presentation
Alternative media presentationSamantha Majoni
 
Interactive advertising
Interactive advertisingInteractive advertising
Interactive advertisingFrank Calberg
 
Promotional Plan For BD Market KOPIKO
Promotional Plan For BD Market KOPIKOPromotional Plan For BD Market KOPIKO
Promotional Plan For BD Market KOPIKOBishazit Das
 
Promotional Plan flavored bread
Promotional Plan flavored breadPromotional Plan flavored bread
Promotional Plan flavored breadguest18a1cd
 
Integrated marketing communication campaign
Integrated marketing communication campaignIntegrated marketing communication campaign
Integrated marketing communication campaignTAPMI School of Business
 
Marketing and Promotions of Food and Beverage
Marketing and Promotions of Food and BeverageMarketing and Promotions of Food and Beverage
Marketing and Promotions of Food and BeverageCris dela Peña
 

En vedette (12)

Alternative media in advertising
Alternative media in advertisingAlternative media in advertising
Alternative media in advertising
 
Alternative Media and Personal Publishing
Alternative Media and Personal PublishingAlternative Media and Personal Publishing
Alternative Media and Personal Publishing
 
Examples of alternative media
Examples of alternative mediaExamples of alternative media
Examples of alternative media
 
Alternative media presentation
Alternative media presentationAlternative media presentation
Alternative media presentation
 
Interactive advertising
Interactive advertisingInteractive advertising
Interactive advertising
 
Promotional Plan For BD Market KOPIKO
Promotional Plan For BD Market KOPIKOPromotional Plan For BD Market KOPIKO
Promotional Plan For BD Market KOPIKO
 
Promotional Plan flavored bread
Promotional Plan flavored breadPromotional Plan flavored bread
Promotional Plan flavored bread
 
LG Online Promotional Plan
LG Online Promotional PlanLG Online Promotional Plan
LG Online Promotional Plan
 
Integrated marketing communication campaign
Integrated marketing communication campaignIntegrated marketing communication campaign
Integrated marketing communication campaign
 
Launching a new Product
Launching a new Product Launching a new Product
Launching a new Product
 
MARKETING-CH10
MARKETING-CH10MARKETING-CH10
MARKETING-CH10
 
Marketing and Promotions of Food and Beverage
Marketing and Promotions of Food and BeverageMarketing and Promotions of Food and Beverage
Marketing and Promotions of Food and Beverage
 

Similaire à Windows Azure Building Block Services for Developers

Cisco Study: State of Web Security
Cisco Study: State of Web Security Cisco Study: State of Web Security
Cisco Study: State of Web Security Cisco Canada
 
Cognos Technical Super Session 2012
Cognos Technical Super Session 2012Cognos Technical Super Session 2012
Cognos Technical Super Session 2012barnaby1502
 
CloudStack Collaboration Conference 12; Refactoring cloud stack
CloudStack Collaboration Conference 12; Refactoring cloud stackCloudStack Collaboration Conference 12; Refactoring cloud stack
CloudStack Collaboration Conference 12; Refactoring cloud stackbuildacloud
 
Play with cloud foundry
Play with cloud foundryPlay with cloud foundry
Play with cloud foundryPeng Wan
 
(ATS4-APP03) Top 10 things every Notebook administrator should know
(ATS4-APP03) Top 10 things every Notebook administrator should know(ATS4-APP03) Top 10 things every Notebook administrator should know
(ATS4-APP03) Top 10 things every Notebook administrator should knowBIOVIA
 
Building your private cloud the ncs experience harrison lee
Building your private cloud the ncs experience harrison leeBuilding your private cloud the ncs experience harrison lee
Building your private cloud the ncs experience harrison leeMicrosoft Singapore
 
IdM in Smart Applications on Virtual Infrastructure
IdM in Smart Applications on Virtual InfrastructureIdM in Smart Applications on Virtual Infrastructure
IdM in Smart Applications on Virtual InfrastructureMohammad Faraji
 
Leveraging the azure cloud for your mobile apps
Leveraging the azure cloud for your mobile appsLeveraging the azure cloud for your mobile apps
Leveraging the azure cloud for your mobile appsMarcel de Vries
 
Choosing Your Windows Azure Platform Strategy
Choosing Your Windows Azure Platform StrategyChoosing Your Windows Azure Platform Strategy
Choosing Your Windows Azure Platform Strategydrmarcustillett
 
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns FrameworksMike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns Frameworksukdpe
 
Windows Sql Azure Cloud Computing Platform
Windows Sql Azure Cloud Computing PlatformWindows Sql Azure Cloud Computing Platform
Windows Sql Azure Cloud Computing PlatformEduardo Castro
 
Spring, Java Web Apps to the cloud
Spring, Java Web Apps to the cloudSpring, Java Web Apps to the cloud
Spring, Java Web Apps to the cloudCloudBees
 
EMEA OpenStack Day Intro, July 13th 2011 in London
EMEA OpenStack Day Intro, July 13th 2011 in LondonEMEA OpenStack Day Intro, July 13th 2011 in London
EMEA OpenStack Day Intro, July 13th 2011 in LondonMark Collier
 
eBay From Ground Level to the Clouds
eBay From Ground Level to the CloudseBay From Ground Level to the Clouds
eBay From Ground Level to the CloudsX.commerce
 
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver MeetupDaneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver MeetupShannon McFarland
 
Venus-c: Using open source clouds in eScience
Venus-c: Using open source clouds in eScienceVenus-c: Using open source clouds in eScience
Venus-c: Using open source clouds in eScienceOW2
 
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry introEMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry introOpen Stack
 
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...Novell
 
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...Novell
 

Similaire à Windows Azure Building Block Services for Developers (20)

Net Services
Net ServicesNet Services
Net Services
 
Cisco Study: State of Web Security
Cisco Study: State of Web Security Cisco Study: State of Web Security
Cisco Study: State of Web Security
 
Cognos Technical Super Session 2012
Cognos Technical Super Session 2012Cognos Technical Super Session 2012
Cognos Technical Super Session 2012
 
CloudStack Collaboration Conference 12; Refactoring cloud stack
CloudStack Collaboration Conference 12; Refactoring cloud stackCloudStack Collaboration Conference 12; Refactoring cloud stack
CloudStack Collaboration Conference 12; Refactoring cloud stack
 
Play with cloud foundry
Play with cloud foundryPlay with cloud foundry
Play with cloud foundry
 
(ATS4-APP03) Top 10 things every Notebook administrator should know
(ATS4-APP03) Top 10 things every Notebook administrator should know(ATS4-APP03) Top 10 things every Notebook administrator should know
(ATS4-APP03) Top 10 things every Notebook administrator should know
 
Building your private cloud the ncs experience harrison lee
Building your private cloud the ncs experience harrison leeBuilding your private cloud the ncs experience harrison lee
Building your private cloud the ncs experience harrison lee
 
IdM in Smart Applications on Virtual Infrastructure
IdM in Smart Applications on Virtual InfrastructureIdM in Smart Applications on Virtual Infrastructure
IdM in Smart Applications on Virtual Infrastructure
 
Leveraging the azure cloud for your mobile apps
Leveraging the azure cloud for your mobile appsLeveraging the azure cloud for your mobile apps
Leveraging the azure cloud for your mobile apps
 
Choosing Your Windows Azure Platform Strategy
Choosing Your Windows Azure Platform StrategyChoosing Your Windows Azure Platform Strategy
Choosing Your Windows Azure Platform Strategy
 
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns FrameworksMike Taulty MIX10 Silverlight 4 Patterns Frameworks
Mike Taulty MIX10 Silverlight 4 Patterns Frameworks
 
Windows Sql Azure Cloud Computing Platform
Windows Sql Azure Cloud Computing PlatformWindows Sql Azure Cloud Computing Platform
Windows Sql Azure Cloud Computing Platform
 
Spring, Java Web Apps to the cloud
Spring, Java Web Apps to the cloudSpring, Java Web Apps to the cloud
Spring, Java Web Apps to the cloud
 
EMEA OpenStack Day Intro, July 13th 2011 in London
EMEA OpenStack Day Intro, July 13th 2011 in LondonEMEA OpenStack Day Intro, July 13th 2011 in London
EMEA OpenStack Day Intro, July 13th 2011 in London
 
eBay From Ground Level to the Clouds
eBay From Ground Level to the CloudseBay From Ground Level to the Clouds
eBay From Ground Level to the Clouds
 
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver MeetupDaneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
Daneyon Hansen - Intro to OpenStack - Feb13 OpenStack Denver Meetup
 
Venus-c: Using open source clouds in eScience
Venus-c: Using open source clouds in eScienceVenus-c: Using open source clouds in eScience
Venus-c: Using open source clouds in eScience
 
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry introEMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
EMEA OpenStack Day, July 13th 2011 in London - Jim Curry intro
 
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
 
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
How to Implement Cloud Security: The Nuts and Bolts of Novell Cloud Security ...
 

Plus de Michael Collier

Inside Azure Resource Manager
Inside Azure Resource ManagerInside Azure Resource Manager
Inside Azure Resource ManagerMichael Collier
 
Automating Your Microsoft Azure Environment (DevLink 2014)
Automating Your Microsoft Azure Environment (DevLink 2014)Automating Your Microsoft Azure Environment (DevLink 2014)
Automating Your Microsoft Azure Environment (DevLink 2014)Michael Collier
 
Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)Michael Collier
 
Programming Azure Active Directory (DevLink 2014)
Programming Azure Active Directory (DevLink 2014)Programming Azure Active Directory (DevLink 2014)
Programming Azure Active Directory (DevLink 2014)Michael Collier
 
Inside Azure Diagnostics
Inside Azure DiagnosticsInside Azure Diagnostics
Inside Azure DiagnosticsMichael Collier
 
10 Ways to Gaurantee Your Azure Project will Fail
10 Ways to Gaurantee Your Azure Project will Fail10 Ways to Gaurantee Your Azure Project will Fail
10 Ways to Gaurantee Your Azure Project will FailMichael Collier
 

Plus de Michael Collier (6)

Inside Azure Resource Manager
Inside Azure Resource ManagerInside Azure Resource Manager
Inside Azure Resource Manager
 
Automating Your Microsoft Azure Environment (DevLink 2014)
Automating Your Microsoft Azure Environment (DevLink 2014)Automating Your Microsoft Azure Environment (DevLink 2014)
Automating Your Microsoft Azure Environment (DevLink 2014)
 
Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)Inside Azure Diagnostics (DevLink 2014)
Inside Azure Diagnostics (DevLink 2014)
 
Programming Azure Active Directory (DevLink 2014)
Programming Azure Active Directory (DevLink 2014)Programming Azure Active Directory (DevLink 2014)
Programming Azure Active Directory (DevLink 2014)
 
Inside Azure Diagnostics
Inside Azure DiagnosticsInside Azure Diagnostics
Inside Azure Diagnostics
 
10 Ways to Gaurantee Your Azure Project will Fail
10 Ways to Gaurantee Your Azure Project will Fail10 Ways to Gaurantee Your Azure Project will Fail
10 Ways to Gaurantee Your Azure Project will Fail
 

Dernier

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Dernier (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Windows Azure Building Block Services for Developers

  • 1. Windows Azure for Developers Building Block Services Wednesday, March 7th 2012
  • 2. About Me Michael S. Collier National Architect, Windows Azure michael.collier@neudesic.com @MichaelCollier www.MichaelSCollier.com
  • 3. Today’s Agenda • Windows Azure Overview • Building Block Services – Access Control Services – Caching – Service Bus • Q&A
  • 4. Windows Azure Core Components VM DataMarket Service WEB Service Bus Cache Service WORKER VM ROLE ROLE ROLE Access Control Service DATABASE DATA SYNC IMPORT REPORTING BLOB QUEUE TABLE SERVICE SERVICE EXPORT SERVICE SERVICE SERVICE SERVICE SERVICE Windows Azure Connect Windows Azure Traffic Manager Windows Azure graphics courtesy of David Pallmann (http://davidpallmann.blogspot.com/)
  • 5. Building Block Services • Additional platform services for advanced functionality • Use with “core” services or own their own • Enhance developer productivity • Consume cloud services – initial move to the cloud • Services – Access Control Services – federated identity management service – Caching – distributed caching service – Service Bus – messaging and routing service
  • 6. Access Control Services • No need to build your own identity management – Another component to maintain – Likely not a distinguishable part of your application – Deal with user management • User support • Password management (including resets)
  • 7. Federated Identity Management • Authenticate – Windows Identity Foundation (WIF) – OAuth and WS-Federation • Authorize – Claims-based • Identity Providers – Corporate via Active Directory (ADFSv2) – Social • Windows Live, Yahoo!, Google, Facebook – Build your own using membership (identityserver.codeplex.com) • Write to ACS and let Microsoft worry about the rest
  • 8. ACS – How Does It Work? Identity Access Browser Application Provider Control 1. Request Resource 2. Redirect to ACS 3. Auth/N 4. Home-realm Discovery 5. Redirect to IdP 7. Authenticate & Diagram courtesy of Windows Azure Boot Camp 6. Login Issue Token 8. Redirect to AC service 10. Validate 9. Send Token to ACS Token, Run Rules Engine, 11. Redirect to RP with ACS Token Issue Token 13. Send ACS Token to Relying Party 12. Validate 14. Return resource representation Token
  • 9. Windows Azure Access Control Service DEMO
  • 10. ACS – Final Tips • Update session cooking handling – WIF uses Data Protection API (DPAPI) by default. – DPAPI not support in Windows Azure. – Encrypt cookies with RSA using a certificate (SSL or self-signed (dev)) – Windows Azure Training Kit has full example – http://davidpallmann.blogspot.com/2011/12/mobile-global-with- html5-mvc-windows_27.html • Put WIF configuration params in ServiceConfiguration – WIF uses web.config – Read in params from ServiceConfiguration.cscfg on role start and rewrite web.config – http://blogs.msdn.com/b/vbertocci/archive/2011/05/31/edit-and- apply-new-wif-s-config-settings-in-your-windows-azure-webrole- without-redeploying.aspx
  • 11. Caching • Distributed, in-memory caching for Windows Azure apps • Scalable, low latency, and high throughput • Very similar to Windows Server AppFabric Caching • Ability to enable a local cache • Limits – 8MB per object – No serialization for local caching • Security via ACS
  • 12. Caching • Easy to plug in as provider for ASP.NET session state and page output • Sample client configuration XML provided in portal
  • 13. Caching • Add the following assemblies – Microsoft.ApplicationServer.Caching.Client.dll – Microsoft.ApplicationServer.Caching.Core.dll – Microsoft.WindowsFabric.Common.dll – Microsoft.WindowsFabric.Data.Common.dll – Microsoft.Web.DistributedCache.dll (for ASP.NET web projects) • Write the code
  • 14. Service Bus • Robust messaging and routing services • Ability to connect services across networks – Defeats NATs and firewalls – Great for hybrid application scenarios! • Uses ACS for security
  • 15. Message Relay sb://namespace.servicebus.windows.net/service Service Bus Upgrade connection – NAT traversal connection Sender Receiver
  • 16. Message Relay • Use SB addressing and bindings • Simply use new „relay‟ bindings • Behavior for ACS authorization • Not new . . . Been in Service Bus for a while! 
  • 17. Service Bus Message Queues • Reliable and durable – backed by SQL Azure • Store up to 1GB per queue • No TTL – unlike Windows Azure queues • 256KB maximum message size • Messaging API, WCF, and REST interfaces Publisher Queue Receiver
  • 18. Service Bus Topics (pub/sub) • Takes SB Queues to the next level • 2,000 subscriptions on a single Topic • Subscription is a virtual queue – gets a copy of each message • Filters – Use SQL92 syntax to configure Subscription to receive only messages with matching properties • Actions – Modify message properties as they‟re selected Receiver Subscription Receiver Publisher Topic Subscription Receiver
  • 19. Windows Azure Service Bus Queues & Topics SHOW ME THE CODE!
  • 20. Summary • Compute roles, storage, and SQL Azure get a lot of attention. • Don‟t forget about the building block services Robust service relay and messaging Service Bus Easy to configure Cache-as-a-Service Cache Service Federated identity management Access Control Service (authentication and authorization)
  • 21. Resources • How To Guides for .NET – http://www.windowsazure.com/en-us/develop/net/ • Managing Caches in Windows Azure – http://msdn.microsoft.com/en-us/library/windowsazure/gg618005.aspx • Windows Azure Service Bus Best Practices – http://windowsazurecat.com/2011/09/best-practices-leveraging-windows- azure-service-bus-brokered-messaging-api/ • Service Bus Explorer – http://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer- f2abca5a • Rick Garibay – “Azure AppFabric Service Bus Brokered Messaging GA & Rude CTP Diffs” – http://www.rickgaribay.net/archive/2011/09/14/azure-appfabric-service-bus- brokered-messaging-ga-amp-rude-ctp.aspx • Vitorrio Bertocci‟s Blog – http://blogs.msdn.com/b/vbertocci/

Notes de l'éditeur

  1. Windows Azure National ArchitectWindows Azure MVPHelp customers nationwide with their Windows Azure projects. This can include architectural design sessions, training, development, evangelism, etc.Reach me via email, Twitter, or my blog.
  2. New World – Deployments are in the Cloud, On-Premises, or HybridRoles 101 – Quick Recap of Windows Azure RolesCommunication Patterns – How role instances can communication w/ each other and the rest of the world.DemoSummaryLeave time at the end for a few questions.