44

Windows Azure Camps - Oktober 2012

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Windows Azure Camps - Oktober 2012
Page 2: Windows Azure Camps - Oktober 2012

Windows Azure Camps

Power point template by Colin Eberhardt

Page 3: Windows Azure Camps - Oktober 2012

Agenda

Cover basics of cloud computing

Get into details about Azure, how its built and how you can make use of it

Learn about how to get started

Deploy a Web site

Get started with storage

Page 4: Windows Azure Camps - Oktober 2012

Who am I

Einar Ingebrigtsen

[email protected]@einari

http://blog.dolittle.comhttp://www.ingebrigtsen.info

Page 5: Windows Azure Camps - Oktober 2012

The cloud

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

Page 6: Windows Azure Camps - Oktober 2012

On and off

Patterns

Usage

Com

pu

te

Time

Average

Inactivity

Period

Growing fast

Unpredictable bursting Predictable bursting

Average UsageCom

pu

te

Time

Com

pu

te

Average Usage

Time

Com

pu

te

Time

Average Usage

Page 7: Windows Azure Camps - Oktober 2012

Cloud Services

IaaSInfrastructure-as-a-Service

SaaSSoftware-as-a-Service

PaaSPlatform-as-a-Service

Page 8: Windows Azure Camps - Oktober 2012

Cloud Services

IaaS SaaSPaaSPackaged

Applications

Data

Runtime

O/S

Virtualization

Servers

Storage

Networking

Applications

Data

Runtime

O/S

Virtualization

Servers

Storage

Networking

Applications

Data

Runtime

O/S

Virtualization

Servers

Storage

Networking

Applications

Data

Runtime

O/S

Virtualization

Servers

Storage

Networking

Page 9: Windows Azure Camps - Oktober 2012

Windows Azure

Flexible Open Solid

Page 10: Windows Azure Camps - Oktober 2012

Windows Azure

99.95% Monthly SLA

Page 11: Windows Azure Camps - Oktober 2012

Legal

You own the data

Region based

Page 12: Windows Azure Camps - Oktober 2012

Pricing

Pay only for what you use

Page 13: Windows Azure Camps - Oktober 2012

Pricing – Instance Sizes

http://www.windowsazure.com/en-us/pricing/calculator/

Unit of Compute Defined

Variable instance sizes to handle complex workloads of any size

Small

1 x 1.6Ghz (moderate IO)

1.75 GB memory 225 GB storage

(instance storage)

Medium

2 x 1.6Ghz (high IO)

3.5 GB memory 490 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-Large

8 x 1.6Ghz(high IO)

14 GB memory2040 GB

(instance storage)

$0.02 Per service hour

Extra Small

Extra Small

1 x 1.0Ghz(low IO)

768 MB memory 20 GB storage

(instance storage)

Page 14: Windows Azure Camps - Oktober 2012

Windows Azure

Global Footprint

Page 15: Windows Azure Camps - Oktober 2012

.net developers

Page 16: Windows Azure Camps - Oktober 2012

VM Sizes

Extra Small Shared 1.0 GHz 768M 20GB .02

Small 1 1.6 GHz 1.75GB 225GB .12

Medium 2 1.6 GHz 3.5GB 490GB .24

Large 4 1.6 GHz 7GB 1,000GB .48

Extra large 8 1.6 GHz 14GB 2,040GB .96

Supports Various VM SizesSize set on Role in Service Definition - All instances of role will be of equal size Service can have multiple rolesBalance of Performance per node vs. High Availability from multiple nodes

Page 17: Windows Azure Camps - Oktober 2012

Cloud ready

More small instances == more redundancy

Some scenarios will benefit from more coresWhere moving data >$ parallel overheadE.g. Video processing, Stateful services (DBMS)

Don’t just throw big VMs at every problem

Scale out architectures have natural parallelism

Test various configurations under load

Page 18: Windows Azure Camps - Oktober 2012
Page 19: Windows Azure Camps - Oktober 2012

Windows Azure

Virtual machines Web sitesCloud services

Page 20: Windows Azure Camps - Oktober 2012

Virtual Machines

Windows ServerLinuxFlexible Workload SupportVirtual Private Networking

Page 21: Windows Azure Camps - Oktober 2012

Windows Azure

Virtual Machines

Other Service Providers

Your Data Center

Page 22: Windows Azure Camps - Oktober 2012

Cloud services

Compute Storage AppFabric

Page 23: Windows Azure Camps - Oktober 2012

Deployment

ServicePackage

Page 24: Windows Azure Camps - Oktober 2012

Deployment

ServicePackage

Virtual machine

Virtual machine

Virtual machine

Virtual machine

Page 25: Windows Azure Camps - Oktober 2012

Roles

Inherits RoleEntryPoint

OnStart() Method

Run() Method

OnStop() Method

Page 26: Windows Azure Camps - Oktober 2012

Role Lifecycle

Page 27: Windows Azure Camps - Oktober 2012

Worker role

Queue Polling WorkerPoll and Pop Messages within while(true) loopE.g. Map/Reduce pattern, background image processing

Listening Worker RoleCreate TcpListener or WCF Service HostE.g. Run a .NET SMTP server or WCF Service

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

Page 28: Windows Azure Camps - Oktober 2012

Web Role

All features of a worker role + IIS 7 or 7.5ASP.NET 3.5 SP1 or 4.0 – 64bitHostsWebforms or MVCFastCGI applications (e.g. PHP)Multiple Websites

Http(s)Web/Worker HybridCan optionally implement RoleEntryPoint

Page 29: Windows Azure Camps - Oktober 2012

Storage

Durable, scalable, availableSQL AzureBlobsDrivesTablesQueuesAll available through REST services

Page 30: Windows Azure Camps - Oktober 2012

Storage

Page 31: Windows Azure Camps - Oktober 2012

SQL

Relational SQL Server Engine in the CloudClustered for high availabilityFully managed serviceSQL Reporting support

Page 32: Windows Azure Camps - Oktober 2012

Blob storage

Highly available, scalable and secure file systemBlobs can be exposed publically over httpContinuous geo-replication across datacenters

Page 33: Windows Azure Camps - Oktober 2012

Web sites

Highly available, scalable and secure file systemBlobs can be exposed publically over httpContinuous geo-replication across datacenters

Page 34: Windows Azure Camps - Oktober 2012

Web sites

Build(ASP.net, Node.js or PHP)

Deployed(Configure, scale)

Commit(Git, TFS)

Page 35: Windows Azure Camps - Oktober 2012

Web sites

Free10 Web Sites – freeOnly one instancePay for bandwidth

ReservedUp to 20 instancesDedicated VMsSupports S,M and L instances

SharedUp to 20 instancesCPUs shared with others

Page 36: Windows Azure Camps - Oktober 2012
Page 37: Windows Azure Camps - Oktober 2012

Labs

Web Sites

VS2010 + GIThttp://tinyurl.com/azureWebSites

VS2012 + TFShttp://tinyurl.com/azureWebSitesTFS

VS2012 + GIThttp://tinyurl.com/azureWebSites2012

Storage

Exploringhttp://tinyurl.com/exploringStorage

SQLhttp://tinyurl.com/sqlAzureIntro

Need more labs…

ServiceBus Messaginghttp://tinyurl.com/serviceBusMessaging

Access Control Servicehttp://tinyurl.com/accessControlService

Page 38: Windows Azure Camps - Oktober 2012

Application building blocks

StorageBig data

Caching

CDN

Database

Identity

Media

Messaging

Networking

Traffic

Page 39: Windows Azure Camps - Oktober 2012

Application building blocks

http://www.windowsazure.com/en-us/develop/overview/

Page 40: Windows Azure Camps - Oktober 2012

Application building blocks

http://github.com/windowsazure

Page 41: Windows Azure Camps - Oktober 2012

Demo App

http://github.com/einari/GadgetShop

Page 42: Windows Azure Camps - Oktober 2012

Summary

Windows Azure provides a comprehensive set of services that you can selectively compose to build your cloud appsGlobal Data Center Footprint99.95% Monthly SLA. Pay only for what you use.

Flexible & Open Compute OptionsVirtual Machines, Web Sites, & Cloud Services

Managed Building Block ServicesSQL Database, Cache, Service Bus, & more

http://WindowsAzure.com

Page 43: Windows Azure Camps - Oktober 2012

Thanks for your

attention

Page 44: Windows Azure Camps - Oktober 2012