SlideShare una empresa de Scribd logo
1 de 61
David Pallmann
GM Custom App Dev, Neudesic
http://davidpallmann.blogspot.com
@davidpallmann
1. General Cloud Computing Patterns
2. Patterns in the Windows Azure platform
   Compute
   Storage
   Relational Database
   Communication
   Security
   Network
3. Cloud application patterns discussion
Discussion / Q & A
General Pu     Pr   Hy   Ia   Pa   Sa   Ps   Su


Compute Ro     In   We   Wo   Vr   Lb   Ep   Ei   Ca


Storage   Bl   Co   Qm   Qu   Ta   En   Pk   Rk   Ep


    DB Ds      Db   Rd   Re   Sg   Sh   Fr   Fm


 Comm Sb       Sq   To   Su   Fi


Network Vn     Rg   Mg   Cd   Tm   Rl   Rf   Rd


Security Ip    Rp   Ts   Tk   Cl   Ra
Cloud Types                 Cloud Levels of Use                 Platform

Pu        Pr       Hy         Ia         Pa           Sa         Ps         Su
PUBLIC   PRIVATE   HYBRID   INFRASTR.   PLATFORM    SOFTWARE    PLATFORM   SUBSCRIP-
CLOUD     CLOUD    CLOUD    AS A SVCE   AS A SVCE   AS A SVCE    SERVICE     TION
Pu              Pr             Hy

Public Cloud   Private Cloud   Hybrid Cloud
Pu
Advanced data center, global presence     PUBLIC
                                          CLOUD

On-demand, elastic scale, well-managed
Multi-tenant, consumption-based pricing
Pr
On-premises virtualization infrastructure  PRIVATE
                                            CLOUD

Shares some characteristics of public cloud
Upcoming Windows Server 8 is able to virtually
pool and allocate compute, storage, network
resources in a multi-tenant fashion



                    YOUR CLOUD
                  INFRASTRUCTURE
Hy
Connect public cloud with private cloud   HYBRID
                                          CLOUD

Integrate via VPN or other means

                   CLOUD VENDOR
                  INFRASTRUCTURE




                    YOUR CLOUD
                  INFRASTRUCTURE
Ia                    Pa                     Sa
        INFRASTR.              PLATFORM               SOFTWARE
        AS A SVCE              AS A SVCE              AS A SVCE


        IaaS                   PaaS                  SaaS
Raw Virtual Resources   App Services Platform      Just Use It




“Bring Your Own VM“     “Bring Your Own App” “Bring Your Own User”
Ps
Service provided by the cloud platform             PLATFORM
                                                    SERVICE

Compute Service
   Run your software in the cloud data center
   Most intimate level of cloud computing
   Other services generally usable in-cloud or on-prem
RESTful Services
   Most cloud services use HTTP REST
   Storage, Communication, Management, …
Interop Services
   Use a specific protocol for interop / compatibility
   Example: SQL Azure Database (TDS protocol)
Su
Ongoing billing arrangement                SUBSCRIP-
                                             TION

Consumption-based
Services used have pricing meters
Types
   Month-to-month
   Term subscription
   Negotiated terms
Month-to-month is easy entry / easy exit
without residual obligations
Term or negotiated subscriptions can get you a
discount in exchange for a commitment
Ps
    Compute Service      SQL Azure Reporting      PLATFORM
                                                   SERVICE



S   Storage Service      Cache Service

    Blob Storage         Service Bus

    Queue Storage        Access Control Service

    Table Storage        Windows Azure Traffic Manager

    SQL Azure Database   SQL Azure Data Sync Service

    DataMarket           SQL Azure Import Export Service

    CDN                  Windows Azure Connect
Df       Du
Fault domain                              FAULT   UPGRADE
                                         DOMAIN   DOMAIN

  Spreads out your redundant servers / storage
  across the data center so a large failure doesn’t
  take out all of your resources
Upgrade domain
  How patches or application updates are applied
  Upgrades parts of your application in sequence
  (“red black pattern”) to maintain availability
Fault Domain 1   Fault Domain 2   Fault Domain 3



Upgrade
Domain 1
                Role A           Role B           Role C
              Instance 1       Instance 2       Instance 3




Upgrade
Domain 2
                Role B           Role C           Role A
              Instance 1       Instance 2       Instance 3




Upgrade
Domain 3
                Role C           Role A           Role B
              Instance 1       Instance 2       Instance 3
Roles                                     Endpoints                        Cache

 Ro       In       We     Wo       Vr      Lb         Ep          Ei       Ca
 ROLE   INSTANCE   WEB    WORKER    VM      LOAD       INPUT    INTERNAL    CACHE
                   ROLE    ROLE    ROLE   BALANCER   ENDPOINT   ENDPONIT   SERVICE
Hs
Your app, hosted in Compute service
Consists of one or more tiers (“roles”)
Production & Staging deployment slots
        Subscription



                                          Windows Azure
                Hosted Service Project       Regional
                                           Data Center


              Production       Staging
              Deployment     Deployment
                 Slot            Slot
Ro      In
Role: a tier of your app (VM farm)            ROLE   INSTANCE

Instance: VM, member of a role (5 sizes)
Role has one or more instances (2+ for SLA)
VM instances are volatile, roles are sturdy
(like ants : colony or soldiers : army, you can lose an
individual but the organization survives)



           VM      VM     VM     VM      VM
We                        Wo                       Vr
         WEB                      WORKER                   VM
         ROLE                      ROLE                   ROLE

    Web Role                 Worker Role              VM Role
   Web Container        General-purpose Container     VM Image

  Configured with           Configured with         You prepare a VM
Windows Server, IIS &       Windows Server
a public LB endpoint

  Upload your app           Upload your app         Upload a full VM

        PaaS                     PaaS                     IaaS
     Managed                  Managed                 You Manage
    Auto patched             Auto patched           No auto-patching
Lb              Ep          Ei
Allows access to a role            LOAD            INPUT    INTERNAL
                                 BALANCER        ENDPOINT   ENDPOINT
Load balancer: round-robin
Input (public) endpoint: public, load-balanced
Internal endpoint: only accessible by cloud app



          VM     VM     VM     VM           VM
Dp             Di
Paas Deployment                  IaaS Deployment      PAAS
                                                   DEPLOYMENT
                                                                    IAAS
                                                                DEPLOYMENT




         Compute Service                  Compute Service



            HOSTED                           HOSTED
            SERVICE                          SERVICE




                   APPLICATION
     SERVICE                          SERVICE         CUSTOM VM
                    RUNTIME
    METADATA                         METADATA           IMAGE
                      FILES
Web Role Compute Tier           Worker Role Compute Tier
                                                         VM
                           VM
Public Endpoint




                                                         VM
                           VM




                                          Queue




                                                         VM
                           VM
Ca
Cache Service                                CACHE
                                            SERVICE
Distributed Memory Cache
Available in different sizes
Same programming model as Windows Server Cache
(“Velocity”)
Attendee Bee Conference App
HTML5/Mobile ASP.NET/MVC web site
hosted in a Web Role
Blob Storage        Queue Storage     Table Storage

 Bl      Co         Qm        Qu       Ta      En        Pk         Rk      Ep
 BLOB   CONTAINER    QUEUE    QUEUE    TABLE   ENTITY   PARTITION   ROW     ENTITY
                    MESSAGE                                KEY       KEY   PROPERTY
Ratio of primitive : relational data is frequently
higher in the cloud
Cheap: pennies per gigabyte/mo
Scale: no practical size limit
Simple: less complexity / overhead
Lighter: optimistic concurrency
Trendy: fueled by trends in cloud / mobile arch/
& movements like NoSQL
Bl                 Qu                     Ta
        BLOB                 QUEUE                 TABLE



  Blob Storage         Queue Storage        Table Storage
      File-like         Simple queues       Big, cheap tables

Use for anything you   For queuing task   Structured data where
would normally use a      messages            you don’t need
       file for                             relational features
Bl     Co
Blob: File-like storage               BLOB   CONTAINER


Container: Holds blobs, like folder
Name, data, metadata
Sequential/streamed access
Simple put/get operations
Data stored with redundancy
Provides persistence for VMs
Directly reference blobs as URIs
2 kinds of blobs:
block (sequential), page (random)
Qu       Qm
Queue: holds messages              QUEUE    QUEUE
                                           MESSAGE

Messages small string or XML content
Access semantics may differ from enterprise
queue technologies you are used to
Enterprise reasons to use queues also apply in
the cloud
Can use queues to load-balance workers
Can use queues to coordinate work across roles
Strict FIFO not guaranteed due to queue
semantics
Ta             En
Big, cheap data tables                        TABLE          ENTITY


Simple record-oriented storage
Table: hold entities (records)
Entity: contains properties (fields)
Does not enforce a schema
No relational features
Partition Key + Row Key = a unique key

 En :      Pk         Rk     Ep         Ep            Ep
 ENTITY   PARTITION   ROW     ENTITY     ENTITY        ENTITY
             KEY       KEY   PROPERTY   PROPERTY      PROPERTY
MEDIA CONTAINER 20 GB

                              CONTACTS TABLE
 1000      40       40
                              COUNTRY (PK)
IMAGES   VIDEO     XML        CUSTOMER ID (RK)
                              LAST NAME
                              FIRST NAME
                              STREET
                              CITY
                              STATE
                              POSTAL
                              PHONE
            ORDER QUEUE       EMAIL




           WEB       PHONE
          ORDERS     ORDERS
AttendeeBee Conference App
Blob & Table Storage
Database                Reporting             Data Sync                  Federation
                        Service               Service                    Service

 Db         Db          Rd          Re         Sg         Sh        Fr        Fm
DATABASE   DATABASE    REPORT       REPORT      SYNC      SYNC   FEDERATION FEDERATION
 SERVER               DEFINITION   ENDPOINT    GROUP      HUB       ROOT      MEMBER
Db                          Rs
        DATABASE                     REPORT
         SERVICE                     SERVICE


Sql Azure Database          Sql Azure Reporting
   Database Service            Reporting Service



         Sy                          Fr
           SYNC
                                    FEDERATION
          SERVICE
                                      SERVICE

SQL Azure Data Sync       Sql Azure Federations
Synchronization Service   Database Federation Service
Ds         Db
Relational DB as a service          DATABASE   DATABASE
                                     SERVER

One master and two replicants, auto failover
Physical management handled for you
Has most SQL Server features but not all
Size limit of 150GB
Database Server: virtual DB server (actually 3)
Database: database contained in a DB server
Rd           Re
DB reporting as a service           REPORT       REPORT
                                   DEFINITION   ENDPOINT

Similar experience to SSRS
Source is SQL Azure Database
Use BIDS to create reports, RDF format
Rd: report definition
Re: web-accessible reporting endpoint
Sg           Sh
1-way or bi-directional syncing    SYNC GROUP   SYNC HUB


SQL Azure to SQL Azure
SQL Azure to SQL Server
Hub and spoke model: all syncing is to and/or
from the hub SQL Azure database
Can trigger a sync manually or schedule
Sync: Synchronization operation
Sync group: Defines group of DBs for syncing
Sync hub: the hub of the sync group
Fr          Fm
Database federation                 FEDERATION   FEDERATION
                                       ROOT        MEMBER

Partition or shard to multiple databases, have a
“federation database” that looks like one DB
Federation Root: federation root database
Federation Member: member database
Accessing & Managing
a SQL Azure Database
Service Bus   Service Bus Queues

Sb              Sq          To      Su           Fi
SERVICE       SERVICE BUS   TOPIC   SUBSCRIP-   FILTER
  BUS           QUEUE                 TION
Sb
Using the cloud as a                        SERVICE
                                              BUS
communication relay
Navigates NATs, firewalls, proxies well
Supports client-service, eventing/pub-sub
messaging patterns
Volatile (best effort) messaging
Sq
Service Bus Queue: Durable messaging     SERVICE BUS
                                           QUEUE

Topic: publish point for durable
messaging                                 To
Subscription: receiver of durable          TOPIC


messaging
Filter : criteria on which messages to   Su
receive                                  SUBSCRIP-
                                           TION




                                           Fi
                                           FILTER
T-Shirt World
Using a Service Bus Queue to
Relay Orders for Processing
VPN Connection               CDN        Traffic Manager

 Vn        Rg       Mg        Cd         Tm            Rl          Rf          Rd
 VIRTUAL    ROLE   MACHINE   CONTENT     TRAFFIC   LOCALE-BASED   FAILOVER   DISTRIBUTED
NETWORK    GROUP    GROUP    DELIVERY   MANAGER      ROUTING      ROUTING      ROUTING
                             NETWORK
Vn
Windows Azure Connect                     VIRTUAL
                                         NETWORK

Virtual Network: VPN connection
between cloud and on-prem machines       Rg
Role Group: indicates which roles are      ROLE
                                          GROUP
members of a virtual network
Machine Group: indicates which on-       Mg
prem machines are members of a virtual   MACHINE

network                                   GROUP
WEB ROLE          3




S       S        S




SQL SERVER DATABASE
Cd
Content Delivery Network                     CONTENT
                                             DELIVERY

CDN: Utilizes worldwide network of 24+       NETWORK



edge server to deliver content efficiently
Often used for media
Locale-directed DNS goes to nearest
node to serve up cached content
Content sources from blob storage or
your hosted service
Tm
Windows Azure Traffic Manager                 TRAFFIC
                                             MANAGER

Traffic Manager: Routes DNS access to
your hosted service to one of several         Rl
possible deployments based on rules         LOCALE-BASED
                                              ROUTINE
Locale-based Routing: route to a
deployment based on locale                    Rf
Failover Routing: route to a secondary if    FAILOVER

primary is not healthy (via a heartbeat)     ROUTING




Distributed Routing: route based on a
                                             Rd
desired distribution across data centers
                                             DISTRIBUTED
                                               ROUTING
Claims-based Security

  Ip       Rp         Ts        Tk      Cl          Ra
IDENTITY   RELYING   SECURITY   TOKEN   CLAIM     REDIRECTED
PROVIDER    PARTY      TOKEN                    AUTHENTICATION
                      SERVICE
Ip
Modern way to do AuthN/AuthZ                 IDENTITY
                                             PROVIDER

Use with web identity, domain identity
Identity Provider: Party providing           Rp
security token with claims                    RELYING
                                               PARTY


Relying Party: application that wants to
authenticate/authorize user                   Ts
Security Token Service: how                  SECURITY
                                               TOKEN
application/user authenticates                SERVICE



(interactively or programmatically)
                                             Ra
Redirected Authentication: user visits
                                             REDIRECTED
app, user redirected to STS to sign in,    AUTHENTICATION



redirected back to app with token
Googl
Windows Azure                             e




                                   ACS   Yaho
                      RP                  o!
                    WEB ROLE       2+




                S              S
                                         Live
                                          ID
Windows Azure




                    WEB ROLE       2+




                S              S


                      RP




Enterprise           ADF
                      S




                      AD
Can “load balance” back end of worker roles
using queues

                     Queue




                  Worker Role
Web Role
Front end can
submit tasks for the
back end
Both front end and
back end can be
scaled to
accommodate load           Q




                       Worker Role
WEB FARM   CQRS-READS         RELATIONAL DATA
Command/Query
Responsibility
Segregation             PUBLIC CLOUD
                                           CLUSTERED / PARTITIONED DB

Best for large    WEB FARM   CQRS-WRITES     NON-RELATIONAL DATA

implementations
Separate read
& write                                          FILES, QUEUES


You probably don’t do the same amount of each
Take advantage of lightweight read mechanisms
Safer – avoid accidental updates/deletes
HETEROGENEOUS FRONT END                 DECENTRALIZED BACK END


                                             Platform
  DESKTOP                 Application
                                             Services
  BROWSER




                                                          CLOUD
                           Business
                                            Data Stores
                           Services

   TABLET

                           Identity




                                                          IP
                                            Directories
                           Services


   PHONE




                                                          PARTNER
                           Partner
                                            Data Stores
                           Services
Attendee Bee Conference App
Open, Mobile, Global, & Social
General Pu     Pr   Hy   Ia   Pa   Sa   Ps   Su


Compute Ro     In   We   Wo   Vr   Lb   Ep   Ei   Ca


Storage   Bl   Co   Qm   Qu   Ta   En   Pk   Rk   Ep


    DB Ds      Db   Rd   Re   Sg   Sh   Fr   Fm


 Comm Sb       Sq   To   Su   Fi


Network Vn     Rg   Mg   Cd   Tm   Rl   Rf   Rd


Security Ip    Rp   Ts   Tk   Cl   Ra
Thanks!




David Pallmann
GM Custom App Dev, Neudesic
http://davidpallmann.blogspot.com
@davidpallmann

Más contenido relacionado

La actualidad más candente

A Step By Step Guide To Put DB2 On Amazon Cloud
A Step By Step Guide To Put DB2 On Amazon CloudA Step By Step Guide To Put DB2 On Amazon Cloud
A Step By Step Guide To Put DB2 On Amazon Cloud
Deepak Rao
 
What's New + The Lean Methodology: Introduction to AWS, Cambridge
What's New + The Lean Methodology: Introduction to AWS, CambridgeWhat's New + The Lean Methodology: Introduction to AWS, Cambridge
What's New + The Lean Methodology: Introduction to AWS, Cambridge
Amazon Web Services
 
RunE2E Case Study: SAP BusinessObjects in the AWS Cloud
RunE2E Case Study: SAP BusinessObjects in the AWS CloudRunE2E Case Study: SAP BusinessObjects in the AWS Cloud
RunE2E Case Study: SAP BusinessObjects in the AWS Cloud
Alex Gramling
 
5 dani künzli citrix networking news 1
5 dani künzli citrix networking news 15 dani künzli citrix networking news 1
5 dani künzli citrix networking news 1
Digicomp Academy AG
 
Tips & Tricks On Architecting Windows Azure For Costs
Tips & Tricks On Architecting Windows Azure For CostsTips & Tricks On Architecting Windows Azure For Costs
Tips & Tricks On Architecting Windows Azure For Costs
Nuno Godinho
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
Manish Corriea
 

La actualidad más candente (20)

AWS Webcast - Amazon RDS - Running Low Admin High Performance Databases in th...
AWS Webcast - Amazon RDS - Running Low Admin High Performance Databases in th...AWS Webcast - Amazon RDS - Running Low Admin High Performance Databases in th...
AWS Webcast - Amazon RDS - Running Low Admin High Performance Databases in th...
 
Global Netflix - HPTS Workshop - Scaling Cassandra benchmark to over 1M write...
Global Netflix - HPTS Workshop - Scaling Cassandra benchmark to over 1M write...Global Netflix - HPTS Workshop - Scaling Cassandra benchmark to over 1M write...
Global Netflix - HPTS Workshop - Scaling Cassandra benchmark to over 1M write...
 
A Step By Step Guide To Put DB2 On Amazon Cloud
A Step By Step Guide To Put DB2 On Amazon CloudA Step By Step Guide To Put DB2 On Amazon Cloud
A Step By Step Guide To Put DB2 On Amazon Cloud
 
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
 
Netflix in the cloud 2011
Netflix in the cloud 2011Netflix in the cloud 2011
Netflix in the cloud 2011
 
2011 AWS Tour Australia, Opening Keynote: State of the Cloud, by Dr. Werner V...
2011 AWS Tour Australia, Opening Keynote: State of the Cloud, by Dr. Werner V...2011 AWS Tour Australia, Opening Keynote: State of the Cloud, by Dr. Werner V...
2011 AWS Tour Australia, Opening Keynote: State of the Cloud, by Dr. Werner V...
 
Cloud Computing & Scaling Web Apps
Cloud Computing & Scaling Web AppsCloud Computing & Scaling Web Apps
Cloud Computing & Scaling Web Apps
 
SV Forum Platform Architecture SIG - Netflix Open Source Platform
SV Forum Platform Architecture SIG - Netflix Open Source PlatformSV Forum Platform Architecture SIG - Netflix Open Source Platform
SV Forum Platform Architecture SIG - Netflix Open Source Platform
 
What's New + The Lean Methodology: Introduction to AWS, Cambridge
What's New + The Lean Methodology: Introduction to AWS, CambridgeWhat's New + The Lean Methodology: Introduction to AWS, Cambridge
What's New + The Lean Methodology: Introduction to AWS, Cambridge
 
RunE2E Case Study: SAP BusinessObjects in the AWS Cloud
RunE2E Case Study: SAP BusinessObjects in the AWS CloudRunE2E Case Study: SAP BusinessObjects in the AWS Cloud
RunE2E Case Study: SAP BusinessObjects in the AWS Cloud
 
Azure Cloud Patterns
Azure Cloud PatternsAzure Cloud Patterns
Azure Cloud Patterns
 
5 dani künzli citrix networking news 1
5 dani künzli citrix networking news 15 dani künzli citrix networking news 1
5 dani künzli citrix networking news 1
 
Understanding Database Options
Understanding Database OptionsUnderstanding Database Options
Understanding Database Options
 
Mhta.private.cloud.final.16.9
Mhta.private.cloud.final.16.9Mhta.private.cloud.final.16.9
Mhta.private.cloud.final.16.9
 
Sql azure introduction
Sql azure introductionSql azure introduction
Sql azure introduction
 
Roger boesch news xd_xa_nov (1)
Roger boesch news xd_xa_nov (1)Roger boesch news xd_xa_nov (1)
Roger boesch news xd_xa_nov (1)
 
Scalable Resilient Web Services In .Net
Scalable Resilient Web Services In .NetScalable Resilient Web Services In .Net
Scalable Resilient Web Services In .Net
 
Tips & Tricks On Architecting Windows Azure For Costs
Tips & Tricks On Architecting Windows Azure For CostsTips & Tricks On Architecting Windows Azure For Costs
Tips & Tricks On Architecting Windows Azure For Costs
 
[よくわかるAmazon Redshift]Amazon Redshift最新情報と導入事例のご紹介
[よくわかるAmazon Redshift]Amazon Redshift最新情報と導入事例のご紹介[よくわかるAmazon Redshift]Amazon Redshift最新情報と導入事例のご紹介
[よくわかるAmazon Redshift]Amazon Redshift最新情報と導入事例のご紹介
 
Developing and deploying windows azure applications
Developing and deploying windows azure applicationsDeveloping and deploying windows azure applications
Developing and deploying windows azure applications
 

Destacado

Extending The Enterprise With Office 365 & Azure for the Enterprise
Extending The Enterprise With Office 365 & Azure for the EnterpriseExtending The Enterprise With Office 365 & Azure for the Enterprise
Extending The Enterprise With Office 365 & Azure for the Enterprise
Richard Harbridge
 
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 概觀 (2014-4-2 雲端達人班)Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Jeff Chu
 
Presentation on How to build your Windows Azure Practice
Presentation on How to build your Windows Azure PracticePresentation on How to build your Windows Azure Practice
Presentation on How to build your Windows Azure Practice
Microsoft Private Cloud
 
台中青商微講堂 2015 雲端工具活用術 by Lala
台中青商微講堂 2015 雲端工具活用術 by Lala台中青商微講堂 2015 雲端工具活用術 by Lala
台中青商微講堂 2015 雲端工具活用術 by Lala
LaLa Mai
 

Destacado (20)

Nosql storage in windows azure
Nosql storage in windows azureNosql storage in windows azure
Nosql storage in windows azure
 
Azure and cloud design patterns
Azure and cloud design patternsAzure and cloud design patterns
Azure and cloud design patterns
 
Alex mang patterns for scalability in microsoft azure application
Alex mang   patterns for scalability in microsoft azure applicationAlex mang   patterns for scalability in microsoft azure application
Alex mang patterns for scalability in microsoft azure application
 
Patterns for Scalability in Windows Azure Applications (Alex Mang)
Patterns for Scalability in Windows Azure Applications (Alex Mang)Patterns for Scalability in Windows Azure Applications (Alex Mang)
Patterns for Scalability in Windows Azure Applications (Alex Mang)
 
Cloud Design Patterns
Cloud Design PatternsCloud Design Patterns
Cloud Design Patterns
 
Microsoft azure
Microsoft azureMicrosoft azure
Microsoft azure
 
Extending On-Premise Infrastructure To Cloud
Extending On-Premise Infrastructure To CloudExtending On-Premise Infrastructure To Cloud
Extending On-Premise Infrastructure To Cloud
 
Extend Your Application to the Cloud with SQL Azure Database
Extend Your Application to the Cloud with SQL Azure DatabaseExtend Your Application to the Cloud with SQL Azure Database
Extend Your Application to the Cloud with SQL Azure Database
 
Microsoft Azure - Extending your Datacenter - thinkASG University Series
Microsoft Azure - Extending your Datacenter - thinkASG University SeriesMicrosoft Azure - Extending your Datacenter - thinkASG University Series
Microsoft Azure - Extending your Datacenter - thinkASG University Series
 
Azure Data Lake 簡介
Azure Data Lake 簡介Azure Data Lake 簡介
Azure Data Lake 簡介
 
Extending The Enterprise With Office 365 & Azure for the Enterprise
Extending The Enterprise With Office 365 & Azure for the EnterpriseExtending The Enterprise With Office 365 & Azure for the Enterprise
Extending The Enterprise With Office 365 & Azure for the Enterprise
 
Microsoft Azure : Microsoft Strategy for Cloud Computing
Microsoft Azure : Microsoft Strategy for Cloud Computing Microsoft Azure : Microsoft Strategy for Cloud Computing
Microsoft Azure : Microsoft Strategy for Cloud Computing
 
Bridge Design Pattern
Bridge Design PatternBridge Design Pattern
Bridge Design Pattern
 
Extending your Data center to the cloud with windows Azure
Extending your Data center to the cloud with windows AzureExtending your Data center to the cloud with windows Azure
Extending your Data center to the cloud with windows Azure
 
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 概觀 (2014-4-2 雲端達人班)Microsoft Azure 概觀 (2014-4-2 雲端達人班)
Microsoft Azure 概觀 (2014-4-2 雲端達人班)
 
Presentation on How to build your Windows Azure Practice
Presentation on How to build your Windows Azure PracticePresentation on How to build your Windows Azure Practice
Presentation on How to build your Windows Azure Practice
 
從雲端看資訊科技的未來 (2014-03-26 國立嘉義大學資管系週會演講)
從雲端看資訊科技的未來 (2014-03-26 國立嘉義大學資管系週會演講)從雲端看資訊科技的未來 (2014-03-26 國立嘉義大學資管系週會演講)
從雲端看資訊科技的未來 (2014-03-26 國立嘉義大學資管系週會演講)
 
台中青商微講堂 2015 雲端工具活用術 by Lala
台中青商微講堂 2015 雲端工具活用術 by Lala台中青商微講堂 2015 雲端工具活用術 by Lala
台中青商微講堂 2015 雲端工具活用術 by Lala
 
均一Gae甘苦談
均一Gae甘苦談均一Gae甘苦談
均一Gae甘苦談
 
MicroServices on Azure
MicroServices on AzureMicroServices on Azure
MicroServices on Azure
 

Similar a Windows Azure Design Patterns

Lap around windows azure
Lap around windows azureLap around windows azure
Lap around windows azure
Manish Corriea
 
Luis Alves Martins Presentation / CloudViews.Org - Cloud Computing Conference...
Luis Alves Martins Presentation / CloudViews.Org - Cloud Computing Conference...Luis Alves Martins Presentation / CloudViews.Org - Cloud Computing Conference...
Luis Alves Martins Presentation / CloudViews.Org - Cloud Computing Conference...
EuroCloud
 
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
Spiffy
 
Oscon anatomy of_os_cloud_ecosystem
Oscon anatomy of_os_cloud_ecosystemOscon anatomy of_os_cloud_ecosystem
Oscon anatomy of_os_cloud_ecosystem
htdvul
 
Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1
Ram Chinta
 
Windows Azure: Is Azure right for you?
Windows Azure: Is Azure right for you?Windows Azure: Is Azure right for you?
Windows Azure: Is Azure right for you?
Intergen
 

Similar a Windows Azure Design Patterns (20)

Microsoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure PlatformMicrosoft PaaS Cloud Windows Azure Platform
Microsoft PaaS Cloud Windows Azure Platform
 
The Modern Web Part 4: Cloud Computing
The Modern Web Part 4: Cloud ComputingThe Modern Web Part 4: Cloud Computing
The Modern Web Part 4: Cloud Computing
 
Lap around windows azure
Lap around windows azureLap around windows azure
Lap around windows azure
 
An Introduction to Azure IaaS
An Introduction to Azure IaaSAn Introduction to Azure IaaS
An Introduction to Azure IaaS
 
Luis Alves Martins Presentation / CloudViews.Org - Cloud Computing Conference...
Luis Alves Martins Presentation / CloudViews.Org - Cloud Computing Conference...Luis Alves Martins Presentation / CloudViews.Org - Cloud Computing Conference...
Luis Alves Martins Presentation / CloudViews.Org - Cloud Computing Conference...
 
Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry Bootcamp
 
Windows Azure Platform Overview
Windows Azure Platform OverviewWindows Azure Platform Overview
Windows Azure Platform Overview
 
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
 
Development Model for The Cloud
Development Model for The CloudDevelopment Model for The Cloud
Development Model for The Cloud
 
Oscon anatomy of_os_cloud_ecosystem
Oscon anatomy of_os_cloud_ecosystemOscon anatomy of_os_cloud_ecosystem
Oscon anatomy of_os_cloud_ecosystem
 
Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1Ram chinta hug-20120922-v1
Ram chinta hug-20120922-v1
 
Windows Azure: Is Azure right for you?
Windows Azure: Is Azure right for you?Windows Azure: Is Azure right for you?
Windows Azure: Is Azure right for you?
 
Windows Azure Overview
Windows Azure OverviewWindows Azure Overview
Windows Azure Overview
 
Continuous Deployment Practices, with Production, Test and Development Enviro...
Continuous Deployment Practices, with Production, Test and Development Enviro...Continuous Deployment Practices, with Production, Test and Development Enviro...
Continuous Deployment Practices, with Production, Test and Development Enviro...
 
PHP in the Cloud
PHP in the CloudPHP in the Cloud
PHP in the Cloud
 
Prodware wa college - marcel meijer
Prodware   wa college - marcel meijerProdware   wa college - marcel meijer
Prodware wa college - marcel meijer
 
Moonshot-enabled Federated Access to Cloud Infrastructure
Moonshot-enabled Federated Access to Cloud InfrastructureMoonshot-enabled Federated Access to Cloud Infrastructure
Moonshot-enabled Federated Access to Cloud Infrastructure
 
Windows Azure For Architects
Windows Azure For ArchitectsWindows Azure For Architects
Windows Azure For Architects
 
PHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on BluemixPHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on Bluemix
 
Cloud Foundry for PHP developers
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developers
 

Más de David Pallmann

Más de David Pallmann (8)

Windows 8 and the Cloud
Windows 8 and the CloudWindows 8 and the Cloud
Windows 8 and the Cloud
 
Don't Be a Lopsided Web Developer
Don't Be a Lopsided Web DeveloperDon't Be a Lopsided Web Developer
Don't Be a Lopsided Web Developer
 
Gamification
GamificationGamification
Gamification
 
The Modern Web Part 3: Social Networking
The Modern Web Part 3: Social NetworkingThe Modern Web Part 3: Social Networking
The Modern Web Part 3: Social Networking
 
The Modern Web, Part 2: HTML5
The Modern Web, Part 2: HTML5The Modern Web, Part 2: HTML5
The Modern Web, Part 2: HTML5
 
The Modern Web, Part 1: Mobility
The Modern Web, Part 1: MobilityThe Modern Web, Part 1: Mobility
The Modern Web, Part 1: Mobility
 
CloudFest Denver When Worlds Collide: HTML5 Meets the Cloud
CloudFest Denver When Worlds Collide: HTML5 Meets the CloudCloudFest Denver When Worlds Collide: HTML5 Meets the Cloud
CloudFest Denver When Worlds Collide: HTML5 Meets the Cloud
 
When worlds Collide: HTML5 Meets the Cloud
When worlds Collide: HTML5 Meets the CloudWhen worlds Collide: HTML5 Meets the Cloud
When worlds Collide: HTML5 Meets the Cloud
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Último (20)

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...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Windows Azure Design Patterns

  • 1. David Pallmann GM Custom App Dev, Neudesic http://davidpallmann.blogspot.com @davidpallmann
  • 2. 1. General Cloud Computing Patterns 2. Patterns in the Windows Azure platform Compute Storage Relational Database Communication Security Network 3. Cloud application patterns discussion Discussion / Q & A
  • 3. General Pu Pr Hy Ia Pa Sa Ps Su Compute Ro In We Wo Vr Lb Ep Ei Ca Storage Bl Co Qm Qu Ta En Pk Rk Ep DB Ds Db Rd Re Sg Sh Fr Fm Comm Sb Sq To Su Fi Network Vn Rg Mg Cd Tm Rl Rf Rd Security Ip Rp Ts Tk Cl Ra
  • 4. Cloud Types Cloud Levels of Use Platform Pu Pr Hy Ia Pa Sa Ps Su PUBLIC PRIVATE HYBRID INFRASTR. PLATFORM SOFTWARE PLATFORM SUBSCRIP- CLOUD CLOUD CLOUD AS A SVCE AS A SVCE AS A SVCE SERVICE TION
  • 5. Pu Pr Hy Public Cloud Private Cloud Hybrid Cloud
  • 6. Pu Advanced data center, global presence PUBLIC CLOUD On-demand, elastic scale, well-managed Multi-tenant, consumption-based pricing
  • 7. Pr On-premises virtualization infrastructure PRIVATE CLOUD Shares some characteristics of public cloud Upcoming Windows Server 8 is able to virtually pool and allocate compute, storage, network resources in a multi-tenant fashion YOUR CLOUD INFRASTRUCTURE
  • 8. Hy Connect public cloud with private cloud HYBRID CLOUD Integrate via VPN or other means CLOUD VENDOR INFRASTRUCTURE YOUR CLOUD INFRASTRUCTURE
  • 9. Ia Pa Sa INFRASTR. PLATFORM SOFTWARE AS A SVCE AS A SVCE AS A SVCE IaaS PaaS SaaS Raw Virtual Resources App Services Platform Just Use It “Bring Your Own VM“ “Bring Your Own App” “Bring Your Own User”
  • 10. Ps Service provided by the cloud platform PLATFORM SERVICE Compute Service Run your software in the cloud data center Most intimate level of cloud computing Other services generally usable in-cloud or on-prem RESTful Services Most cloud services use HTTP REST Storage, Communication, Management, … Interop Services Use a specific protocol for interop / compatibility Example: SQL Azure Database (TDS protocol)
  • 11. Su Ongoing billing arrangement SUBSCRIP- TION Consumption-based Services used have pricing meters Types Month-to-month Term subscription Negotiated terms Month-to-month is easy entry / easy exit without residual obligations Term or negotiated subscriptions can get you a discount in exchange for a commitment
  • 12.
  • 13. Ps Compute Service SQL Azure Reporting PLATFORM SERVICE S Storage Service Cache Service Blob Storage Service Bus Queue Storage Access Control Service Table Storage Windows Azure Traffic Manager SQL Azure Database SQL Azure Data Sync Service DataMarket SQL Azure Import Export Service CDN Windows Azure Connect
  • 14. Df Du Fault domain FAULT UPGRADE DOMAIN DOMAIN Spreads out your redundant servers / storage across the data center so a large failure doesn’t take out all of your resources Upgrade domain How patches or application updates are applied Upgrades parts of your application in sequence (“red black pattern”) to maintain availability
  • 15. Fault Domain 1 Fault Domain 2 Fault Domain 3 Upgrade Domain 1 Role A Role B Role C Instance 1 Instance 2 Instance 3 Upgrade Domain 2 Role B Role C Role A Instance 1 Instance 2 Instance 3 Upgrade Domain 3 Role C Role A Role B Instance 1 Instance 2 Instance 3
  • 16. Roles Endpoints Cache Ro In We Wo Vr Lb Ep Ei Ca ROLE INSTANCE WEB WORKER VM LOAD INPUT INTERNAL CACHE ROLE ROLE ROLE BALANCER ENDPOINT ENDPONIT SERVICE
  • 17. Hs Your app, hosted in Compute service Consists of one or more tiers (“roles”) Production & Staging deployment slots Subscription Windows Azure Hosted Service Project Regional Data Center Production Staging Deployment Deployment Slot Slot
  • 18. Ro In Role: a tier of your app (VM farm) ROLE INSTANCE Instance: VM, member of a role (5 sizes) Role has one or more instances (2+ for SLA) VM instances are volatile, roles are sturdy (like ants : colony or soldiers : army, you can lose an individual but the organization survives) VM VM VM VM VM
  • 19. We Wo Vr WEB WORKER VM ROLE ROLE ROLE Web Role Worker Role VM Role Web Container General-purpose Container VM Image Configured with Configured with You prepare a VM Windows Server, IIS & Windows Server a public LB endpoint Upload your app Upload your app Upload a full VM PaaS PaaS IaaS Managed Managed You Manage Auto patched Auto patched No auto-patching
  • 20. Lb Ep Ei Allows access to a role LOAD INPUT INTERNAL BALANCER ENDPOINT ENDPOINT Load balancer: round-robin Input (public) endpoint: public, load-balanced Internal endpoint: only accessible by cloud app VM VM VM VM VM
  • 21. Dp Di Paas Deployment IaaS Deployment PAAS DEPLOYMENT IAAS DEPLOYMENT Compute Service Compute Service HOSTED HOSTED SERVICE SERVICE APPLICATION SERVICE SERVICE CUSTOM VM RUNTIME METADATA METADATA IMAGE FILES
  • 22. Web Role Compute Tier Worker Role Compute Tier VM VM Public Endpoint VM VM Queue VM VM
  • 23. Ca Cache Service CACHE SERVICE Distributed Memory Cache Available in different sizes Same programming model as Windows Server Cache (“Velocity”)
  • 24. Attendee Bee Conference App HTML5/Mobile ASP.NET/MVC web site hosted in a Web Role
  • 25. Blob Storage Queue Storage Table Storage Bl Co Qm Qu Ta En Pk Rk Ep BLOB CONTAINER QUEUE QUEUE TABLE ENTITY PARTITION ROW ENTITY MESSAGE KEY KEY PROPERTY
  • 26. Ratio of primitive : relational data is frequently higher in the cloud Cheap: pennies per gigabyte/mo Scale: no practical size limit Simple: less complexity / overhead Lighter: optimistic concurrency Trendy: fueled by trends in cloud / mobile arch/ & movements like NoSQL
  • 27. Bl Qu Ta BLOB QUEUE TABLE Blob Storage Queue Storage Table Storage File-like Simple queues Big, cheap tables Use for anything you For queuing task Structured data where would normally use a messages you don’t need file for relational features
  • 28. Bl Co Blob: File-like storage BLOB CONTAINER Container: Holds blobs, like folder Name, data, metadata Sequential/streamed access Simple put/get operations Data stored with redundancy Provides persistence for VMs Directly reference blobs as URIs 2 kinds of blobs: block (sequential), page (random)
  • 29. Qu Qm Queue: holds messages QUEUE QUEUE MESSAGE Messages small string or XML content Access semantics may differ from enterprise queue technologies you are used to Enterprise reasons to use queues also apply in the cloud Can use queues to load-balance workers Can use queues to coordinate work across roles Strict FIFO not guaranteed due to queue semantics
  • 30. Ta En Big, cheap data tables TABLE ENTITY Simple record-oriented storage Table: hold entities (records) Entity: contains properties (fields) Does not enforce a schema No relational features Partition Key + Row Key = a unique key En : Pk Rk Ep Ep Ep ENTITY PARTITION ROW ENTITY ENTITY ENTITY KEY KEY PROPERTY PROPERTY PROPERTY
  • 31. MEDIA CONTAINER 20 GB CONTACTS TABLE 1000 40 40 COUNTRY (PK) IMAGES VIDEO XML CUSTOMER ID (RK) LAST NAME FIRST NAME STREET CITY STATE POSTAL PHONE ORDER QUEUE EMAIL WEB PHONE ORDERS ORDERS
  • 33. Database Reporting Data Sync Federation Service Service Service Db Db Rd Re Sg Sh Fr Fm DATABASE DATABASE REPORT REPORT SYNC SYNC FEDERATION FEDERATION SERVER DEFINITION ENDPOINT GROUP HUB ROOT MEMBER
  • 34. Db Rs DATABASE REPORT SERVICE SERVICE Sql Azure Database Sql Azure Reporting Database Service Reporting Service Sy Fr SYNC FEDERATION SERVICE SERVICE SQL Azure Data Sync Sql Azure Federations Synchronization Service Database Federation Service
  • 35. Ds Db Relational DB as a service DATABASE DATABASE SERVER One master and two replicants, auto failover Physical management handled for you Has most SQL Server features but not all Size limit of 150GB Database Server: virtual DB server (actually 3) Database: database contained in a DB server
  • 36. Rd Re DB reporting as a service REPORT REPORT DEFINITION ENDPOINT Similar experience to SSRS Source is SQL Azure Database Use BIDS to create reports, RDF format Rd: report definition Re: web-accessible reporting endpoint
  • 37. Sg Sh 1-way or bi-directional syncing SYNC GROUP SYNC HUB SQL Azure to SQL Azure SQL Azure to SQL Server Hub and spoke model: all syncing is to and/or from the hub SQL Azure database Can trigger a sync manually or schedule Sync: Synchronization operation Sync group: Defines group of DBs for syncing Sync hub: the hub of the sync group
  • 38. Fr Fm Database federation FEDERATION FEDERATION ROOT MEMBER Partition or shard to multiple databases, have a “federation database” that looks like one DB Federation Root: federation root database Federation Member: member database
  • 39. Accessing & Managing a SQL Azure Database
  • 40. Service Bus Service Bus Queues Sb Sq To Su Fi SERVICE SERVICE BUS TOPIC SUBSCRIP- FILTER BUS QUEUE TION
  • 41. Sb Using the cloud as a SERVICE BUS communication relay Navigates NATs, firewalls, proxies well Supports client-service, eventing/pub-sub messaging patterns Volatile (best effort) messaging
  • 42. Sq Service Bus Queue: Durable messaging SERVICE BUS QUEUE Topic: publish point for durable messaging To Subscription: receiver of durable TOPIC messaging Filter : criteria on which messages to Su receive SUBSCRIP- TION Fi FILTER
  • 43. T-Shirt World Using a Service Bus Queue to Relay Orders for Processing
  • 44. VPN Connection CDN Traffic Manager Vn Rg Mg Cd Tm Rl Rf Rd VIRTUAL ROLE MACHINE CONTENT TRAFFIC LOCALE-BASED FAILOVER DISTRIBUTED NETWORK GROUP GROUP DELIVERY MANAGER ROUTING ROUTING ROUTING NETWORK
  • 45. Vn Windows Azure Connect VIRTUAL NETWORK Virtual Network: VPN connection between cloud and on-prem machines Rg Role Group: indicates which roles are ROLE GROUP members of a virtual network Machine Group: indicates which on- Mg prem machines are members of a virtual MACHINE network GROUP
  • 46. WEB ROLE 3 S S S SQL SERVER DATABASE
  • 47. Cd Content Delivery Network CONTENT DELIVERY CDN: Utilizes worldwide network of 24+ NETWORK edge server to deliver content efficiently Often used for media Locale-directed DNS goes to nearest node to serve up cached content Content sources from blob storage or your hosted service
  • 48. Tm Windows Azure Traffic Manager TRAFFIC MANAGER Traffic Manager: Routes DNS access to your hosted service to one of several Rl possible deployments based on rules LOCALE-BASED ROUTINE Locale-based Routing: route to a deployment based on locale Rf Failover Routing: route to a secondary if FAILOVER primary is not healthy (via a heartbeat) ROUTING Distributed Routing: route based on a Rd desired distribution across data centers DISTRIBUTED ROUTING
  • 49. Claims-based Security Ip Rp Ts Tk Cl Ra IDENTITY RELYING SECURITY TOKEN CLAIM REDIRECTED PROVIDER PARTY TOKEN AUTHENTICATION SERVICE
  • 50. Ip Modern way to do AuthN/AuthZ IDENTITY PROVIDER Use with web identity, domain identity Identity Provider: Party providing Rp security token with claims RELYING PARTY Relying Party: application that wants to authenticate/authorize user Ts Security Token Service: how SECURITY TOKEN application/user authenticates SERVICE (interactively or programmatically) Ra Redirected Authentication: user visits REDIRECTED app, user redirected to STS to sign in, AUTHENTICATION redirected back to app with token
  • 51. Googl Windows Azure e ACS Yaho RP o! WEB ROLE 2+ S S Live ID
  • 52. Windows Azure WEB ROLE 2+ S S RP Enterprise ADF S AD
  • 53.
  • 54. Can “load balance” back end of worker roles using queues Queue Worker Role
  • 55. Web Role Front end can submit tasks for the back end Both front end and back end can be scaled to accommodate load Q Worker Role
  • 56. WEB FARM CQRS-READS RELATIONAL DATA Command/Query Responsibility Segregation PUBLIC CLOUD CLUSTERED / PARTITIONED DB Best for large WEB FARM CQRS-WRITES NON-RELATIONAL DATA implementations Separate read & write FILES, QUEUES You probably don’t do the same amount of each Take advantage of lightweight read mechanisms Safer – avoid accidental updates/deletes
  • 57.
  • 58. HETEROGENEOUS FRONT END DECENTRALIZED BACK END Platform DESKTOP Application Services BROWSER CLOUD Business Data Stores Services TABLET Identity IP Directories Services PHONE PARTNER Partner Data Stores Services
  • 59. Attendee Bee Conference App Open, Mobile, Global, & Social
  • 60. General Pu Pr Hy Ia Pa Sa Ps Su Compute Ro In We Wo Vr Lb Ep Ei Ca Storage Bl Co Qm Qu Ta En Pk Rk Ep DB Ds Db Rd Re Sg Sh Fr Fm Comm Sb Sq To Su Fi Network Vn Rg Mg Cd Tm Rl Rf Rd Security Ip Rp Ts Tk Cl Ra
  • 61. Thanks! David Pallmann GM Custom App Dev, Neudesic http://davidpallmann.blogspot.com @davidpallmann

Notas del editor

  1. Windows Azure, of course, is Microsoft’s cloud computing platform. In this first part, we’re going to look at the patterns come with using the Windows Azure platform.
  2. Windows Azure, of course, is Microsoft’s cloud computing platform. In this first part, we’re going to look at the patterns come with using the Windows Azure platform.
  3. Windows Azure, of course, is Microsoft’s cloud computing platform. In this first part, we’re going to look at the patterns come with using the Windows Azure platform.