introduction to cloud computing

37
Introduction to Cloud Computing Tomislav Tipurić Technology Specialist Microsoft Croatia [email protected] http://tipuric.com

Upload: meredith-walters

Post on 02-Jan-2016

33 views

Category:

Documents


3 download

DESCRIPTION

Introduction to Cloud Computing. Tomislav Tipurić Technology Specialist Microsoft Croatia [email protected] http://tipuric.com. Thomas Edison. Samuel Insull. Nikola Tesla. An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introduction  to  Cloud Computing

Introduction to Cloud Computing

Tomislav TipurićTechnology SpecialistMicrosoft [email protected]://tipuric.com

Page 2: Introduction  to  Cloud Computing

Thomas Edison

Samuel Insull

Nikola Tesla

Page 3: Introduction  to  Cloud Computing

What is the cloud?

An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints

Page 4: Introduction  to  Cloud Computing

TIME

IT C

AP

AC

ITY

Actual Load

Allocated IT-capacities

Too Much Power

Not Enough Power

Load Forecast

Page 5: Introduction  to  Cloud Computing

Actual Load

Capacity on Demand

Lower Capex

No capital laying idle

No screaming customers

Knob goes up...

And...down

TIME

IT C

AP

AC

ITY

Load Forecast

Page 6: Introduction  to  Cloud Computing

Cloud Computing Patterns

UsageCom

pute

Average

Inactivity

Period

On and OffOn & off workloads (e.g. batch job)Over provisioned capacity is wasted Time to market can be cumbersome

Unpredictable BurstingUnexpected/unplanned peak in demand Sudden spike impacts performance Can’t over provision for extreme cases

Com

pute

Average Usage

Growing FastSuccessful services needs to grow/scale Keeping up w/ growth is big IT challenge Cannot provision hardware fast enough

Average Usage

Com

pute

Predictable BurstingServices with micro seasonality trends Peaks due to periodic increased demandIT complexity and wasted capacity

Com

pute

Page 7: Introduction  to  Cloud Computing

Cloud Services

Software-as-a-Service

consume

SaaSPlatform-as-a-Service

build

PaaSInfrastructure-as-a-

Service

host

IaaS

Page 8: Introduction  to  Cloud Computing

Cloud ServicesPackaged Software

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

You m

anag

e

Infrastructure(as a Service)

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

Man

ag

ed b

y v

en

dor

You m

anag

e

Platform(as a Service)

Man

ag

ed b

y v

en

dor

You m

anag

e

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Software(as a Service)

Man

ag

ed b

y v

en

dor

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Page 9: Introduction  to  Cloud Computing

Windows Azure

Comprehensive set of services that enable you to build, host and scale applications in Microsoft datacenters

Designed for next generation apps

Leverage Existing Investments

Open & Flexible

Page 10: Introduction  to  Cloud Computing

Windows Azure

Core Services

Compute Storage Database

Page 11: Introduction  to  Cloud Computing

Windows Azure Overview

Domagoj Pavlešićdizzy.hr

Page 12: Introduction  to  Cloud Computing

Hello Windows Azuredemo

Page 13: Introduction  to  Cloud Computing

Simple ASP.NET MVC app

Visual Studio 2010

Roles & instances are models in XML config

Local F5 debugging

Deployed to the cloud

Simple portal experience

Staging to production

What you saw…

Page 14: Introduction  to  Cloud Computing

Environments for your apps

Machines, rack space, switches, connectivity

Automated deployment & configuration

Isolation, redundancy, load balancing

Abstraction & Flexibility

Windows Azure provided…

Page 15: Introduction  to  Cloud Computing

Windows Azure

Windows Azure is Microsoft’s Cloud Platform for Developers

Operating System for the CloudRuns applications in the cloudProvides StorageApplication Management

Windows Azure ideal for

applications needing:ScalabilityAvailabilityFault ToleranceOn-Demand ComputingPerformance

Page 16: Introduction  to  Cloud Computing

What is Windows Azure Compute?

Virtual Machines in the CloudThree Flavors:

Web Role Worker Role VM Role

Page 17: Introduction  to  Cloud Computing

What Can It Run?

Page 18: Introduction  to  Cloud Computing

Roles and Instances

At runtime each Role will execute on one or more instances A role instance is a set of code, configuration, and local data, deployed in a dedicated VM

Roles are defined in a Hosted ServiceA role definition specifies:VM sizeCommunication EndpointsLocal storage resourcesetc.

Page 19: Introduction  to  Cloud Computing

Roles and InstancesExample Hosted Service configuration with a single web role and a single worker role

HOSTED SERVICE

VM1 VM2 VM3 VM4

VM5 VM6 VM7 VM8

VM9 VMn

VM1 VM2 VM3 VM4

VM5 VMn

Page 20: Introduction  to  Cloud Computing

Fault Domains

99.95% Uptime Guarantee•Requires 2 or more instance per role

Role instance are isolated by fault domain•Fault domains isolate VMs•Fault domains provide redundancy•At least two fault domains per role

Page 21: Introduction  to  Cloud Computing

The High Scale Application ArchetypeWindows Azure provides a ‘pay-as-you-go’ scale out application platform

Async Activation

Network Activation

Page 22: Introduction  to  Cloud Computing

Worker Role

Queue Polling Worker•Poll and Pop Messages within while(true) loop•E.g. Map/Reduce pattern, background image processing

Listening Worker Role•Create TcpListener or WCF Service Host•E.g. Run a .NET SMTP server or WCF Service

External Process Worker Role•OnStart or Run method executes Process.Start()•Startup Task installs or executes background/foreground process•Custom Role Entry Point (executable or .Net assembly)•E.g. Run a database server, web server, distributed cache

Page 23: Introduction  to  Cloud Computing

Web Role

All features of a worker role + IIS 7 or 7.5ASP.NET 3.5 SP1 or 4.0 – 64bitHosts•Webforms or MVC•FastCGI applications (e.g. PHP)•Multiple Websites

Http(s)Web/Worker Hybrid•Can optionally implement RoleEntryPoint

Page 24: Introduction  to  Cloud Computing

Windows Azure Storage

Scalable storage in the cloud100tb per storage accountAuto-scale to meet massive volume and throughput

Accessible via REST servicesAccess from Windows Azure ComputeAccess from anywhere via internetSupporting .NET Client Library

Various storage typesTable - group of entities (name/value pairs)Queue - Simple non-transactional message queueBlob - Large binary storage Drives - NTFS VHD mounted into Compute instance

Page 25: Introduction  to  Cloud Computing

SQL Azure Database

SQL Server relational database model delivered as a serviceSupport for existing APIs & toolsBuilt for the cloud with high availability & fault toleranceEasily provision and manage databases across multiple datacenters

SQL Azure provides logical serverGateway server that understands TDS protocolLooks like SQL Server to TDS ClientActual data stored on multiple backend data nodes

Page 26: Introduction  to  Cloud Computing

SQL Azure Database

Logical optimizations supportedIndexes, Query plans etc..

Physical optimizations not supportedFile Groups, Partitions etc…

Transparently manages physical storage

Page 27: Introduction  to  Cloud Computing

Building Block Services

Authn support using multiple identity providersEasily integrate Live ID, Facebook, Yahoo, Google, & ADSupport for industry standards and existing .NET APIs

Messaging & connectivity for building distributed and loosely-coupled apps in the cloudEnables hybrid apps across both on-premises & the cloudQueues & Topics for persistence & pub/sub messaging

Distributed, in-memory cache for Windows Azure appsSession state provider for Windows Azure applications.NET client library for caching data

Access Control

Caching

Service Bus

Page 28: Introduction  to  Cloud Computing

Data Services

Synchronize data from on-premises SQL Server to/from SQL Azure in the cloudSynchronize data between SQL Azure databases potentially in different data centers

SQL Server Reporting provided as a service Reports authored using existing tools (BIDS) Reports can include rich Data Visualizations (Maps, Charts, Tablix) and exported to variety of formats Directly viewed in the browser or rendered as part of an app using the Reporting Viewer controlWeb Service interface to render & manage reports

Reporting

Data Sync

Page 29: Introduction  to  Cloud Computing

Windows Azure ScenariosIdeal for Applications Needing:

ScalabilityAvailabilityFault Tolerance

Common Application Uses:

Web SitesCompute Intensive appsDevice ApplicationsWeb APIsSocial Games

Page 30: Introduction  to  Cloud Computing

Windows Azure Data CentersNorth America Region Europe Region Asia Pacific Region

6 datacenters across 3 continentsSimply select your data center of choice when deploying an

application

North Central US

South Central US

Northern Europe

Western Europe East Asia

South East Asia

Page 31: Introduction  to  Cloud Computing

Windows Azure CDN

Enables a better user experience & global reachBroad reach with 24+ locations globally 99.95% availability

Browse tocdn.customer.comGETfoo.jpg

Windows Azure Storage

Windows AzureCustomer

Container

ECN NODE 1 - LONDON

EDGE CACHING SERVERS

ECN NODE 2 - TOKYO

ECN NODE…

Page 32: Introduction  to  Cloud Computing

Windows Azure Consumption Prices

Elastic, scalable, secure, and highly available automated service platform

Compute

$0.04-0.96/hour+ Variable Instance Sizes

Per service hour

StoragePer GB stored and

transactions$0.15 GB/month

$0.01/10k transactions

Caching

128MB cache for $45/monthPer Message Operation

$1.99/10k transactionsPer Message Operation

Access Control

Prices shown in USD only. International prices are available

$3.99/month per connectionPer Message Operation

Service Bus

Windows Azure

Windows Azure Additional Services

Highly available, scalable, and self managed distributed database service

Web Edition$9.99/month

(up to 1 GB DB/month)

Per database/month

Business Edition Per database/month

Starting at $99.99/month(10-50 GB DB/month)

SQL Azure

Page 33: Introduction  to  Cloud Computing

Windows Azure Instance Sizes

Unit of Compute Defined

Variable instance sizes to handle complex workloads of any size

Small1 x

1.6Ghz (moderate IO) 1.75 GB memory

250 GB storage(instance storage)

Medium2 x

1.6Ghz (high IO)3.5 GB

memory 500 GB storage(instance storage)

Small

$0.12 Per service

hour

Medium

$0.24 Per service

hour

X-Large

$0.96 Per service

hour

Large

$0.48 Per service

hour

Large 4 x

1.6Ghz (high IO) 7.0 GB

memory1000 GB storage(instance storage)

X-Large8 x

1.6Ghz(high IO)

14 GB memory2000 GB

(instance storage)

$0.04 Per service

hour

Extra Small

Extra Small1 x 1.0Ghz(low IO)

768 MB memory 20 GB storage

(instance storage)

Page 34: Introduction  to  Cloud Computing

International Availability1. Australia2. Austria3. Belgium4. Brazil5. Canada6. Chile7. Colombia8. Costa Rica9. Czech Republic10.Cyprus11.Denmark

12.Finland13.France14.Germany15.Greece16.Hong Kong17.Hungary18.Ireland19.Israel20.India21.Italy22.Japan

23.Luxembourg24.Malaysia25.Mexico26.Netherlands27.New Zealand28.Norway29.Peru30.Philippines31.Poland32.Portugal33.Puerto Rico

34.Romania35.Singapore36.Spain37.Sweden38.Switzerland39.Trinidad/

Tobago40.UK41.USA

Page 35: Introduction  to  Cloud Computing

Windows Azure MSDN BenefitsULTIMATE PREMIUM PROFESSIONAL

Compute 1500 hrs of small instances

1500 hrs of x-small instances

750 hrs of x-small instances

Storage 30GB 25GB 20GB

Transactions 2M 1M 250K

Bandwidth 35GB out / free in 30GB out / free in 25GB out / free in

Databases 5GB Web Edition 1GB Web Edition 1GB Web Edition

Caching 128MB cache 128MB cache 128MB cache

Access Control 500K 200K 100K

Service Bus 5 connections 5 connections 2 connections

Page 36: Introduction  to  Cloud Computing

MarketplaceDiscover and purchase apps & datasets:Subscription-based access to appsApps can be paid or unpaid

App qualifications:SaaS applicationsMust be commercially availablePaid apps need to provide endpoints for provisioning & cancelation

Now available in 26 countries with support for 17 currencies

App Publishing Kit available with guidance for integrating apps in the marketplace

http://marketplace.windowsazure.com

Page 37: Introduction  to  Cloud Computing

Hvala na pažnji!Pitanja?

Domagoj Pavlešić[email protected]@domagojpawww.domagoj.pavlesic.com