Windows Azure Custom Software Development Mobile Middleware Windows Azure Compute Dipl.-Ing. Damir Dobric Lead Architect daenet

Slides:



Advertisements
Similar presentations
Connecting Windows Azure to Your Enterprise Network & Applications
Advertisements

Intro to Windows Azure Antimo Musone Cloud Tour Owner Microsoft Student Partner
Page 1 Ricardo Villalobos Windows Azure Architect Evangelist Microsoft Corporation Designing, Building, and Deploying Windows Azure applications.
Emmanuel Mesas Microsoft Western Europe Leverage Azure Services & Platform with Existing Application.
Azure Services Platform Piotr Zierhoffer. Agenda Cloud? What is Azure? Environment Basic glossary Architecture Element description Deployment.
Overview Of Microsoft New Technology ENTER. Processing....
Joey Snow Technical Evanglist Microsoft Corporation SESSION CODE: WSV310.
COS302. = Managed for YouStandalone Servers IaaSPaaSSaaS Applications Runtimes Database Operating System Virtualization Server Storage Networking.
Cloud Computing Systems Lin Gu Hong Kong University of Science and Technology Sept. 21, 2011 Windows Azure—Overview.
Worker Role Web Role Web Role VM Role Control Abstraction (i.e. Less IT & Less Plumbing Code) Admin Web / Worker Role VM Role Web / Worker Role.
4/20/2017 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Boston Bootcamp April 27 th, 2013 Azure Websites Udaiappa Ramachandran ( Udai
Components of Windows Azure - more detail. Windows Azure Components Windows Azure PaaS ApplicationsWindows Azure Service Model Runtimes.NET 3.5/4, ASP.NET,
Migrating Business Apps to Windows Azure Marc Müller Principal Consultant, 4tecture GmbH
Getting Started with Windows Azure Name Title Microsoft Corporation.
Windows Azure Tour Benjamin Day Benjamin Day Consulting, Inc.
Windows Azure Insights for the Enterprise IT Pro John Craddock Infrastructure and Identity Architect XTSeminars AZR301.
Windows Azure: Microsoft’s Cloud Platform By Shahed Chowdhuri.
Your First Azure Application Michael Stiefel Reliable Software, Inc.
Mostafa Abdollahi Mazandaran University Of Science And Technology January 2011.
Introduction to Windows Azure BUGAEV ROMAN. Azure Windows Azure Platform is thus classified as platform as a service and forms part of Microsoft's cloud.
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
WINDOWS AZURE PLATFORM ROADMAP Eric Nelson Slide 1.
Microsoft Azure SoftUni Team Technical Trainers Software University
Azure Services Platform Update James Conard Sr. Director Developer & Platform Evangelism Microsoft Corporation.
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Windows Azure. Azure Application platform for the public cloud. Windows Azure is an operating system You can: – build a web application that runs.
Windows Azure Cloud & Building Block Services Haishi Bai Technical Evangelist Microsoft.
Windows Azure Cloud Services Anton Boyko.NET developer.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
 Mike Martin  Architect  MEET Member  Crew Member of Azug  Windows Azure Insider  Windows Azure MVP  
Windows Azure Fundamentals Services Storage. Table of contents Overview Cloud service basics Managing cloud services Cloud storage basics Table storage.
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
Windows Azure poDRw_Xi3Aw.
Mick Badran Using Microsoft Service Fabric to build your next Solution with zero downtime – Lvl 300 CLD32 5.
Microsoft Cloud Computing. Topics to be covered 1.Environmental Features of windows azure 2.What is Cloud Computing 3.Roles in Cloud Computing 4.Benefits.
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
Microsoft Virtual Academy Module 12 Managing Services with VMM and App Controller.
(re)-Architecting cloud applications on the windows Azure platform CLAEYS Kurt Technology Solution Professional Microsoft EMEA.
Virtual techdays INDIA │ august 2010 Building & Deploying Windows Azure Application using VS2010 Saranya Sriram │ Developer Evangelist, Microsoft.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
The best of WF 4.0 and AppFabric Damir Dobric MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
WINDOWS AZURE AND THE HYBRID CLOUD. Hybrid Concepts and Cloud Services.
COS312. CLOUD COMPUTING IT as a Service On-PremisesStorageStorage ServersServers NetworkingNetworking O/SO/S MiddlewareMiddleware VirtualizationVirtualization.
Windows Azure Custom Software Development Mobile Middleware Service Bus Remoting Dipl.-Ing. Damir Dobric Lead Architect daenet
Bret Stateham Owner, Net Connex blogs.netconnex.com twitter.com\bstateham.
HoraSesión 9:00 - 9:30Registro 9:30 – 10:30Empezando con Windows Azure 10:45 – 12:00HOL: Laboratorio – Empezando con Windows Azure 12:00 – 13:15Azure.
Name Title Microsoft Corporation
Deploying Web Application
Tulika Chaudharie / Harikharan Krishnaraju
Distributed Cache Dipl.-Ing. Damir Dobric Lead Architect daenet
Platform as a Service.
Logo here Module 3 Microsoft Azure Web App. Logo here Module Overview Introduction to App Service Overview of Web Apps Hosting Web Applications in Azure.
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Diagnostics and Service Management
Building Applications with Windows Azure and SQL Azure
Microsoft Azure Service Fabric Overview
Service Fabric Patterns & Best Practices
PaaS - Development Stefan Geiger Gerry
02 | Hosting Services in Windows Azure
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Windows Azure Cloud Service
Introduction to Building Applications with Windows Azure
Managing Services with VMM and App Controller
Saranya Sriram Developer Evangelist | Microsoft
5 Azure Services Every .NET Developer Needs to Know
02 – Cloud Services Bret Stateham | Senior Technical Evangelist​
Presentation transcript:

Windows Azure Custom Software Development Mobile Middleware Windows Azure Compute Dipl.-Ing. Damir Dobric Lead Architect daenet Microsoft vTSP – Germany Technology Advisor in Business Platform Division – Microsoft Corp. Microsoft Most Valuable Professional

Windows Azure Custom Software Development Mobile Middleware Windows Azure in a Slide Desktop VS Tools WA SDK Storage Cluster MSFT Datacenters Business Portal Developer Portal Compute Cluster … … Service Management Service REST … Cloud VM Runtime API VM Setup User Code

Windows Azure Custom Software Development Mobile Middleware VM Size in Windows Azure Windows Azure – Supports Various VM Sizes – Size set on Role in Service Definition – Service can have multiple roles – Balance of Performance per node vs. High Availability from multiple nodes – Set in Service Model definition All instances of role will be of equal size SizeCPU CoresRAMLocal StorageCost Extra SmallShared768M20GB.05 Small11.7GB250GB.12 Medium23.5GB500GB.24 Large47GB1000GB.48 Extra large815GB2000GB.96

Windows Azure Custom Software Development Mobile Middleware Virtual Machine Sizes

Windows Azure Custom Software Development Mobile Middleware Services, Roles & Instances Web Applications – Developed as Web Role – Running in Web Service (IIS) Backend Applications – Developed as Worker Role – Have no UI – Running in dedicated container process Legacy Applications – Deployed on Virtual Machine – Called VM-Role Applications

Windows Azure Custom Software Development Mobile Middleware Services, Roles & Instances Service Model (Deployment) Web Role Indicates that role is running in cluster across 4 instances (at 4 different machines) Worker Role running on one instance Web Service (Web Role) running on one instance

Windows Azure Custom Software Development Mobile Middleware Roles and Instances Roles are defined in a Service Model – May define one or more Roles per Service – A role definition specifies VM size Communication Endpoints Local storage resources Etc… At runtime each Role will execute on one or more instances (up to 20 per subscription) – A role instance is a set of code, configuration, and local data, deployed in a dedicated VM

Windows Azure Custom Software Development Mobile Middleware Windows Azure Service Architecture Tables LB Blobs Worker Service Worker Role Managed Interface Call Worker Role Managed Interface Call Web Site (ASPX, ASMX, WCF) Web Site (ASPX, ASMX, WCF) Web Site (ASPX, ASMX, WCF) Web Site (ASPX, ASMX, WCF) Web Role IIS as Host Web Role IIS as Host Queues Windows Azure Data Center LB The Internet The Internet via TCP or HTTP

Windows Azure Custom Software Development Mobile Middleware Role Programming Model Inherits RoleEntryPoint OnStart() Method – Called by Fabric on startup, allows you to perform initialization tasks. – Reports Busy status to load balancer until you return true. Run() Method – Main logic is here – can do anything, typically infinite loop. Should never exit. OnStop() Method – Called when role is to be shutdown, graceful exit. – 30 Seconds to tidy up

Windows Azure Custom Software Development Mobile Middleware Role Lifecycle

Windows Azure Custom Software Development Mobile Middleware Demo Developing Cloud Application with Visual Studio

Windows Azure Custom Software Development Mobile Middleware Worker Role Patterns 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 – E.g. Run a database server, web server, distributed cache

Windows Azure Custom Software Development Mobile Middleware DEMO Worker Role

Windows Azure Custom Software Development Mobile Middleware Web Role 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 – Web Api Http(s) Web/Worker Hybrid – Can optionally implement RoleEntryPoint

Windows Azure Custom Software Development Mobile Middleware DEMO Web Role

Windows Azure Custom Software Development Mobile Middleware Packaging & Config Windows Azure Services are described by two important 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)

Windows Azure Custom Software Development Mobile Middleware Service Definition Describes the shape of your Windows Azure Service – Defines Roles, Ports, Certificates, Configuration Settings, Startup Tasks, IIS Configuration, and more… Can only be changed by upgrades or new deployments

Windows Azure Custom Software Development Mobile Middleware Service Configuration Supplies Runtime Values (Scale, Config Settings, Certificates to use, VHD, etc.) Can be updated any time through Portal or API

Windows Azure Custom Software Development Mobile Middleware Configuration Values Store arbitrary configuration string values – Define in model – Populate in configuration RoleEnvironment –.GetConfigurationSettingValue() Don’t use web.config for values you wish to change at runtime – App/Web.config is packaged with deployment change requires re- deploy – *.cscfg supports change tracking and notification to running role instances

Windows Azure Custom Software Development Mobile Middleware Handling Config Changes RoleEnvironment.Changing – Occurs before configuration is changed – Can be cancelled – causes a recycle RoleEnvironment.Changed – Occurs after config change has been applied RoleEnvironmentConfigurationSettingChange – Provides config value that was changed RoleEnvironmentTopologyChange – When role count is changed

Windows Azure Custom Software Development Mobile Middleware DEMO Working with Configuration

Windows Azure Custom Software Development Mobile Middleware Monitoring Monitoring is not Debugging Instrument your application using Trace, Debug – DiagnosticMonitorTraceListener Use Diagnostics API to Configure and Collect – Event Logs – Performance Counters – Trace/Debug information (logging) – IIS Logs, Failed Request Logs – Crash Dumps or Arbitrary files Request data on demand or scheduled – Transferred into your table and/or blob storage

Windows Azure Custom Software Development Mobile Middleware Deployment Incremental Upgrade – In-Place-Upgrade or Rolling Upgrade – No service changes are allowed – Upgrade domains Major Upgrade – Deployment of the new version – Deployment in Stage Environment – Uses VIP (virtual IP) swap

Windows Azure Custom Software Development Mobile Middleware Incremental Upgrade (InPlace) INSTANCE I (running v1.1) INSTANCE II (running v1.1) t INSTANCE I (stopped) INSTANCE II (running v1) Upgrading I INSTANCE I (running v1.2) INSTANCE II (running v1.1) 15 min test INSTANCE I (running v1.2) INSTANCE II (running v1.1) Upgrading II INSTANCE I (running v1.2) INSTANCE II (running v1.2)

Windows Azure Custom Software Development Mobile Middleware Upgrade Domains

Windows Azure Custom Software Development Mobile Middleware Upgrade Domains

Windows Azure Custom Software Development Mobile Middleware Upgrade one Role only

Windows Azure Custom Software Development Mobile Middleware VIP Swap

Windows Azure Custom Software Development Mobile Middleware VIP Swap

Windows Azure Custom Software Development Mobile Middleware Upgrading Your Application VIP Swap: – Uses Staging and Production environments. – Allows to quickly swap environments. – Production: v1  Staging: v2, after swap then Production: v2  Staging: v1. In-Place Upgrade – Performs a rolling upgrade on live service. – Entire service or a single role – Manual or Automatic across update domains – Cannot change Service Model

Windows Azure Custom Software Development Mobile Middleware DEMO Configuration Deployment MonitoringUpdate

Windows Azure Custom Software Development Mobile Middleware DEMO Configuration Deployment MonitoringUpdate

Windows Azure Custom Software Development Mobile Middleware

Windows Azure Custom Software Development Mobile Middleware Snippets DiagnosticMonitorConfiguration diagnosticConfig = DiagnosticMonitor.GetDefaultInitialConfiguration(); diagnosticConfig.Logs.ScheduledTransferPeriod = TimeSpan.FromSeconds(15); diagnosticConfig.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose; DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionStrin g", diagnosticConfig); ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application."; var storage = RoleEnvironment.GetLocalResource("LocalStorage1"); StreamWriter sw = new StreamWriter(Path.Combine(storage.RootPath, "mystoragefile.txt")); sw.WriteLine("New request arrived: {0}", DateTime.Now.ToString()); sw.Flush(); var val = RoleEnvironment.GetConfigurationSettingValue("MySetting"); sw.Close(); Trace.WriteLine(String.Format("New request arrived: {0}", DateTime.Now.ToString())); dynamic model = new ExpandoObject(); model.MySetting = val; return View(model as dynamic);