Transcript
CloudandAzureandRock & Roll
David GiardSenior Technical EvangelistMicrosoft
A lap around Microsoft Azure
@DavidGiard
The Cloud
@DavidGiard
IAAS Infrastructure as a Service
PAAS
Platform as a Service
SAAS
Software as a Service
Cloud Services
@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
@DavidGiard
Elasticity
Variable Demand
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0123456789Demand
Variable Demand
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0123456789Demand vs Capacity
Waste
Variable Demand
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0123456789Demand vs Capacity
Waste
Lost Opportunity
Variable Demand
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec0123456789Demand vs Capacity
Pay for What You Use
Instance Size# Instances
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
Azure Services
Portal
Portal
Hybrid Cloud
Azure
On Premises
Hybrid Cloud
Web Role
SQL Server
Azure
On Premises
Hybrid Cloud
Web Role
SQL Server
Amazon
Support for Open SourceLanguages
CMS
Devices
Databases / Apps
Operatingsystems
Management
Pricing
@DavidGiard
Azure Virtual Machines
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
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
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
Image MobilityOn-Premises Cloud
MyApp.vhd
@DavidGiard
Data
@DavidGiard
Data • Azure SQL Databases• Azure Table Storage• Azure Blob Storage• DocumentDB• Open Source & Third-Party
data stores
@DavidGiard
Azure Web Apps• Scale• Site Slots• Web Jobs• Traffic Manager• Backup
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
Staging a Web App
Staging
Staging
Staging
Staging
@DavidGiard
Azure Mobile Apps
RESThttps://Giard.azure-mobile.net/Tables/Table1 GET, PUT, POST, DELETE, PATCH Extend GET with oData Query syntax
REST
Client Endpoint
RequestVerb
Data(JSON)
Response
Permissions
Pieces of Azure Mobile Services
SQL Server table
READ
INSERT
UPDATE
DELETE
IdentityClient Code
REST Endpoint
Windows 8WP8JavaScriptXamarinPhoneGapiOSAndroid
Tame Big Data with Hadoop
Spin up an Azure HDInsight cluster anduse MapReduce to process large data sets in parallel
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.… …
Process Data from IoT Devices
Combine Azure Event/IoT Hubs, Azure Stream Analytics,and Azure Storage to analyze IoT data streams in real
time
Identify FacesUse the Cognitive Services Face API to comparefaces, identify faces, search for similar faces, and more
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
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
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");
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
}
});
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'
)
)
@DavidGiard
Demo
@DavidGiard
Learn MoreAzure.comMva.msChannel9.msdn.comBuildWindows.comtinyurl.com/giardcast
Contact InfoE-Mail dGiard@Microsoft.comBlog DavidGiard.comTV TechnologyAndFriends.comTwitter @DavidGiard
top related