Cloud Computing & Windows Azure

Post on 24-Jun-2015

1.452 views 2 download

Tags:

Transcript of Cloud Computing & Windows Azure

1Colombo .NET User Group (CDNUG)

Chandana N. Athauda,Microsoft MVP

Email : chandana@yeschandana.com Blog : http://www.yeschandana.com

Cloud Computing & Windows Azure

~07th of May 2009

2Colombo .NET User Group (CDNUG)

What is Cloud? Why Cloud Architectures? Business Benefits of Cloud Architectures. Examples of Cloud Architectures. What Should The Cloud OS Provide? What Is Windows Azure? Deploy to Staging and Production. Current Cloud Computing Market.

Agenda

3Colombo .NET User Group (CDNUG)

Cloud computing is a style of computing in which dynamically scalable and often virtualized resources are provided as a service over the Internet. Users need not have knowledge of, expertise in, or control over the technology infrastructure "in the cloud" that supports them.

A set of connected servers On which developers can:

Install and run services Store and retrieve data

What is the Cloud?

4Colombo .NET User Group (CDNUG)

Cloud Architectures address key difficulties surrounding large-scale data processing. In traditional data processing it is difficult to get as many machines as an application needs.

It is difficult to get the machines when one needs them.

It is difficult to distribute and coordinate a large-scale job on different machines, run processes on them, and provision another machine to recover if one machine fails.

Cont..

Why Cloud Architectures?

5Colombo .NET User Group (CDNUG)

It is difficult to auto scale up and down based on dynamic workloads. It is difficult to get the machines when one needs them.

It is difficult to get rid of all those machines when the job is done.

Why Cloud Architectures?

6Colombo .NET User Group (CDNUG)

Almost zero upfront infrastructure investment. Just-in-time Infrastructure. More efficient resource utilization. Usage-based costing. Potential for shrinking the processing time.

Business Benefits of Cloud Architectures

7Colombo .NET User Group (CDNUG)

Processing Pipelines Document processing pipelines Image processing pipelines Video transcoding pipelines Indexing – create an index of web crawl data Data mining

Batch Processing Systems Back-office applications Log analysis Nightly builds

Cont…

Examples of Cloud Architectures

8Colombo .NET User Group (CDNUG)

Websites Websites that “sleep” at night and auto-scale

during the day. Instant Websites – websites for conferences or

events (FIFA 2009, Super Bowl, T20 World Cup) Promotion websites “Seasonal Websites” - websites that only run

during the tax season or the holiday season (New Year or Christmas)

Examples of Cloud Architectures

9Colombo .NET User Group (CDNUG)

What Should The Cloud OS Provide?

The same facilities that a desktop OS provides, but

on a set of connected servers:

Abstract execution environment

Shared file system

Resource allocation

Programming environments

And more: Utility computing

24/7 operation

Pay for what you use

Simpler, transparent administration

10Colombo .NET User Group (CDNUG)

What Is Windows Azure? It is an operating system for the cloud

It is designed for utility computing

It has four primary features:

Service management

Compute

Storage

Developer experience

11Colombo .NET User Group (CDNUG)

The Azure Platform

12Colombo .NET User Group (CDNUG)

The Azure Platform

13Colombo .NET User Group (CDNUG)

The “cloud” in Cloud Services?

Think data-center somewhere on the internet.

Allows you to run your applications.

Allows you to read and write data.

14Colombo .NET User Group (CDNUG)

Ok. So what’s Windows Azure?

Microsoft’s “cloud”

Every cloud has an Azure lining?

Custom version of Windows

Optimized for utility computing applications

Always runs virtualized on the Azure Fabric

Azure Fabric

Runs instances of your apps

Handles “everything”

Azure Storage

Azure SDK for Visual Studio

15Colombo .NET User Group (CDNUG)

Steps to setup Windows Azure Dev Environement

Install Microsoft .NET Framework 3.5 SP1.

Install IIS7 with ASP.NET/CGI.

Install Visual Studio 2008 with SP1.

SQL Server 2005 Express Edition (or above).

Enable WCF HTTP activation via Service Manager.

(http://msdn.microsoft.com/en-us/library/dd179419.aspx)

Install Hotfix: Improve Visual Studio Stability.

(http://www.microsoft.com/downloads/details.aspx?FamilyID=2f692251-2b48-

4839-90fb-fb707381cb24&displaylang=en )

Cont…

16Colombo .NET User Group (CDNUG)

Steps to setup Windows Azure Dev Environement

Install KB967631: Update for Visual Studio 2008 SP1

Debugger.

(http://code.msdn.microsoft.com/KB967631/Release/ProjectReleases.aspx?

ReleaseId=2385 )

Install Hotfix: Support for FastCGI on the

Development Fabric.( Windows6.0-KB963676-

x86.msu = Vista )

(https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?

DownloadID=16827&wa=wsignin1.0 )

Install Windows Azure Software Development Kit

(March 2009 CTP).

(http://www.microsoft.com/downloads/details.aspx?FamilyID=b44c10e8-425c-

417f-af10-3d2839a5a362&displaylang=en )

17Colombo .NET User Group (CDNUG)

Steps to setup Windows Azure Dev Environement

Windows Azure Tools for Microsoft Visual Studio

March 2009 CTP. (http://www.microsoft.com/downloads/details.aspx?

FamilyID=59e8fc0c-c399-4ab7-8a93-882d8e74b67a&displaylang=en )

Open Visual Studio 2008: New –> Project –> Cloud

Services –> Web Cloud Service

Write Hello World code in the Default.aspx

Publishing Service Project / Deploying /Uploading to

the Windows Azure clouds.

Hit RUN

18Colombo .NET User Group (CDNUG)

Azure: The Developer View Write it in Visual Studio

New project types

Debug your code

.NET, ASP.NET, WCF, IIS7, LINQ

Azure Storage

Database in the cloud

Desktop development versions of

Azure Fabric

Azure Storage

19Colombo .NET User Group (CDNUG)

Cloud Computing Market[SaaS, PaaS, IaaS)

Amazon : Amazon Web Services (AWS)

EC2, SimpleDB, C3, CloudFront, etc

Google AppEngine

Microsoft Azure

SlaesForce (CRM on Cloud – SaaS)

GoGrid

VMWare

20Colombo .NET User Group (CDNUG)

Bibliography:

Microsoft Windows Azure White Papers

Amazon AWS Cloud Architecture White Paper

21Colombo .NET User Group (CDNUG)

Q & A

22Colombo .NET User Group (CDNUG)

END