Windows Azure Cloud & Application Services Name Title Organization.

  • Published on
    25-Dec-2015

  • View
    213

  • Download
    0

Embed Size (px)

Transcript

  • Slide 1
  • Slide 2
  • Windows Azure Cloud & Application Services Name Title Organization
  • Slide 3
  • A brief review of Cloud Service Inter-role communication Windows Azure Cloud Service Lifecycle Dedicated cache Windows Azure Service Bus Windows Azure Access Control Service Agenda
  • Slide 4
  • Azure ecosystem Caching Access Control Service Bus CDN Traffic Manager HPC Storage Media Services SQL Database
  • Slide 5
  • Azure ecosystem Gallery SPA Social N-TierLOB Web API Specialized Legacy Hybrid Caching Access Control Service Bus CDN Traffic Manager HPC Storage On-prem Media Services SQL Database
  • Slide 6
  • Azure ecosystem GallerySocial N-Tier Sharing LOB Specialized Legacy Hybrid Caching Access Control Service Bus CDN Traffic Manager HPC Storage On-prem Media Services SQL Database
  • Slide 7
  • Azure ecosystem Gallery SPA Social Sharing LOB Web API Specialized Caching Access Control Service Bus CDN Traffic Manager HPC Storage Media Services SQL Database
  • Slide 8
  • Cloud Service Overview
  • Slide 9
  • Why Cloud Service?
  • Slide 10
  • What is a Cloud Service? Web RoleWorker Role
  • Slide 11
  • What Can It Run?
  • Slide 12
  • All features of a worker role + IIS 7 or 7.5 ASP.NET 3.5 SP1 or 4.0 64bit Hosts Webforms or MVC FastCGI applications (e.g. PHP) Multiple Websites Http(s) Web/Worker Hybrid Can optionally implement RoleEntryPoint
  • Slide 13
  • Queue Polling Worker Poll and Pop Messages within while(true) loop E.g. Map/Reduce pattern, background image processing Listening Worker Role Create TcpListener or WCF Service Host E.g. Run a.NET SMTP server or WCF Service External Process Worker Role OnStart or Run method executes Process.Start() Startup Task installs or executes background/foreground process Custom Role Entry Point (executable or.Net assembly) E.g. Run a database server, web server, distributed cache
  • Slide 14
  • All roles may extend RoleEntryPoint Roles report status via RoleEnvironment
  • Slide 15
  • 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 Service A role definition specifies: Virtual machine size Communication endpoints Local storage resources etc.
  • Slide 16
  • Roles and Instances Web RolesWorker Roles
  • Slide 17
  • 99.95% Uptime Guarantee Requires 2 or more instance per role Role instance are isolated by fault domain Fault domains isolate VMs Fault domains provide redundancy At least two fault domains per role
  • Slide 18
  • Roles and Instances Example role with nine virtual machines distributed across three fault domains
  • Slide 19
  • Slide 20
  • Cloud Service inter-role communication Input Endpoint Load-balanced HTTP/HTTPS/TCP/UDP Internal Endpoint Not load-balanced HTTP/TCP/UDP/ANY Instance Input Endpoint Route traffic to specific instance based on port TCP/UPD Other options Queue Storage Database
  • Slide 21
  • Slide 22
  • Demo
  • Slide 23
  • Slide 24
  • Slide 25
  • Cloud Service Lifecycle
  • Slide 26
  • Windows 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)
  • Slide 27
  • Startup tasks Install software and features Configure host environment Start processes Remote Desktop support Certificate used to enable remote desktop access Endpoints Public endpoints Internal endpoints InstanceInput endpoints Runtime Settings
  • Slide 28
  • Packaging & Deployment
  • Slide 29
  • Application Upgrade Strategies
  • Slide 30
  • Slide 31
  • Demo
  • Slide 32
  • Cloud service lifecycle Simplistic view
  • Slide 33
  • Cloud service lifecycle - Agile
  • Slide 34
  • 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
  • Slide 35
  • Slide 36
  • Demo
  • Slide 37
  • Role Instance Starts Diagnostic Monitor Starts Monitor is configured Imperatively at Start time Remotely any time Configuration is saved in Storage Monitor buffers data locally User can set a quota (FIFO) User initiates transfer to storage from local buffer Scheduled On Demand
  • Slide 38
  • Demo
  • Slide 39
  • Application building blocks
  • Slide 40
  • Slide 41
  • Whats 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
  • Slide 42
  • Why Windows Azure Cache? Faster No external service calls (additional network hops) Co-located in roles Cheaper No external service calls (additional cost) Use spare memory that you already paid for More reliable Your service is running = cache is available No throttling as in cotenant environment
  • Slide 43
  • Slide 44
  • Demo
  • Slide 45
  • Memcached support Host a Memcached cluster in Work Roles Access a Memcached cluster from Web/Worker Roles Memcached Shim Memcached Client Memcached Shim Memcached Server
  • Slide 46
  • Slide 47
  • Demo
  • Slide 48
  • Application building blocks
  • Slide 49
  • 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
  • Slide 50
  • Relay Service 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.
  • Slide 51
  • Messaging Queue Asynchronous communication Offline processing Load-balancing Topic & Subscription Asynchronous communication Publish/Subscription pattern Message routing
  • Slide 52
  • Slide 53
  • Demo
  • Slide 54
  • Application building blocks
  • Slide 55
  • Security challenge Authentication Authorization User store Management UI Forget password? Customer support Data protection Integration with AD LDAP User mapping Synchronization Integration With Facebook More User mapping Facebook Auth API More Synchronization
  • Slide 56
  • Solution: Claim-based architecture
  • Slide 57
  • Digital identity in a nutshell ACSWIF IdP
  • Slide 58
  • AC S
  • Slide 59
  • Slide 60
  • Demo
  • Slide 61