Top Banner
Cloud and Azure and Rock & Roll David Giard Senior Technical Evangelist Microsoft A lap around Microsoft Azure
49

Cloud and azure and rock and roll

Feb 21, 2017

Download

Technology

David Giard
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: Cloud and azure and rock and roll

CloudandAzureandRock & Roll

David GiardSenior Technical EvangelistMicrosoft

A lap around Microsoft Azure

Page 2: Cloud and azure and rock and roll

@DavidGiard

The Cloud

Page 3: Cloud and azure and rock and roll

@DavidGiard

IAAS Infrastructure as a Service

PAAS

Platform as a Service

SAAS

Software as a Service

Cloud Services

Page 4: Cloud and azure and rock and roll

@DavidGiard

IaaS

Man

aged

by

vend

or

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

You

scal

e, m

ake

resil

ient

& m

anag

e

PaaS

Scal

e, re

silie

nce

and

man

agem

ent b

y ve

ndor

You

man

age

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Hosting models Business model

On Premises

You

scal

e, m

ake

resil

ient

and

man

age

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

SaaS

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Scal

e, re

silie

nce

and

man

agem

ent b

y ve

ndor

More ControlMore Work

Less ControlLess Work

Cloud Services

Page 5: Cloud and azure and rock and roll

@DavidGiard

Elasticity

Page 6: Cloud and azure and rock and roll

Variable Demand

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0123456789Demand

Page 7: Cloud and azure and rock and roll

Variable Demand

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0123456789Demand vs Capacity

Waste

Page 8: Cloud and azure and rock and roll

Variable Demand

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0123456789Demand vs Capacity

Waste

Lost Opportunity

Page 9: Cloud and azure and rock and roll

Variable Demand

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0123456789Demand vs Capacity

Page 10: Cloud and azure and rock and roll

Pay for What You Use

Instance Size# Instances

Page 11: Cloud and azure and rock and roll

Azure Data Centers

North America Europe Asia Pacific

S Central US

W. Europe

N. Central US

N. Europe

S.E. Asia

E. Asia

East USWest US

Brazil South

Japan West

Japan EastChina North

China South

Australia East

East US 2

Central USEast Canada

Central Canada

Central India

South India

West India

Australia Southeast

Page 12: Cloud and azure and rock and roll

Azure Services

Page 13: Cloud and azure and rock and roll

Portal

Page 14: Cloud and azure and rock and roll

Portal

Page 15: Cloud and azure and rock and roll

Hybrid Cloud

Page 16: Cloud and azure and rock and roll

Azure

On Premises

Hybrid Cloud

Web Role

SQL Server

Page 17: Cloud and azure and rock and roll

Azure

On Premises

Hybrid Cloud

Web Role

SQL Server

Amazon

Page 18: Cloud and azure and rock and roll

Support for Open SourceLanguages

CMS

Devices

Databases / Apps

Operatingsystems

Management

Page 19: Cloud and azure and rock and roll

Pricing

Page 20: Cloud and azure and rock and roll

@DavidGiard

Azure Virtual Machines

Page 21: Cloud and azure and rock and roll

New Disk Persisted in

Storage

Cloud

Provisioning VMSelect Image and VM SizeGetting Started

Management Portal

>_Scripting

(Windows, Linux and Mac)

REST API

Boot VM from New DiskWindows ServerLinuxExtra SmallSmallMediumLarge X-Large

Page 22: Cloud and azure and rock and roll

VM GalleryA COLLECTION OF PREBUILT IMAGES FOR VARIOUS WORKLOADS

Microsoft Azure

Windows Server 2012 R2

Ubuntu Server 14.04 LTS

CentOS 6.5SUSE Linux

Enterprise Server Oracle Linux 6.4.0.0.0

Windows 8.1 Enterprise

SQL Server 2014 Standard

Oracle Database 11g R2

BizTalk Server 2013 SharePoint Server FarmMicrosoft Dynamics

GP 2013 Zulu 8

SAP HANA Developer Edition Puppet Enterprise 3.2.3 Barracuda Web

Application

Oracle WebLogicServer 12.1.2

Visual Studio Ultimate 2013

openSUSE 13.1

Page 23: Cloud and azure and rock and roll

Virtual Machine SizesVM Size CPU Cores Memory # (1TB) Data

DisksExtra Small (A0) Shared 768 MB 1

Small (A1) 1 1.75 GB 2Medium (A2) 2 3.5 GB 4Large (A3) 4 7 GB 8Extra Large (A4) 8 14 GB 16

A5 2 14 GB 4A6 4 28 GB 8A7 8 56 GB 16A8 8 56 GB 16A9 16 112 GB 16

Page 24: Cloud and azure and rock and roll

Image MobilityOn-Premises Cloud

MyApp.vhd

Page 25: Cloud and azure and rock and roll

@DavidGiard

Data

Page 26: Cloud and azure and rock and roll

@DavidGiard

Data • Azure SQL Databases• Azure Table Storage• Azure Blob Storage• DocumentDB• Open Source & Third-Party

data stores

Page 27: Cloud and azure and rock and roll

@DavidGiard

Azure Web Apps• Scale• Site Slots• Web Jobs• Traffic Manager• Backup

Page 28: Cloud and azure and rock and roll

Publish a Web SiteUse prebuilt templates to build a personal Web site with technologies

you know, or create a commercial Web site that scales to serve millions of customers

Page 29: Cloud and azure and rock and roll

Staging a Web App

Page 30: Cloud and azure and rock and roll

Staging

Page 31: Cloud and azure and rock and roll

Staging

Page 32: Cloud and azure and rock and roll

Staging

Page 33: Cloud and azure and rock and roll

Staging

Page 34: Cloud and azure and rock and roll

@DavidGiard

Azure Mobile Apps

Page 35: Cloud and azure and rock and roll

RESThttps://Giard.azure-mobile.net/Tables/Table1 GET, PUT, POST, DELETE, PATCH Extend GET with oData Query syntax

Page 36: Cloud and azure and rock and roll

REST

Client Endpoint

RequestVerb

Data(JSON)

Response

Page 37: Cloud and azure and rock and roll

Permissions

Pieces of Azure Mobile Services

SQL Server table

READ

INSERT

UPDATE

DELETE

IdentityClient Code

REST Endpoint

Windows 8WP8JavaScriptXamarinPhoneGapiOSAndroid

Page 38: Cloud and azure and rock and roll

Tame Big Data with Hadoop

Spin up an Azure HDInsight cluster anduse MapReduce to process large data sets in parallel

Page 39: Cloud and azure and rock and roll

Azure Machine LearningTrain a model with Azure Machine Learning and use that

model to classify credit-card transactions as fraudulent or not fraudulent

Feature ValueName Bill GatesAge 60Gender MaleAmount $352.00Purchased

Software

Location Redmond, WA

Time 3:15 p.m.… …

Page 40: Cloud and azure and rock and roll

Process Data from IoT Devices

Combine Azure Event/IoT Hubs, Azure Stream Analytics,and Azure Storage to analyze IoT data streams in real

time

Page 41: Cloud and azure and rock and roll

Identify FacesUse the Cognitive Services Face API to comparefaces, identify faces, search for similar faces, and more

Page 42: Cloud and azure and rock and roll

Perform Sentiment Analysis

Use the Cognitive Services Text Analytics API

to analyze sentiment in text files, Twitter feeds, and other sources Language

DetectionTopic DetectionKey Phrase

ExtractionSentiment Analysis

“Thanks to Text Analytics…we are able to incorporate guest sentiment into our actionable guest feedback platform that

delivers a comprehensive view of guest satisfaction and server performance.”

— Al Pappa, Head of Business Intelligence, Ziosk

Page 43: Cloud and azure and rock and roll

Many Languages, Many SDKs Write code in any language and for any platform

Azure SDKs available for a variety of languages and platforms (free)

Also available in package form from NuGet and NPM

Ramp up quickly by using what you already know

.NET Node.js Java

C++

PHPRubyPython

iOS Android

Page 44: Cloud and azure and rock and roll

Uploading a Blob (C#)

Create a blob using the Azure Storage SDK for .NET

Upload the contents of a local file to the blob

CloudStorageAccount account =

CloudStorageAccount.Parse("connection_string);

CloudBlobClient client = account.CreateCloudBlobClient();

CloudBlobContainer container =

client.GetContainerReference("container_name");

CloudBlockBlob blob =

container.GetBlockBlobReference("blob_name"));

await blob.UploadFromFileAsync("file_name");

Page 45: Cloud and azure and rock and roll

Uploading a Blob (Node.js)

Create a blob using the Azure Storage SDK for Node.js

Upload the contents of a local file to the blob

var storage = require("azure-storage");

var service =

storage.createBlobService("connection_string");

service.createBlockBlobFromLocalFile(

"container_name", "blob_name", "file_name",

function(error, result, response) {

if (!error) {

// File uploaded

}

});

Page 46: Cloud and azure and rock and roll

Uploading a Blob (Python)

Create a blob using the Azure Storage SDK for Python

Upload the contents of a local file to the blob

from azure.storage.blob import ContentSettings

block_blob_service = BlockBlobService(

account_name='account_name',

account_key='account_key'

)

block_blob_service.create_blob_from_path(

'container_name',

'blob_name',

'file_name',

content_settings=ContentSettings(

content_type='image/png'

)

)

Page 47: Cloud and azure and rock and roll

@DavidGiard

Demo

Page 48: Cloud and azure and rock and roll

@DavidGiard

Learn MoreAzure.comMva.msChannel9.msdn.comBuildWindows.comtinyurl.com/giardcast

Page 49: Cloud and azure and rock and roll

Contact InfoE-Mail [email protected] DavidGiard.comTV TechnologyAndFriends.comTwitter @DavidGiard