Presentation is loading. Please wait.

Presentation is loading. Please wait.

Windows Azure Cloud Services Anton Boyko.NET developer.

Similar presentations


Presentation on theme: "Windows Azure Cloud Services Anton Boyko.NET developer."— Presentation transcript:

1 Windows Azure Cloud Services Anton Boyko.NET developer

2 A brief overview of Windows Azure Compute Services and application scenarios Windows Azure Cloud Services basics Windows Azure Cloud Service lifecycle Windows Azure Cloud Services communication capabilities Agenda

3 Azure Compute

4 Azure compute

5

6 Application Scenarios

7 Cloud Service Overview

8 What is a Cloud Service? Web RoleWorker Role

9 What Can It Run?

10 Windows Server (+ IIS 7, 7.5 or IIS 8.0* for Web Role) ASP.NET 3.5 SP1, 4.0 or 4.5* – 64bit Hosts Webforms or MVC FastCGI applications (e.g. PHP) Http(s) Web/Worker Hybrid Can optionally implement RoleEntryPoint *for Windows Server 2012

11 Queue Polling Worker Push 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

12 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.

13 Instance Role Environment Deployment (anton.cloudapp.net) Hosted Service Production Web Role 1 Web 1 Instance 0 Web 1 Instance 1 Web 1 Instance 2 Web Role 2 Web 2 Instance 0 Worker Role 1 Worker 1 Instance 0 Worker 1 Instance 1 Staging

14 Cloud Service Availability

15 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

16 Roles and Instances Example role with nine virtual machines distributed across three fault domains

17 Fault and Update Domains

18 Cloud Service Lifecycle

19 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)

20 All roles may extend RoleEntryPoint Roles report status via RoleEnvironment

21 Packaging & Deployment

22 Cloud Service Communication

23 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 …

24 Demo


Download ppt "Windows Azure Cloud Services Anton Boyko.NET developer."

Similar presentations


Ads by Google