Windows Azure Computing

Embed Size (px)

Citation preview

  • 8/3/2019 Windows Azure Computing

    1/16

    Microsoft Cloud Computing

  • 8/3/2019 Windows Azure Computing

    2/16

    Topics to be covered

    1. Environmental Features of windows azure

    2. What is Cloud Computing

    3. Roles in Cloud Computing

    4. Benefits of Cloud Computing

    5. Optimal Cloud workload Pattern

    6. Service Delivery Models

    7. Azure Architecture (Intro)

    1. .Net in Windows Azure

    2. PHP in Windows Azure

    3. JAVA and Tomcat in Windows Azure

    8. Cloud Application Development and Hosting

  • 8/3/2019 Windows Azure Computing

    3/16

    Environmental Features of windows azure

    Compute instance types: Web Role &

    Worker Role. Windows Azure applications

    are built with web role instances, worker

    role instances, or a combination of both.

    Each instance runs

    on its own VM

    (virtual machine),

    replicated as needed

    The Fabric Controller communicates with every serverwithin the Fabric. It manages Windows Azure, monitors

    every application, decides where new applications shouldrun optimizing hardware utilization.

    Development, service hosting, & management environment

    .NET, Java PHP, Python, Ruby, native code (C/C++, Win32, etc.)

    ASP.NET providers, FastCGI, memcached, MySQL, Tomcat

    Full-trust supports standard languages and APIs

    Secure certificate store

    Management APIs, and logging and diagnostics systems

    Multiple roles Web, Worker, Virtual Machine (VHD)

    Multiple VM sizes

    1.6 GHz CPU x64, 1.75GB RAM, 100Mbps network, 250GB volatile st

    orage

    Small (1X), Medium (2X), Large (4X), X-Large (8X)

    In-place rolling upgrades, organized by upgrade domains

    Walk each upgrade domain one at a time

    Operating system as an online service; with automated provisioning andservices management

    Maintenance OS

    Host VMGuest VM 1

    Host VM

    Guest VM 3Guest VM 2Guest VM 1

    Host VM

  • 8/3/2019 Windows Azure Computing

    4/16

    Cloud Computing Windows Azure compute provides developers a platform to host and manage applications in Microsofts

    data centers across the globe.

    Quincy, WA Chicago, IL San Antonio, TX Dublin, Ireland Generation 4 DCs

  • 8/3/2019 Windows Azure Computing

    5/16

    Cloud Computing

    A Windows Azure application is built from one or more components called

    Roles. Roles come in three different types:1. Web role,

    2. Worker role

    3. Virtual Machine (VM) role.

  • 8/3/2019 Windows Azure Computing

    6/16

    Roles in Cloud Computing

    Web Role - A Windows Azure Web role is used for hosting front-end web applications behind Internet

    Information Services (IIS).

    Worker Role - A Worker can run anything but is most commonly used to host background processingbehind a web role.

    VM Role - A VM role is a special type of role that enables you to define the configuration and updates ofthe operating system for the virtual machine. While a web role and a worker role run in a virtual machine,the VM role is the virtual machine, which gives you full control of operations. When you have long and

    complicated installations in the operating system or special setup issues, you should use this role. Thisrole is especially suited for migrating existing applications to run as hosted services in Windows Azure.This VHD is created using an on-premises Windows Server machine and then uploaded to WindowsAzure.

    More on VM

    Windows Azure Web and Worker roles enable developers to deploy and manage applications services as a

    whole as opposed to individual Virtual Machines (VMs). Its common for an application to interact with usersthrough a Web role, then hand tasks off to a Worker role for processing.

    http://www.microsoft.com/windowsazure/features/virtualmachines/http://www.microsoft.com/windowsazure/features/virtualmachines/
  • 8/3/2019 Windows Azure Computing

    7/16

    .NET in Windows AzureWeb Role and Worker Role

    Service Instance

    Service Instance

    Worker RoleWeb Role

    FabricController

    LoadBalancer

    TableStorage

    BlobStorage

    Queue

    ServiceBus

    AccessControl

    SQLDatabase

    bind port(x)

    http:

    //ins

    tance:x

    http:

    //ins

    tance:y

    http://app:80

    default.aspx

    IISRoleEntry

    Point

  • 8/3/2019 Windows Azure Computing

    8/16

    Benefits of Cloud Computing

    A great application hosting environmentSince the Windows Azure Web role is pre-configured with IIS7, its easy to create applications using ASP.NET,Windows Communication Foundation (WCF) or other web technologies. Developers can also createapplications using languages such as PHP and Java.

    Presentation ASP.NET C#, WCF, PHP, Java

    Distributed in-memory cache

    Services .NET C#, Java, native code Distributed in-memory cache Asynchronous processes Distributed parallel processes Transient file storage

  • 8/3/2019 Windows Azure Computing

    9/16

    Benefits of Cloud computing

    Focus on the application, not the operational constraintsThe automated service management provided by Windows Azure offers customers the benefits of:

    Administration: Windows Azure automatically takes care of things such as load balancing and failoverthereby reducing the effort and cost of administering the application environment.

    Availability: Windows Azure is designed to let developers build applications that are continuously available,even in the face of software upgrades and hardware failures.

    Scalability: Windows Azure enables developers to build scalable applications that run in Microsofts globaldata centers. It also allows developers to scale down applications when necessary, letting them use just theresources they need.

  • 8/3/2019 Windows Azure Computing

    10/16

    Optimal Cloud Workload Patterns

    UsageCompute

    Time

    Average

    Inactivity

    Period

    On and Off

    Compute

    Time

    Unpredictable Bursting

    Average Usage

    Average UsageCompute

    Time

    Growing Fast

    Compute

    Time

    Average Usage

    Predictable Bursting

  • 8/3/2019 Windows Azure Computing

    11/16

    Benefits of Cloud computing

    Enable communication between role instancesThe role instances in a hosted service communicate through internal and external connections that varydepending on the type of communication that is needed. Role instances can make these connections byusing HTTP, HTTPS and Microsoft .NET APIs for TCP/IP sockets. An external connection is called an inputendpoint, and an internal connection is called an internal endpoint. Endpoints are associated with ports,where the external endpoint is associated to a port that you define, and the internal endpoints aredynamically assigned ports by Windows Azure.

    Start tasks before role instances start

    You can use startup tasks to perform operations before the role instances start. Operations that you mightwant to perform include installing a component, registering COM components, setting registry keys, orstarting a long running process. You add startup tasks to the role by defining the tasks in theServiceDefinition.csdef file.

  • 8/3/2019 Windows Azure Computing

    12/16

    Benefits of Cloud computing

    Flexible instances sizes to meet your application needsEach Windows Azure compute instance represents a virtual server. Although many resources are dedicated toa particular instance, some resources associated to I/O performance are shared among the computeinstances on the same physical host.

    Compute instance sizes with a high I/O performance indicator as noted in the table will have a largerallocation of the shared resources. Having a larger allocation of the shared resource will also result in moreconsistent I/O performance.

    Compute Instance

    SizeCPU Memory Instance Storage I/O Performance Cost Per Hour

    Extra Small 1.0 GHz 768 MB 20 GB Low $0.04

    Small 1.6 GHz 1.75 GB 225 GB Moderate $0.12

    Medium 2 x 1.6 GHz 3.5 GB 490 GB High $0.24

    Large 4 x 1.6 GHz 7 GB 1,000 GB High $0.48

    Extra Large 8 x 1.6 GHz 14 GB 2,040 GB High $0.96

  • 8/3/2019 Windows Azure Computing

    13/16

    Benefits of Cloud Computing

    BUSINESSDEMANDS TECHOLOGYDEMANDS WINDOWS AZUREPLATFORM OFFERS

    Cost-effective solution to manage IT resources Less infrastructure to buy/configure and support Lower TCO Predictable cost

    Focus on delivering compelling softwarenoton managing infrastructure

    Monetize new offering quickly withoutinvestment in billing and other enablementtechnologies.

    Speed of development Interoperability Leverage existing IP

    Simplified deployment Scale up or down as business needs change Go to market faster

    Reliable service SLAs Security Global data centers

    Lower costs Efficiency

    StayCompetitive

    Innovation

    AgilityGenerate New

    Revenue Quickly

    ReliabilityReduced

    Risk

  • 8/3/2019 Windows Azure Computing

    14/16

    (On-Premise)

    Infrastructure(as a Service)

    Platform(as a Service)

    Service Delivery Models

    Storage

    Servers

    Networking

    O/S

    Middleware

    Virtualization

    Data

    Applications

    Runtime

    Storage

    Servers

    Networking

    O/S

    Middleware

    Virtualization

    Data

    Applications

    Runtime

    Youmanage M

    anaged

    byvendor

    Ma

    nagedbyvendor

    Youma

    nage

    Youmanage

    Storage

    Servers

    Networking

    O/S

    Middleware

    Virtualization

    Applications

    Runtime

    Data

    Software(as a Service)

    Managedbyve

    ndor

    Storage

    Servers

    Networking

    O/S

    Middleware

    Virtualization

    Applications

    Runtime

    Data

  • 8/3/2019 Windows Azure Computing

    15/16

    Service Instance

    Service Instance

    Web Role

    PHP in Windows Azure

    FabricController

    LoadBalancer

    TableStorage

    BlobStorage

    Queue

    ServiceBus

    AccessControl

    SQL

    Database

    bind port(x)

    http:

    //ins

    ta

    nce:x

    http:

    //ins

    ta

    nce:y

    http://app:80

    index.php

    Web Role and IIS/FastCGI with Native Runtime

    php-cgi

    IIS

    FastCGI

  • 8/3/2019 Windows Azure Computing

    16/16

    Service Instance

    Service Instance

    Worker Role

    Java and Tomcat in Windows Azure

    RoleEntryPoint

    Sub-Process

    JVM

    Tomcat

    server.xmlCatalina

    FabricController

    LoadBalancer

    TableStorage

    BlobStorage

    Queue

    ServiceBus

    AccessControl

    SQL

    Database

    new Process()

    bind port(x)

    http:

    //ins

    ta

    nce:x

    http:

    //ins

    ta

    nce:y

    listen port(x)

    http://app:80

    get

    runtime

    info

    index.jsp

    Worker Role and Sub-Process Invoking Native Code

    http://en.wikipedia.org/wiki/File:Tomcat.png