Windows Azure Migrating Applications and Workloads Speaker Title Organization.
Windows Azure Cloud & Application Services Name Title Organization.
-
Upload
veronica-fox -
Category
Documents
-
view
217 -
download
0
Transcript of Windows Azure Cloud & Application Services Name Title Organization.
![Page 1: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/1.jpg)
![Page 2: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/2.jpg)
Windows Azure Cloud & Application Services
NameTitleOrganization
![Page 3: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/3.jpg)
ManagementComplexity
Azure ecosystem
Web Sites
Cloud Services Virtual Machines
Control
Gallery
SPA
Social N-Tier
Sharing
LOB
Web APISpecialized
Legacy
Hybrid
Caching Access Control
Service Bus
CDN
TrafficManager
HPC Storage
On-prem
MediaServices
SQL Database
Flexibility
Hello World! .
![Page 4: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/4.jpg)
Cloud Service Overview
![Page 5: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/5.jpg)
Why Cloud Service?
Build infinitely scalable applications and services
Support rich multi-tier architectures
Automated application management
![Page 6: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/6.jpg)
What is a Cloud Service?
A collection of related service roles
Web Role Worker Role
![Page 7: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/7.jpg)
What Can It Run?
![Page 8: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/8.jpg)
Web Role
All features of a worker role + IIS 7 or 7.5ASP.NET 3.5 SP1 or 4.0 – 64bitHostsWebforms or MVCFastCGI applications (e.g. PHP)Multiple Websites
Http(s)Web/Worker HybridCan optionally implement RoleEntryPoint
![Page 9: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/9.jpg)
Worker Role Patterns
Queue Polling WorkerPoll and Pop Messages within while(true) loopE.g. Map/Reduce pattern, background image processing
Listening Worker RoleCreate TcpListener or WCF Service HostE.g. Run a .NET SMTP server or WCF Service
External Process Worker RoleOnStart or Run method executes Process.Start()Startup Task installs or executes background/foreground processCustom Role Entry Point (executable or .Net assembly)E.g. Run a database server, web server, distributed cache
![Page 10: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/10.jpg)
Role Lifecycle
All roles may extend RoleEntryPointRoles report status via RoleEnvironment
StatusCheck
StatusCheck
StatusCheck
Stopping
METHODS EVENTS STATUS
![Page 11: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/11.jpg)
Roles and Instances
At runtime each Role will execute on one or more instances A role instance is a set of code, configuration, and local data, deployed in a dedicated VM
Roles are defined in a Hosted ServiceA role definition specifies:Virtual machine sizeCommunication endpointsLocal storage resourcesetc.
![Page 12: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/12.jpg)
Roles and Instances
Cloud ServiceWeb Roles Worker Roles
Web_instance_0
Web_instance_1
Worker_instance_2
Worker_instance_1
Worker_instance_0
![Page 13: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/13.jpg)
Fault Domains
99.95% Uptime GuaranteeRequires 2 or more instance per role
Role instance are isolated by fault domainFault domains isolate VMsFault domains provide redundancyAt least two fault domains per role
![Page 14: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/14.jpg)
Roles and InstancesExample role with nine virtual machines distributed across three fault domains
ROLE
VM1 VM3
VM5 VM8
VM2 VM4
VM6 VM9
VM6 VM9
![Page 15: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/15.jpg)
Upgrade Domains
![Page 16: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/16.jpg)
Hello WorldDemo
![Page 17: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/17.jpg)
Cloud Service Lifecycle
![Page 18: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/18.jpg)
Understanding Packaging and ConfigWindows Azure Services are described by two artifacts:Service Definition (*.csdef)Service Configuration (*.cscfg)
Your code is zipped and packaged with definition (*.cspkg)Encrypted(Zipped(Code + *.csdef)) == *.cspkg
Windows Azure consumes just (*.cspkg + *.cscfg)
![Page 19: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/19.jpg)
Startup tasksInstall software and featuresConfigure host environmentStart processes
Remote Desktop supportCertificate used to enable remote desktop access
EndpointsPublic endpointsInternal endpointsInstanceInput endpoints
Runtime Settings
![Page 20: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/20.jpg)
Upload to Windows Azure
Packaging & Deployment
Microsoft Visual Studio
Web Role
Worker Role
![Page 21: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/21.jpg)
Application Upgrade Strategies
Staging vs. ProductionDeploy to staging for testing and validation; Promote to production using VIP swap
In-place upgradeReplace an old deployment with a new deployment
![Page 22: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/22.jpg)
Service ManagementDemo
![Page 23: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/23.jpg)
Package
Cloud service lifecycle – Simplistic view
Upload DeployCode©
![Page 24: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/24.jpg)
Cloud service lifecycle - Agile
Product planning
Sprintplanning
Sprint
Shippable increment
Dailyscrum
©
![Page 25: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/25.jpg)
Team Foundation Service• Governance/Guidance over complete software
lifecycle• Integrated with Visual Studio, and now Azure
Management Portal• Support different methodologies and processes• Source repository with gated check-in• Continuous integration with auto-build• Integrated bug tracking
![Page 26: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/26.jpg)
TFS Continuous Integration Demo
![Page 27: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/27.jpg)
Role Instance
Windows Azure DiagnosticsRole Instance StartsDiagnostic Monitor StartsMonitor is configuredImperatively at Start timeRemotely any timeConfiguration is saved in Storage
Monitor buffers data locallyUser can set a quota (FIFO)
User initiates transfer to storage from local bufferScheduled On Demand
![Page 28: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/28.jpg)
Windows Azure Diagnostics Demo
![Page 29: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/29.jpg)
Applicationbuilding blocks
StorageBig data
Caching
CDN
Database
Identity
Media
Messaging
Networking
Traffic
![Page 30: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/30.jpg)
Applicationbuilding blocks
StorageBig data
Caching
CDN
Database
Identity
Media
Messaging
Networking
Traffic
![Page 31: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/31.jpg)
What’s Windows Azure Cache?
• Use spare memory on your VMs as high-performance cache
• Distributed cache cluster co-located with existing roles, or use dedicated roles
• Named caches with high availability option
• Notifications• Support Memcached protocol
![Page 32: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/32.jpg)
Why Windows Azure Cache?
FasterNo external service calls (additional network hops)Co-located in roles
CheaperNo external service calls (additional cost)Use spare memory that you already paid for
More reliableYour service is running = cache is availableNo throttling as in cotenant environment
![Page 33: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/33.jpg)
Windows Azure CacheDemo
![Page 34: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/34.jpg)
Applicationbuilding blocks
StorageBig data
Caching
CDN
Database
Identity
Media
Messaging
Networking
Traffic
![Page 35: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/35.jpg)
Cloud/On-Premise Integration
Cloud-Hosted, reliable asynchronous Messaging Infrastructure with Publish/Subscribe
Cloud-Based Relay enabling NAT/Firewall Traversal for reach into on-premises assets
![Page 36: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/36.jpg)
RelayService Bus Relay solves the challenges of communicating between on-premises applications and the outside world by allowing on-premises web services to project public endpoints. Systems can then access these web services, which continue to run on-premises from anywhere on the planet.
NATFirewall
Dynamic IP
![Page 37: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/37.jpg)
Messaging
QueueAsynchronous communicationOffline processingLoad-balancing
Topic & SubscriptionAsynchronous communicationPublish/Subscription patternMessage routing
Queue Queue
![Page 38: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/38.jpg)
Service Bus: RelayDemo
![Page 39: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/39.jpg)
Applicationbuilding blocks
StorageBig data
Caching
CDN
Database
Identity
Media
Messaging
Networking
Traffic
![Page 40: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/40.jpg)
Security challenge
Your App
Authentication
Authorization
User store
ManagementUI
Forget password?
Customersupport Data
protection
Integrationwith AD
LDAPUser
mapping
Synchronization
IntegrationWith
MoreUser
mapping
FacebookAuth API
MoreSynchronizatio
n
![Page 41: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/41.jpg)
Solution: Claim-based architecture
Your App
?“User is Joe”“Role is Administrator”
ACS +
WIF
![Page 42: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/42.jpg)
Mob
ile
ACSACS
ADFS2 . WS-Federation
Your ApplicationIdentity Providers
Bro
wse
r-b
ase
dR
ich
Clie
nt
WS-Federation
SAML
SWT
SAML
SWT
Service Identities
ADFS2 . WS-Trust
WS-Trust
OAuth WRAP/2.0
WIF
Claims
![Page 43: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/43.jpg)
Federated security with ACS
Demo
![Page 44: Windows Azure Cloud & Application Services Name Title Organization.](https://reader035.fdocuments.in/reader035/viewer/2022062421/56649de85503460f94ae1bfe/html5/thumbnails/44.jpg)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.