Top Banner
Microsoft Azure Brief Overview and Creation of Test Website
36
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Microsoft Azure

Microsoft Azure

Brief Overview and Creation of Test Website

Page 2: Microsoft Azure

WHAT IS MICROSOFT AZURE?

Page 3: Microsoft Azure

From Official Website

“Azure is Microsoft’s cloud computing platform, a growing collection of integrated services - analytics, computing, database, mobile, networking, storage, and web - for moving faster, achieving more, and saving money.”

http://azure.microsoft.com/

Page 4: Microsoft Azure

Azure Components

Page 5: Microsoft Azure

More Azure Components

Page 6: Microsoft Azure

Azure Geography

Azure operates out of 17 regions around the world

Page 7: Microsoft Azure

Pricing CalculatorScreenshot

Page 8: Microsoft Azure

ALTERNATIVES

Page 10: Microsoft Azure

Public Cloud Usage 2015

IBM SoftLayer

VMware vCloud Air

Google IaaS

Azure PaaS

Rackspace Public Cloud

Azure IaaS

AWS

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

5%

5%

5%

9%

11%

12%

57%

8%

10%

16%

13%

9%

17%

17%

7%

8%

13%

13%

9%

12%

7%

Running apps

Experimenting

Plan to use

Page 11: Microsoft Azure

Public Cloud Usage 2015 vs. 2014

IBM SoftLayer

VMware vCloud Air

Google IaaS

Azure PaaS

Rackspace Public Cloud

Azure IaaS

AWS

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

4%

8%

4%

7%

12%

6%

54%

5%

5%

5%

9%

11%

12%

57%

2015

2014

Page 12: Microsoft Azure

CLOUD SERVICE MODELS

Page 13: Microsoft Azure

Cloud Service Models

Private

(On-Premises)

Applications

Data

Runtime

Middleware

O/S

Virtualization

Server

Storage

Networking

Infrastructure

(as a Service)

Applications

Data

Runtime

Middleware

O/S

Virtualization

Server

Storage

Networking

Platform

(as a Service)

Applications

Data

Runtime

Middleware

O/S

Virtualization

Server

Storage

Networking

Software

(as a Service)

Applications

Data

Runtime

Middleware

O/S

Virtualization

Server

Storage

Networking

Managed by Customer

Managed by Vendor

Page 14: Microsoft Azure

Infrastructure (as a Service)

Advantages

Quick transition to Cloud

Solution Portability

Complete Control

IaaS is a managed compute service that gives complete control of the OS and the application platform stack to the IT Professional. The unit of deployment is at the granularity of a virtual machine.

Page 15: Microsoft Azure

Platform (as a Service)

Advantages

Low Total Cost of Ownership

Accelerates Innovation

Better Development Operations

Mitigates Security Risks

“PaaS is the self-service enabled compute service that provisions computing resources in terms of CPU, memory and disk storage. The unit of deployment is an application package and its associated data.”

Page 16: Microsoft Azure

Cloud Service Models and Azure

IaaS

Virtual Machines

Page 17: Microsoft Azure

Azure IaaS vs PaaS Statistics

Only IaaS; 45%

IaaS & PaaS; 23%

PaaS; 32%

Azure Users

68% of Users run apps in IaaS

55% of Users run apps in PaaS

Page 18: Microsoft Azure

FROM WORDS TO DEEDS

Page 19: Microsoft Azure

How to Try (Free Trial)

Screenshot

Page 20: Microsoft Azure

How to Manage

• From Visual Studio with Azure SDK

• From Management Portals:o https://manage.windowsazure.como https://portal.azure.com (beta)

• Using PowerShell Console

Page 21: Microsoft Azure

Azure SDK and Command-line Tools

The Azure SDK for .NET is the core building block that helps developers author Cloud Services using Azure Service Runtime Programming model, debug using emulators on the local machine, and deploy to Azure data centers in the cloud.

The Azure SDK Policy covers Azure SDK Authoring Tools, Command line utilities, Compute & Storage Emulators, and Azure Tools for Microsoft Visual Studio.

Page 22: Microsoft Azure

APP SERVICE (WEB APP)

Page 23: Microsoft Azure

Create App Service

• From Management Portals

• From Visual Studio Interface

• Using PowerShell Console

Screenshot

Screenshot

Page 24: Microsoft Azure

Create App Service from PowerShell

Code Snippet

$AzureSubscriptionId = "Some_Azure_Subscription_Id"

Import-AzurePublishSettingsFile “**\*.publishsettings"Set-AzureSubscription –SubscriptionId $ AzureSubscriptionId

$AzureTestWebSite = "workshop-created-from-ps"

New-AzureWebsite $ AzureTestWebSiteGet-AzureWebsite -Name $ AzureTestWebSite

Stop-AzureWebsite -Name $ AzureTestWebSiteGet-AzureWebsite -Name $ AzureTestWebSite

Remove-AzureWebsite -Name $ AzureTestWebSiteGet-AzureWebsite

CreateWebSite.ps1

Page 25: Microsoft Azure

Check Web App Configuration

Screenshot

Page 26: Microsoft Azure

Deploy a Web App

• Deploy from a cloud-hosted source control system

• Deploying from an IDE

• Deploy using an FTP utility

• Deploying from an on-premises source control system

• Deploy using command-line tools and the Azure REST management API

• Octopus Deploy

Page 27: Microsoft Azure

FTP Access

Just create FTP credentials and use provided on Management Portal access points

Screenshots

Page 28: Microsoft Azure

Secure a Web App in Azure App Service

• Secure communications (HTTPS)

• Secure development

– Publishing profiles and publish settings

– Configuration settings, and connection strings

• SFTP

Page 29: Microsoft Azure

Web Jobs

WebJobs is a feature of Azure App Service that enables developers to run a program or script in the same context as a web app. The purpose of the WebJobs SDK is to simplify the task of writing code that runs as a WebJob and works with Azure Storage queues, blobs, and tables, and Service Bus queues.

On Demand

Continuous

Schedule

Page 30: Microsoft Azure

TRAFFIC MANAGER

Page 31: Microsoft Azure

Traffic Manager (Overview)

“Microsoft Azure Traffic Manager allows to control the distribution of user traffic to specified endpoints, which can include Azure cloud services, websites, and other endpoints.”

“Traffic Manager works by applying an intelligent policy engine to Domain Name System (DNS) queries for the domain names of Internet resources.”

Page 32: Microsoft Azure

Service Level Agreements (SLA)

“We [Microsoft Azure Team] guarantee that Web Apps, Mobile Apps, Logic Apps, and API Apps running in a customer subscription will be available 99.9% of the time, with a 99.95% SLA provided when multiple instances and traffic manager are used. No SLA is provided for Apps or sites under either the Free or Shared tiers.”

99.95%

Page 33: Microsoft Azure

How Traffic Manager Works

“choose the best performing deployment” between:

Deployment ADeployment BDeployment C

DNS Server

Q: What is workshop-web-app.trafficmgr.com?

Policy Engine

Traffic Manager

5

workshop-web-app policy

Deployment AUS North

Deployment BWest Europe

Deployment C (Down)

IP=11.22.33.44 IP=22.33.44.55IP=33.44.55.66

20ms 80ms

ns1.workshop.infons2.workshop.info

Q: What is www.workshop.info?

A: CNAME to workshop-web-app.trafficmgr.com

34

6

7

8 What is the network distance between IP 99.88.77.66 and the US North and West Europe regions?

Users’ LDNSIP=99.88.77.66

a.root-servers.net…

k.root-servers.net

Q: What is www.workshop.info?A: Ask ns1/2.workshop.info

12

9 A: 11.22.33.44

Which deployments are up?

What are the regions for deployments A and B?

Page 34: Microsoft Azure

Traffic Manager Benefits

• Improve availability of critical applications;

• Improve responsiveness for high performing applications;

• Upgrade and perform service maintenance without downtime;

• Traffic distribution for large, complex deployments.

Page 35: Microsoft Azure

Traffic Manager Load Balancing Methods

• Failover: Select Failover when endpoints in the same or different Azure datacenters (regions in the Management Portal) and is going to use a primary endpoint for all traffic, but provide backups in case the primary or the backup endpoints are unavailable;

• Round Robin: Select Round Robin when traffic need to be distributed across a set of endpoints in the same datacenter or across different datacenters;

• Performance: Select Performance when endpoints in different geographic locations and requesting clients to use the "closest" endpoint in terms of the lowest latency.

Page 36: Microsoft Azure