Introduzione al cloud computing e microsoft azure

Post on 15-Apr-2017

100 views 3 download

Transcript of Introduzione al cloud computing e microsoft azure

Angelo Gino VarratiMicrosoft Student Partner – L’AquilaAngeloGino.Varrati@studentpartner.com@angelog_varrati

Introduzione al Cloud Computing e Microsoft Azure

Venerdì 6 Novembre 2015Academic Tour L’Aquila

Agenda• Cos’è il Cloud?• Microsoft Azure• Web Apps• SQL Database• Virtual Machines

Cos’è il Cloud Computing?

Da Wikipedia (http://it.wikipedia.org/wiki/Cloud_computing)

«In informatica con il termine inglese cloud computing (in italiano nuvola informatica) si indica un paradigma di erogazione di risorse informatiche, come l'archiviazione, l'elaborazione o la trasmissione di dati, caratterizzato dalla disponibilità on demand attraverso Internet a partire da un insieme di risorse preesistenti e configurabili.»

La definizione di Cloud Computing del NIST

«Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.»

http://www.eurocloud.it/images/nist-originale.pdfhttp://www.eurocloud.it/images/nist-traduzione.pdf

La definizione di Cloud Computing del NIST

«Questo modello cloud è composto da cinque caratteristiche essenziali, tre modalità di servizio e quattro modelli di distribuzione.»

Carrateristiche essenziali

Essential charactheristics• On-demand self-service• Broad network access• Resource pooling• Rapid elasticity• Measured service

Modalità di servizio

On Premises Infrastructure(as a Service)

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

Man

aged

by

vend

or

You

scal

e, m

ake

resil

ient

& m

anag

e

Platform(as a Service)

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 modelsSoftware(as a Service)

Business model

You

scal

e, m

ake

resil

ient

and

man

age

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Scal

e, re

silie

nce

and

man

agem

ent b

y ve

ndor

Modelli di distribuzione

Deployment models• Private cloud• Community cloud• Public cloud• Hybrid cloud

La definizione di Cloud Computing del NIST «Questo modello cloud è composto da cinque caratteristiche essenziali, tre modalità di servizio e quattro modelli di distribuzione.»

Caratteristiche essenziali

On-demand self-service

Broad network access

Resource pooling

Rapid elasticity

Measured service

Modelli di servizio

SaaS(Software as a Service)

PaaS(Platform as a Service)

IaaS(Infrastructure as a

Service)

Modelli di distribuzione

Private cloud

Community cloud

Public cloud

Hybrid Cloud

La definizione di Cloud Computing del NIST «Questo modello cloud è composto da cinque caratteristiche essenziali, tre modalità di servizio e quattro modelli di distribuzione.»

Caratteristiche essenziali

Self-service su richiesta

Ampio accesso in reteCondivisione delle

risorseElasticità rapida

Servizio misurato

Modelli di servizio

SaaS(Software as a Service)

PaaS(Platform as a Service)

IaaS(Infrastructure as a

Service)

Modelli di distribuzione

Cloud privato

Cloud comunitario

Cloud pubblico

Cloud ibrido

Perché il Cloud?• Creare rapidamente ambienti per guidare le priorità di

business• Scalare per soddisfare le richieste di picco• Aumentare le attività quotidiane, l’efficienza e la riduzione

dei costiEconomicsScaleSpeed

Microsoft Azure

Microsoft Azure

«Gamma completa di servizi che ti consentono rapidamente di creare, distribuire e gestire applicazioni attraverso una rete globale di data center gestiti da Microsoft.»

Microsoft Azure

aperto solidoflessibile

Azure footprint

17 regions worldwide in 2015

Data Centers

Regional Partners

Fortune 500 using Azure

>57%

>300kActive websites

More than1,000,0

00SQL Databases in Azure>3

0 TRILLIONstorage objects

>300

MILLIONAAD users

>13BILLIONauthentication/wk

>3 MILLION

requests/sec

>1.65

MILLIONDevelopers registered with Visual Studio Online

Partners

.NET Support2015Offline Sync

Mobile ServicesNetworking Visual Studio & .NET

Virtual MachinesMemory Optimized Disk Optimized

Resource Manager

Portal

VSO GAXamarinPoint-to-site VPN

Web Apps

SMB File SystemIBIZA

Remote DebugVM Management

SQL Database

Puppet Chef DockerPowershell and DSC

Capture / Deploy

AutoscaleDynamic Routing

Subnet Routing

Static IP

Storage

Autoscale

Traffic Mgr

Web Jobs

Backup

Java Support

ASP.NET MVC 5.1

ASP.NET Web API 2.1

AD support

Powershell Automation

Node.JS project support

Remote DebuggingKindle Support

BD’s up to 500GB

99.95% SLA

Self Service Site RecoveryActive GEO replication

HDInsight

Hadoop 2.2

YARN support

.NET 4.5

.NET Foundation

Azure Redis Cache

API Management

Site Recovery

Remote Apps

Cordova

VSO Open Api’s

Event Hub

Supporto Open SourceLanguages

CMS

Devices

Databases / Apps

Operatingsystems

Management

Servizi di Microsoft AzureCl

ient

laye

r (

on-p

rem

ises

)

Tablet PhoneGames consolePC

On-premises databaseBrowser

Office Add-in

On-premises service

ADMultifactorAuthentication

Acce

ss C

ontr

olLa

yer

Dat

a La

yer

Storage Blobs Tables Queues DataMachine Learning HD Insight

Backup and Recovery

SQL Database Caching StorSimple

Appl

icat

ion

laye

r

API Mgmt Web AppsCloud ServicesVM

Mobile Apps

Media Services

Notification Hubs Scheduler

AutomationAPI Apps

Inte

grat

ion

laye

r Service Bus CDN

BizTalk Services

Traffic Manager

Virtual Networks

Express RouteLogic Apps

DEMO: portali di Microsoft Azure

Web Apps

Fastest way to build for the cloud

Azure App Service

Web Apps

Mobile Apps

Logic Apps

API Apps

tryappservice.azure.com

.NETPython

Develop apps with…Node.j

sJava

PHP

Manual Scaling

1 6Instance Count Instances

AutoScale

AutoScale

AutoScale

Auto-Scaling (Metric)

2 6

60

80

Instance Count

CPU Percentage | Memory Percentage | Disk Queue Length | HTTP Queue Length | Data In | Data Out

Percent

Instances

[Metric]

Staging

Staging

Staging

Staging

WebJobs

WebJobs

Backup

Websites Settings Manifest

Database (Optional)Websites Files

Visual Studio + Azure Web Apps• Create Azure Resources during File / New• Create Azure Website during deploy• Manage with Server Explorer

GitHubVisual StudioOnline

Git BitBucketCodePlex DropBox FTP

Choose your own Adventure!

Visual Studio Online

• Full Portal Integration• Not just for Microsoft shops

Agile

Build Test

Deploy

InsightsCode

DEMO: Web Apps

SQL Database

A Server Is Not A Machine

SQL Server A Machine

SQL Database

ServerA TDS

Endpoint

The BasicsSQL Database• SQL Server database technology

as a service • Fully Managed• Enterprise-ready with automatic

support for HA• Designed to scale out elastically

with demand• Ideal for simple and complex

applications

DEMO: SQL Database

DEMO: Web API REST in PHP using Web App and SQL Database

Virtual Machines

Azure Virtual Machines• Launch Windows Server and Linux in minutes• Scale from 1 to 1000s of VM Instances• Save money with per-minute billing• Open and extensible

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

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

Disks and ImagesOS Images• Microsoft• Partner • User

Disks• OS Disks • Data Disks

Base OS image for new Virtual MachinesSys-Prepped/Generalized/Read Only Created by uploading or by capture

Writable Disks for Virtual MachinesCreated during VM creation or during upload of existing VHDs.

Image MobilityOn-Premises Cloud

MyApp.vhd

VM disk layoutTemporary Storage Disk• Local (Not

Persistent)• SATA• Drive D:

Data Disk(s)• Persistent• SCSI• Customer Defined

Letter

OS Disk• Persisten

t• SATA• Drive C:

Persistent Disks and Highly Durable

Microsoft Azure Storage

Microsoft Azure Storage (Disaster Recovery)

VirtualMachine

Virtual Machine

Meaning of 9’sService Availability(%)

System Type Annualized Down Minutes

Quarterly Down Minutes

Monthly Down Minutes Practical Meaning FAA rating

90 Unmanaged 52,596.00 13,149.00 4,383.00 Down 5 weeks per year

99 Managed 5,259.60 1,314.90 438.30 Down 4 days per year ROUTINE

99.9 Well managed 525.96 131.49 43.83 Down 9 hours per year ESSENTIAL

99.99 Fault tolerant 52.60 13.15 4.38 Down 1 hour per year

99.999 High availability

5.26 1.31 0.44 Down 5 minutes per year

CRITICAL

99.9999 Very high availability

0.53 0.13 0.04 Down 30 seconds per year

99.99999 Ultra availability

0.05 0.01 - Down 3 seconds per year

SAFETY CRITICAL

From Generic Requirements for Operation Systems Platform Reliability, Telcordia Technologies System Documentation,GR-2841-CORE and Federation Aviation Administration Handbook: Reliability, Maintainability, and Availability (RMA) Handbook, FAA-HDBK-006A, Jan 7, 2008.

Service Level Agreements

What’s includedCompute Hardware failure (disk, CPU, memory)Datacenter failures - Network failure, power failureHardware upgrades, Software maintenance – Host OS UpdatesWhat is not includedVM Container crashes, Guest OS Updates

99.95% for multiple role instances4.38 hours of downtime per year

DEMO: Virtual Machines

Q&Aaka.ms/azure4dreamspark

Creditihttps://github.com/Azure-Readiness/DevCamp

The MIT License (MIT)

Copyright (c) 2015 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included inall copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INTHE SOFTWARE.

https://github.com/Azure-Readiness/MicrosoftAzureTrainingKitCopyright 2014 Microsoft Corporation

Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.

12 ottobre 2015