61
Angelo Gino Varrati Microsoft Student Partner – L’Aquila [email protected] @angelog_varrati Introduzione al Cloud Computing e Microsoft Azure Venerdì 6 Novembre 2015 Academic Tour L’Aquila

Introduzione al cloud computing e microsoft azure

Embed Size (px)

Citation preview

Page 1: Introduzione al cloud computing e microsoft azure

Angelo Gino VarratiMicrosoft Student Partner – L’[email protected]@angelog_varrati

Introduzione al Cloud Computing e Microsoft Azure

Venerdì 6 Novembre 2015Academic Tour L’Aquila

Page 2: Introduzione al cloud computing e microsoft azure

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

Page 3: Introduzione al cloud computing e microsoft azure

Cos’è il Cloud Computing?

Page 4: Introduzione al cloud computing e microsoft azure

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.»

Page 5: Introduzione al cloud computing e microsoft azure

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

Page 6: Introduzione al cloud computing e microsoft azure

La definizione di Cloud Computing del NIST

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

Page 7: Introduzione al cloud computing e microsoft azure

Carrateristiche essenziali

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

Page 8: Introduzione al cloud computing e microsoft azure

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

Page 9: Introduzione al cloud computing e microsoft azure

Modelli di distribuzione

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

Page 10: Introduzione al cloud computing e microsoft azure

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

Page 11: Introduzione al cloud computing e microsoft azure

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

Page 12: Introduzione al cloud computing e microsoft azure

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

Page 13: Introduzione al cloud computing e microsoft azure

Microsoft Azure

Page 14: Introduzione al cloud computing e 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.»

Page 15: Introduzione al cloud computing e microsoft azure

Microsoft Azure

aperto solidoflessibile

Page 16: Introduzione al cloud computing e microsoft azure

Azure footprint

17 regions worldwide in 2015

Data Centers

Regional Partners

Page 17: Introduzione al cloud computing e microsoft azure

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

Page 18: Introduzione al cloud computing e microsoft azure

Partners

Page 19: Introduzione al cloud computing e microsoft azure

.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

Page 20: Introduzione al cloud computing e microsoft azure

Supporto Open SourceLanguages

CMS

Devices

Databases / Apps

Operatingsystems

Management

Page 21: Introduzione al cloud computing e microsoft azure

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

Page 22: Introduzione al cloud computing e microsoft azure

DEMO: portali di Microsoft Azure

Page 23: Introduzione al cloud computing e microsoft azure

Web Apps

Page 24: Introduzione al cloud computing e microsoft azure

Fastest way to build for the cloud

Page 25: Introduzione al cloud computing e microsoft azure

Azure App Service

Web Apps

Mobile Apps

Logic Apps

API Apps

tryappservice.azure.com

Page 26: Introduzione al cloud computing e microsoft azure

.NETPython

Develop apps with…Node.j

sJava

PHP

Page 27: Introduzione al cloud computing e microsoft azure

Manual Scaling

1 6Instance Count Instances

Page 28: Introduzione al cloud computing e microsoft azure

AutoScale

Page 29: Introduzione al cloud computing e microsoft azure

AutoScale

Page 30: Introduzione al cloud computing e microsoft azure

AutoScale

Page 31: Introduzione al cloud computing e microsoft azure

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]

Page 32: Introduzione al cloud computing e microsoft azure

Staging

Page 33: Introduzione al cloud computing e microsoft azure

Staging

Page 34: Introduzione al cloud computing e microsoft azure

Staging

Page 35: Introduzione al cloud computing e microsoft azure

Staging

Page 36: Introduzione al cloud computing e microsoft azure

WebJobs

Page 37: Introduzione al cloud computing e microsoft azure

WebJobs

Page 38: Introduzione al cloud computing e microsoft azure

Backup

Websites Settings Manifest

Database (Optional)Websites Files

Page 39: Introduzione al cloud computing e microsoft azure

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

Page 40: Introduzione al cloud computing e microsoft azure

GitHubVisual StudioOnline

Git BitBucketCodePlex DropBox FTP

Choose your own Adventure!

Page 41: Introduzione al cloud computing e microsoft azure

Visual Studio Online

• Full Portal Integration• Not just for Microsoft shops

Agile

Build Test

Deploy

InsightsCode

Page 42: Introduzione al cloud computing e microsoft azure

DEMO: Web Apps

Page 43: Introduzione al cloud computing e microsoft azure

SQL Database

Page 44: Introduzione al cloud computing e microsoft azure

A Server Is Not A Machine

SQL Server A Machine

SQL Database

ServerA TDS

Endpoint

Page 45: Introduzione al cloud computing e microsoft azure

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

Page 46: Introduzione al cloud computing e microsoft azure

DEMO: SQL Database

Page 47: Introduzione al cloud computing e microsoft azure

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

Page 48: Introduzione al cloud computing e microsoft azure

Virtual Machines

Page 49: Introduzione al cloud computing e microsoft azure

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

Page 50: Introduzione al cloud computing e microsoft azure

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 51: Introduzione al cloud computing e microsoft azure

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

Page 52: Introduzione al cloud computing e microsoft azure

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 53: Introduzione al cloud computing e microsoft azure

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.

Page 54: Introduzione al cloud computing e microsoft azure

Image MobilityOn-Premises Cloud

MyApp.vhd

Page 55: Introduzione al cloud computing e microsoft azure

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:

Page 56: Introduzione al cloud computing e microsoft azure

Persistent Disks and Highly Durable

Microsoft Azure Storage

Microsoft Azure Storage (Disaster Recovery)

VirtualMachine

Virtual Machine

Page 57: Introduzione al cloud computing e microsoft azure

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.

Page 58: Introduzione al cloud computing e microsoft azure

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

Page 59: Introduzione al cloud computing e microsoft azure

DEMO: Virtual Machines

Page 60: Introduzione al cloud computing e microsoft azure

Q&Aaka.ms/azure4dreamspark

Page 61: Introduzione al cloud computing e microsoft azure

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