Microsoft Azure SoftUni Team Technical Trainers Software University http://softuni.bg.

Download Microsoft Azure SoftUni Team Technical Trainers Software University http://softuni.bg.

Post on 03-Jan-2016

224 views

Category:

Documents

9 download

Embed Size (px)

TRANSCRIPT

Web Services and SOA

Microsoft AzureSoftUni TeamTechnical TrainersSoftware Universityhttp://softuni.bg

Web Services & Cloud

Software University Foundation http://softuni.orgThis work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.1Table of ContentsIntroduction to AzureWeb AppsHow to deploy web service application?LoggingDiagnosticsConfigurationsCloud ServicesVirtual MachinesHow to deploy on a virtual machine?2

Software University Foundation http://softuni.orgThis work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.2Introduction to AzureThe cloud for modern business3

Your DatacenterVirtualizationO/SHardwareNetworkDataApplicationsFirewallWeb SitesApplicationsDataCloud ServicesApplicationsFirewall RulesDataVirtual NetworkVirtual MachinesVirtual NetworkDataApplicationsFirewall RulesO/SFocus on the Application

Windows AzureSlide Objectives:Explain the differences between traditional self-hosting and the three options of Windows Azure hosting.

Notes:In a traditional environment you must manage the full stack. With Windows Azure you can choose a variety of options depending on your needs.4Benefits of the CloudCosts Optimization

Quick Go Live

Scalability and Global Reach

Security and Maintenance5Microsoft Azure - Datacenters ( ) 5Lets compare with On Premises Necessity of upfront investments

Maintenance of resources

Potential loss of business focus

Low level of flexibility6Microsoft Azure 6Rapidly setup environments to drive business prioritiesScale to meet peak demands Increase daily activities, efficiency and reduced cost.

Why the CloudEconomicsScaleSpeed7Client layer (on-premises)Tablet

Phone

Games console

PCOn-premises databaseBrowser

Office Add-in

On-premises service

AD

MultifactorAuthentication

Access ControlLayer

Integration layerService Bus

CDN

BizTalk Services

Traffic Manager

Virtual Networks

Express Route

ApplicationlayerAPI Mgmt

Websites

Cloud Services

VM

Mobile Services

Media Services

Notification Hubs

Scheduler

Automation

Data LayerStorageBlobs

Tables

Queues

DataMachine LearningHD Insight

Backup and Recovery

SQL Database

Caching

StorSimple

What is Azure?8Partners

2013 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.9/4/2015 1:47 PM9Support for Open Source

LanguagesCMSDevicesDatabases / AppsOperatingsystems

Management

Build 2012 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.9/4/201510Azure PortalLive Demo11

Azure Web Apps12

Azure Web Sites is a platform as a service (PaaS)Cloud computing based platform for hosting websitesAllows publishing web apps written in different platforms.NET, node.js, Java, PHP, PythonWhat is Azure Web Apps?14Create new sites in secondsEasily manage and scale your sitesAutomatic load balancing and shared storage across instancesUse ASP.NET, ASP, PHP, or Node.jsSupports any Web development tool on any platformWindows, OSX, LinuxSQL Azure or MySQL databases

What does Azure Web Apps give us?15Register in Microsoft AzureGo to Azure PortalGo to Web AppsCreate new web appCreate new databaseSet connection stringAllow Azure IPDeploy to web appHow to deploy application?

16You can use .NET, Java, PHP, PythonSSL certificates can be uploadedSSL bindings to custom domainsOnly custom domains can be usedConnection strings can be configuredYou can configure Azure Authentication / AuthorizationYou can scale your web application (cores, memory, instances)You can add web jobsAzure Web Apps Configuration

17You can monitor you application:CPU TimeData InData OutHTTP Server ErrorsRequestsAzure Monitoring

Azure Web AppsLive Demo18

Azure Cloud Services19

Cloud service provides similar functionality as Web AppsYou can deploy IIS-based web app to either of these platformsProvides a completely provisioned, unique, stateless virtual machineYou have machine level accessHas two different Role Types, a Web Role, and a Worker RoleGives you much more control over the deployment environmentProvides network isolationWhat is Azure Cloud Service?ProductionStagingStages of Service DeploymentStage 1: Local development and testingCompute EmulatorRoleRoleStorage EmulatorStage 4: VIP Swap to ProductionStage 3: Test in Staging on Windows AzureWindows Azure Storage ServiceCloud ServiceRoleRoleStage 2: Test in mixed mode with hosted dataWindows Azure Storage ServiceCompute EmulatorRoleRoleSlide ObjectiveHighlight the stages of a typical deploymentLocal development Hybrid of local and Windows Azure Everything in Windows Azure in staging Swap from Staging to Production

Speaking PointsDebugging is not currently supported in Windows AzureSet breakpoints & debug in Local Development Fabric.Test initially with development storage, but test with Windows Azure storage to test with large volumes of data whilst still keeping your roles local for debuggingOnce you are happy with the Worker/Web Roles running locally deploy everything to Staging and run tests in this environmentOnce all tests in staging pass, promote everything to productionWorker roles in the Staging project are operational and as such will process messages from queues etc. You should design for this.21Azure Cloud ServicesLive Demo22

Azure Virtual Machines23

24Launch virtual machine in minutesSupports Windows Server, Ubuntu Server, Suse Linux, CoreOS, Oracle Linux, Open LogicYou have remote desktop access to the virtual machineYou have full control over the virtual machineYou should maintain, update and secure the virtual machineYou should install all softwareWhat is Azure Virtual Machine?Azure Virtual MachinesLive Demo25

26Web Apps vs Cloud Services vs Virtual Machines

https://softuni.bg/courses/web-services-and-cloud/Azure

?????????Questions? Software University Foundation http://softuni.orgThis work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.27LicenseThis course (slides, examples, demos, videos, homework, etc.)is licensed under the "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International" license28

Attribution: this work may contain portions from"Web Services and Cloud" course by Telerik Academy under CC-BY-NC-SA license Software University Foundation http://softuni.orgThis work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.28Free Trainings @ Software UniversitySoftware University Foundation softuni.orgSoftware University High-Quality Education, Profession and Job for Software Developerssoftuni.bg Software University @ Facebookfacebook.com/SoftwareUniversitySoftware University @ YouTubeyoutube.com/SoftwareUniversitySoftware University Forums forum.softuni.bg

Software University Foundation http://softuni.orgThis work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.29

Recommended

View more >