Nivo 300 Seminar Windows Azure Bootcamp za razvijalce Rok Bermež, Kompas Xnet.

Slides:



Advertisements
Similar presentations
Windows Azure for SharePoint people Dennis – Solution Architect Microsoft Windows Azure.
Advertisements

Microsoft ® Official Course First Look Clinic Overview of Windows 8 By Ragowo Riantory, S.Kom, MCP.
Welcome To #GWAB 2014 Welcome The Charity The Sponsors The Social Fun Agenda.
Page 1 Ricardo Villalobos Windows Azure Architect Evangelist Microsoft Corporation Designing, Building, and Deploying Windows Azure applications.
“It’s going to take a month to get a proof of concept going.” “I know VMM, but don’t know how it works with SPF and the Portal” “I know Azure, but.
Overview Of Microsoft New Technology ENTER. Processing....
Wade Wegner Windows Azure Technical Evangelist Microsoft Corporation Real World Windows Azure Development – Tips & Tricks.
Inside Windows Azure Virtual Machines Vijay Rajagopalan Microsoft Corporation.
Deep Dive into Windows Azure Virtual Machines – From Cloud Vendor and Enterprise Perspective Vijay Rajagopalan Principal Lead Program Manager Microsoft.
Cloud Power Application Driven Comprehensive & Open Cloud under Your Control!
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.
Name Title Microsoft Windows Azure: Migrating Web Applications.
VM Role (PaaS)Virtual Machine (IaaS) StorageNon-Persistent StoragePersistent Storage Easily add additional storage DeploymentBuild VHD offsite and upload.
Migrating Applications to Windows Azure Virtual Machines Michael Washam Senior Technical Evangelist Microsoft Corporation.
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.
Deploying and Managing Windows Server 2012
Partner Practice Enablement - Overview This session will focus on integration strategies for applications deployed using Microsoft Azure Websites and Microsoft.
Lecture 8 – Platform as a Service. Introduction We have discussed the SPI model of Cloud Computing – IaaS – PaaS – SaaS.
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
Windows Azure Virtual Machines Speaker Title Organization.
Getting Started with Windows Azure Name Title Microsoft Corporation.
Microsoft Azure Virtual Machines. Networking Compute Storage Virtual Machine Operating System Applications Data & Access Runtime Provision & Manage.
Windows Azure: Microsoft’s Cloud Platform By Shahed Chowdhuri.
Your First Azure Application Michael Stiefel Reliable Software, Inc.
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Partner Practice Enablement - Overview This session will focus on integration strategies for applications deployed using Microsoft Azure Websites and Microsoft.
WINDOWS AZURE PLATFORM ROADMAP Eric Nelson Slide 1.
From Virtualization Management to Private Cloud with SCVMM 2012 Dan Stolts Sr. IT Pro Evangelist Microsoft Corporation
DCIM211. By 2015, 35% of enterprise IT expenditures for most organizations will be managed outside the IT department’s budget IT budget.
Microsoft Azure SoftUni Team Technical Trainers Software University
Intro to cloud computing and Azure. And in a non-Cloud view, there are inefficiencies in addressing those issues TIME IT CAPACITY Actual Load Allocated.
Windows Azure Migrating Applications and Workloads Speaker Title Organization.
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Windows Azure for IT Pros Kurt CLAEYS (TSP Windows Azure, Microsoft EMEA)
Windows Azure Cloud & Building Block Services Haishi Bai Technical Evangelist Microsoft.
Zvezdan Pavković. Storage Non-Persistent Storage Persistent Storage Easily add additional storage. Networking Internal and Input Endpoints configured.
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.
Windows Azure Enterprise Role ARole B Role C (multiple VM’s) Windows Azure Enterprise Dev machines Databases Relay.
 Mike Martin  Architect  MEET Member  Crew Member of Azug  Windows Azure Insider  Windows Azure MVP  
Windows Azure Custom Software Development Mobile Middleware Windows Azure Compute Dipl.-Ing. Damir Dobric Lead Architect daenet
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
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.
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
ALL INFORMATION PRESENTED AS WELL AS ALL SESSIONS ARE MICROSOFT CONFIDENTIAL AND UNDER YOUR NON-DISCLOSURE AGREEMENT (NDA) AND\OR TECHNOLOGY PREVIEW.
SYSTEM CENTER VIRTUAL MACHINE MANAGER 2012 Gorazd Šemrov Microsoft Consulting Services
Windows Azure Boot CampWindowsAzureBootCamp.com. Windows Azure Boot CampWindowsAzureBootCamp.com.
Nivo 300 ASP.NET MVC 4 Danijel Malik Artifis Danijel Malik s.p.
Bellevue College Cloud Seminars Learn: Cloud services Friday, March 4, 2016 Azure Virtual Machines Fawad Khan.
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
COS312. CLOUD COMPUTING IT as a Service On-PremisesStorageStorage ServersServers NetworkingNetworking O/SO/S MiddlewareMiddleware VirtualizationVirtualization.
Nivo 300 Windows server Roles and features - Luka Manojlovic Jure Purgar.
Nivo 300 Connecting Development and Operations - Application Maintenance with TFS and SCOM Ivan Kardum (dev) MVP for VS ALM, PMP, MCSD, MCPD, MCTS:TFS.
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.
Building Applications with Windows Azure and SQL Azure
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.
Microsoft Virtual Academy
Saranya Sriram Developer Evangelist | Microsoft
Developing for Windows Azure
5 Azure Services Every .NET Developer Needs to Know
02 – Cloud Services Bret Stateham | Senior Technical Evangelist​
Presentation transcript:

Nivo 300 Seminar Windows Azure Bootcamp za razvijalce Rok Bermež, Kompas Xnet

Nivo 300 Agenda Part 1 Introduction Windows Azure Roles Part 2 Windows Azure Storage Part 3 - bonus Sql Azure Other services Part 4 Service bus Q&A

Nivo 300 Cloud Services

Nivo 300 The Benefits of the Cloud The Cloud is about cheap, on-demand capacity = Managed for You Standalon e Servers IaaSPaaSSaaS Applications Runtimes Database Operating System Virtualization Server Storage Networking Windows Azure Efficiency Control+Cost

Nivo 300 2) Choose image, then create and configure VM(s) for application 1) Choose image, then create VM for DBMS and configure DBMS IaaS Library VM Images Developer Application Data Load Balancer 5) Configure load balancer 6) Manage VMs and DBMS (e.g., deploying new OS images in VMs) 3) Provision database, then create tables and add data 4) Install applica tion

Nivo 300 PaaS Developer Application Data Load Balancer 2) Deploy application 1) Provision database, then create tables and add data

Nivo 300 Simple Definition? It’s another place to run your code. Choose between on-premises, hosting, or the cloud based on your needs.

Nivo 300 Introducing Windows Azure ON-PREMISES Developer ExperienceDeveloper Experience Use existing skills and tools.Use existing skills and tools. ComputeStorageManagement Relational data Management Connectivity Access control

Nivo 300 Windows Azure Platform Data Centers

Nivo 300 Anatomy of a Windows Azure Service Worker Role Web Role Web Role VM Role

Nivo 300 GOAL: SCALABLE, DURABLE STORAGE Windows Azure storage is an application managed by the Fabric Controller Windows Azure applications can use native storage or SQL Azure Application state is kept in storage services, so worker roles can replicate as needed Blobs: large, unstructured data (audio, video, etc) Tables: simply structured data, accessed using WCF Data Services Queues: serially accessed messages or requests, allowing web- roles and worker-roles to interact Storage in Windows Azure

Nivo 300 Windows Azure Platform Consumption Prices Access Control $1.99/10k transactions Per Message Operation $3.99/month per connection Per Message Operation Service Bus

Nivo 300 Azure Benefits for VS 2010 MSDN Premium, Ultimate: Get 8 months of benefits… MSDN Premium, Ultimate: Get 8 months of benefits… …Then extend them another 8 months $2,518 of cloud resources For a quick video on how to sign up:

Nivo 300 Monthly Service Level Agreement All running roles will be continuously monitored If role is not running, we will detect and initiate corrective state >99.9% Instance monitoring and restart Database is connected to the internet gateway All databases will be continuously monitored >99.9% Database availability >99.9% Service bus and access control endpoints will have external connectivity Message operation requests processed successfully Service bus and access control availability Your service is connected and reachable via web. Internet facing roles will have external connectivity >99.95% Compute connectivity >99.9% Storage service will be available/reacha ble (connectivity) Your storage requests will be processed successfully Storage availability

Nivo 300 The Developer Tools Development Environment Vista+ Must enable local IIS features Visual Studio 2010 Must run as local Admin.NET 3.5 SP1 /.NET 4.0 Local SQL instance Azure SDK Provides local emulator Complete local simulation of the cloud fabric 90% of the local emulator is the same as the cloud fabric Includes handy project templates Deployment and management tools Includes client storage library

Nivo 300 Basic Roles

Nivo 300 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

Nivo 300 Comparison of Role Types Web Role : The role is hosted on IIS Worker Role : The role is an executable (you can create your own web server, host a database, …) VM Role : The role is the VM. Use Windows services, scheduled tasks, etc. You configure and maintain the OS. ControlControl Abstraction (i.e. Less IT & Less Plumbing Code) Abstraction Admin Web / Worker Role VM Role Web / Worker Role

Nivo 300 Operating System is provided by customer Patches are provided by customer Operating system is provided by Microsoft Patches are provided by Microsoft Compute Service Roles Web and Worker Role VM Role

Nivo 300 Compute Services Security Customer code run on dedicated virtual machines (VMs) VMs isolated by a Hyper-V based hypervisor All access to network and disk is mediated by a “root” virtual machine Hypervisor and “Sandbox” Hypervisor Network/Disk 1, 2, 4 or 8 CPUs, up to 14GB of memory Stripped down, hardened version of Windows Server 2008 Three virtual hard disks Limited number of device drivers Network connectivity restricted using host firewall Hyper-V based hypervisor

Nivo 300 Interacts with a “Fabric Agent” on each machine Monitors every VM, application and instance Performs load balancing, check pointing and recovery Fabric Controller Web Role Instance Worker Role Instance VM Role Instance

Nivo 300 What is the web role? A web role hosts an IIS based web site or service. Supports HTTP, HTTPS and certificates Automatically load balanced by Azure Can be internal only, but usually public facing Runs on IIS7 Usually runs an ASP.NET site.

Nivo 300 Full IIS – Overview Web Role will now use full IIS by default One Web role can run many Web sites, all hosted behind the same public IP address Multiple sites, applications, virtual directories, and bindings can be modeled Everything else can be scripted (using admin access where necessary)

Nivo 300 Full IIS Scenario - Walkthrough PhaseKey Steps Local Development Use Visual Studio solution to code & deploy to Compute Emulator Edit local content files without redeploying to Compute Emulator First-time Publish (~10 Min) Deploy service to Windows Azure Ensure Windows Azure service definition (csdef/cscfg) configures Web role: To enable remote WMSVC, WebDeploy, PowerShell, etc. As single instance Iterative Development (seconds) Continue coding in same Visual Studio solution Push intermittent changes (e.g. w/ Web Deploy) Deployment of Final Version (~10 Min) Deploy service to Windows Azure Note: If service is now multi-instance, Remote Desktop can be used, but other remote mgmt. tools will get load- balanced to arbitrary instances. Mitigation: Run mgmt. tools inside Remote Desktop session

Nivo 300 What is a worker role?.NET 3.5 sp1 / 4.0 Focused on backend processing and non-HTTP service hosting By default, does not allow inbound connections

Nivo 300 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

Nivo 300 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 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

Nivo 300 What is the VM Role Developers have full control over the OS image Ability to upload your own customized WS08R2 Enterprise images Operators can reboot, re-image and Remote Desktop Continue to benefit from automated service management, including service model enhancements described on subsequent slides

Nivo 300 VM Role Lifecycle Cloud On-Premises Blob Storage Boot VHD Customize VHD Save Diff.VHD Base.VHD Identical/similar deployment instances using common uploaded OS image (base.VHD + diff.VHD) & Additional Software & Windows Azure Integration Components - Agent - Runtime Interface (topo, config, shutdown notification, …) - Remote Desktop configurator - Diagnostics - Windows Azure Drives driver - Windows Azure Connect & Generalize (Recommended)

Nivo 300 VM Role – Common Questions Will any WS08 R2-based application work? No, VM Role inherits some Web/worker restrictions: SLA requires at least two identical/similar instances No durability of OS image on hardware failure One public IP per service (unless using Windows Azure Virtual Network) Does Windows Azure take care of *everything*? No With VM Role, the customer creates & maintains the OS Windows Azure does not automatically understand the health of the applications running in our VM But, since you deploy services instead of individual VM’s, Windows Azure does automate many management tasks.

Nivo 300 VM Role – Common Questions How will it be priced? It will be priced the same as Web and Worker roles. Customers will be charged at an hourly rate depending on the compute instance size. How does licensing in the cloud work? Windows: Included in the CPU-hour price Licensing status of uploaded image is not considered Applications: Per the licensing terms of the application

Nivo 300 Instances An instance is a physical implementation of your role template. There are different sizes of instances, but all instances of a role must be the same size. You can not change instance size on the fly. SizeCPU CoresCPU SpeedMemoryCost Per Hour Extra SmallShared 1.0 GHz 768 MB $0.04 Small1 1.6 GHz 1.75 GB $0.12 Medium2 1.6 GHz 3.5 GB $0.24 Large4 1.6 GHz 7 GB $0.48 Extra Large8 1.6 GHz 14 GB $0.96

Nivo 300 Windows Azure FabricControllerFabricController Web Portal (API) (API) LBLBLBLB LBLBLBLB LBLBLBLB LBLBLBLB YourServiceYourService

Nivo 300 LBLBLBLB LBLBLBLB LBLBLBLB LBLBLBLB Service Deployment YourServiceYourService FabricControllerFabricController Web Portal (API) (API) ServiceService ModelModel ServiceService ServiceService DNSDNS configconfig

Nivo 300 LBLBLBLB LBLBLBLB LBLBLBLB LBLBLBLB Service Scaling YourServiceYourService FabricControllerFabricController Web Portal (API) (API) ServiceService ServiceService ServiceService ModelModel ServiceService ServiceService ServiceService ServiceService ServiceService

Nivo 300 LBLBLBLB LBLBLBLB LBLBLBLB LBLBLBLB Service Monitoring & Recovery YourServiceYourService FabricControllerFabricController Web Portal (API) (API) ServiceService ServiceService ServiceService ModelModel ServiceService

Nivo 300 Local Emulator The SDK includes a local emulation of the real fabric and fabric controller. Based on 90% of the real fabric code Uses a local SQL instance to simulate storage Best way to debug your application Use the Compute Emulator UI to watch your processes

Nivo 300 SDK Emulator Icon

Nivo 300 Compute Emulator UI

Nivo 300 Storage Emulator UI

Nivo 300 SQL Express? If you have SQL Express the storage emulator will auto-configure on the first run If you want to use a different SQL instance: DSInit /sqlInstance:.

Nivo 300 Are we running in the fabric?

Nivo 300 Debugging in the cloud? No. No debug for you.

Nivo 300 Debugging locally You can debug locally just like a normal ASP.NET application. Full support for multiple instances.

Nivo 300 Support for IntelliTrace IntelliTrace now supported in Windows Azure Integrated into VS2010 Ultimate Requires.NET 4 applications Deploys an agent to your instances Gathers and reports all debugging stack information Can replay the app locally

Nivo 300 Support for Profiling Easily detect performance bottlenecks in your application while its running in Windows Azure. Choose “View Profiling Report” Open shortcut menu for instance to profile Profiling report is retrieved from Windows Azure After report is downloaded, it is displayed

Nivo 300 Looking at configuration. Configuration is handled by two files. ServiceDefinition.csdef ServiceConfiguration.cscfg

Nivo 300 Service Definition

Nivo 300 Service Configuration

Nivo 300 GUI Double click on Role Name in Azure Project

Nivo 300 Settings

Nivo 300 Endpoints

Nivo 300 Certificates

Nivo 300 Hello Cloud

Nivo 300 Three Choices to Deploy Code Visual Studio Portal Script/Management API

Nivo 300 Deploying to the cloud You must create an Azure account, then a service, and then you deploy your code. VS builds two files. Encrypted package of your code Your config file Can take 20 minutes (which is better than six months) In a dev scenario, you can use Web Deploy

Nivo 300 Portal

Nivo 300 Visual Studio Publishing Fast publishing direct from Visual Studio Uses.publishsettings file (like Web Matrix) Wizard uses Windows Live ID credentials to download file Auto-generation of X509 certificate Base64 encoded certificate in.publishsettings Subscription ID and name of each subscription linked to that Windows Live ID. Publishing will add new X509 certificate and your package to Windows Azure.

Nivo 300 Visual Studio Publishing

Nivo 300 Deploying to the cloud

Nivo 300 DNS All services get a *.cloudapp.net address myservicename.cloudapp.net TTL is 10 seconds Standard approach is to CNAME to *.cloudapp.net Requires two DNS lookups Limited caching due to low TTL Officially we do not support the use of A records IP Address for deployment is fixed for lifetime of that slot

Nivo 300 Advanced Roles

Nivo 300 Admin Access & Startup Tasks Scenarios Perform short, unattended setups on role startup. E.g. COM Component Registry Key Configuring a Windows Server Role, such as IIS Debugging Reminders Durability: Runtime state on OS image does not survive OS upgrade and hardware failure Drift: Service should behave correctly when any role instance fails

Nivo 300 Admin Access & Startup Tasks <Task commandline="relative\path\ToSetupExecutable" executionContext="limited|elevated" taskType="simple|foreground|background"/> Task Types: Simple [Default] – System waits for the task to exit before any other tasks are launched Background – System does not wait for the task to exit Foreground – Similar to background, except role is not restarted until all foreground tasks exit

Nivo 300 Startup tasks

Nivo 300 Local Storage Each role can define an amount of local storage. Protected space on the local drive. Considered volatile storage. You can define several resources. Size is between 1MB and 20GB+. Defined in.csdef.

Nivo 300 Local Resource Configuration

Nivo 300 Using a Local Resource

Nivo 300 Where is Local Storage?

Nivo 300 Local storage

Nivo 300 Input endpoints Expose a WCF service to the public. Enrolled in the Azure load balancer.

Nivo 300 Endpoints Model Internet LB Worker Role 0 Instance 0 SVC Worker Role 0 Instance 2 SVC Worker Role 0 Instance 1 SVC Worker Role 1 Instance 0 SVC Worker Role 1 Instance 2 SVC Worker Role 1 Instance 1 SVC

Nivo 300 Configuring an Endpoint

Nivo 300 Using Endpoints Just like normal WCF You need to define your address at runtime Select from the InstanceEndpoints collection Typical pattern is to loop on all internal endpoints.

Nivo 300 Using an Input Endpoint

Nivo 300 Using an Internal Endpoint

Nivo 300 Calling all Internal Endpoints

Nivo 300 Endpoints

Windows Azure Connect Secure network connectivity between on-premises and cloud Supports standard IP protocols Example use cases: Enterprise app migrated to Windows Azure that requires access to on-premise SQL Server Windows Azure app domain- joined to corporate Active Directory Remote administration and trouble-shooting of Windows Azure Roles Simple setup and management Windows Azure Enterprise

Nivo 300 Windows Azure Connect

Nivo 300 VPRAŠANJA? Po zaključku predavanja, prosimo, izpolnite vprašalnik. Vprašalniki bodo poslani na vaš e-naslov, dostopni pa bodo tudi preko profila na spletnem portalu konference Najlepša hvala!