Docstoc

Cloud Computing with Windows Azure

Document Sample
Cloud Computing with Windows Azure Powered By Docstoc
					Cloud Computing with Windows Azure




                         arie leeuwesteijn
                   microsoft netherlands
                   ariele@microsoft.com
                               @arieleeuw
                  a definition



cloud computing
                                 IT as a Service

INFRASTRUCTURE                       SOFTWARE
  AS A SERVICE                        AS A SERVICE




                 PLATFORM
                  AS A SERVICE
                                  Cloud types
    Private              Infrastructure                Platform
(On-Premise)             (as a Service)             (as a Service)
   Applications             Applications             Applications

     Runtimes                 Runtimes                 Runtimes

Security & Integration   Security & Integration   Security & Integration


    Databases                Databases                Databases

      Servers                  Servers                  Servers

   Virtualization           Virtualization           Virtualization

    Server HW                Server HW                Server HW

      Storage                  Storage                  Storage

    Networking               Networking               Networking
                             azure platform

Web role   Worker role
Instance    Instance
                                   AppFabric
Web role   Worker role
Instance    Instance

    Computing
                                               SQL
                                               Azure



                         Storage




                                   Client
azure development
Azure development
                  azure development
.Leverage     existing .NET, Java, PHP skills
.Addition API’s
.Microsoft.WindowsAzure.ServicesRuntime
.Microsoft.WindowsAzure.Diagnostics
.Microsoft.WindowsAzure.CloudStorageClient

.Tools and API’s for Visual Studio, Eclipse PHP and Java
.Web based standards (XML, REST, HTTP)
           Azure management portal




.Built on the Windows Azure Service management APIs
.Admins can use powershell
                            Virtual Machines
Instance Size    CPU        Memory     Instance           I/O         Price
                                        Storage      Performance
Extra Small     1.0 GHz      768 MB     20 GB            Low       $.05 per hour
Small           1.6 GHz      1.7 GB     225 GB         Moderate    $.12 per hour
Medium            2 x 1.6    3.5 GB     490 GB           High      $.24 per hour
Large               GHz
                  4 x 1.6      7 GB    1000 GB           High      $.48 per hour
Extra Large         GHz
                  8 x 1.6     14 GB    2040 GB           High      $.96 per hour
                    GHz




Usage is based on availability of VM even when it is stopped
Delete deployment when application is not used
                               azure platform

Web role   Worker role
Instance    Instance
                                   AppFabric
Web role   Worker role
Instance    Instance

    Computing
                                               SQL
                                               Azure



                         Storage




                                   Client
           compute




.each instance runs on its own vm
....different vm sizes available
.replicated as needed
              Comparison of Role Types
.Web Role : The role is hosted on IIS

.Worker Role : The role is an executable (you can create your
own web server, host a database, …)

.VM Role : The role is the VM
.Use Windows services, scheduled tasks, etc.
.You configure and maintain the OS.


                                      Admin
                     Web /
                                      Web /
                     Worker                    VM Role
                                      Worker
                      Role
                                       Role
Abstraction
                                                         Control
(i.e. Less IT & Less Plumbing Code)
                                            Service Models
.Windows Server 2008 R2 & IIS 7.5
.Web Role will use full IIS by default
.One Web role can run many Web sites
.Multiple sites, applications, virtual directories
.Everything else can be scripted (using admin access where necessary)

.Admin Access: Full administrative access to your
role instances
.Startup Tasks: scripts that automate the preparation and configuration of
roles
.Role Plugins: Ability to easily include “plug-ins” in the service definition (e.g.,
Built-in: Remote Desktop, virtual network, diagnostics)
                VM Role Lifecycle
                    Identical/similar deployment instances using
                 common uploaded OS image (base.VHD + diff.VHD)
         Base
         VHD




                   Blob
                  Storage




On-Premises     Cloud
                VM Role – Overview
.Developers have full control over the OS image
.Ability to upload your own customized WS08R2
Enterprise images
.Operators can reboot, re-image and Remote
Desktop
.Continue to benefit from automated service
management, including service model
enhancements described on subsequent slides
                     Remote Desktop
.Portal-integrated Remote Desktop access to instances
within your deployment
.Use standard Remote Desktop client
.Support for all three role types – Web, worker, and
VMs
.Ability to take instances on/off the load balancer for
debugging
                               Azure platform

Web role   Worker role
Instance    Instance
                                   AppFabric
Web role   Worker role
Instance    Instance

    Computing
                                               SQL
                                               Azure



                         Storage




                                   Client
          storage




.REST and client library access
        .NTFS APIs for drives
          .uses 512 bit secret
                           blob concepts
                   Account root container


      Named container                Named container


     Blob           Blob           Blob             Blob



.metadata <name, value> pairs, up to 8KB per blob
.block and page blob
...size limit depends of blob type
                                  blob concepts
                                    ariestorage



                  movies                                      pictures



     movie1.wmv            movie2.wmv             pict1.jpg              web/pict2.jpg




http://ariestorage.blob.core.windows.net/pictures/pict01.jpg

http://ariestorage.blob.core.windows.net/pictures/web/pict2.jpg

                                                                              Sample
                                       blob access
.Anonymous access for public downloadable and cacheable content




.Shared Access Signature (SAS) -> time limited, uniquely generated URLs




                                                                          Sample
                                             tables



.each entity can have up to 255 properties
.each property is stored as a <name, typed value> pair
.each entity requires a PartitionKey & RowKey
.transactions within partitions only
.no fixed schema
.continuation token for query results > 1000 entries

                                                         Sample
                                partitions
PartitionKey   RowKey                     Timestamp    ReleaseDate
PartitionKey   RowKey                     Timestamp    ReleaseDate
(Category)     (Title)
(Category)     (Title)
Action         Fast & Furious
               Fast & Furious             …
                                          …            2009
                                                       2009

Action         The Bourne Ultimatum       …            2007

…              …
               …                          …
                                          …            …
                                                       …
…
Animation      Open Season 2              …            2009
Animation      Open Season 2              …            2009
Animation      The Ant Bully              …            2006
Animation      The Ant Bully              …            2006

Comedy
PartitionKey   Office Space
               RowKey                     …Timestamp   1999
                                                       ReleaseDate
(Category)     (Title)
…              …                          …            …
Comedy         Office Space                …           1999

SciFi          X‐Men Origins: Wolverine
               …                          ……           2009
                                                       …
…
SciFi
…              X‐Men Origins: Wolverine
               …                          ……           2009
                                                       …

…              …
               Defiance                   ……           …
                                                       2008
War
War            Defiance                   …            2008
                                      queues




.messages can be up to 8KB
.many workers may consume the queue
.queue names must be in lowercase
          working with queues



.message placed in queue
.worker de-queues message
...message is marked as invisible for a specified time
...worker deletes message when finished processing it
.message may be processed more than once
...make message processing idempotent
messages put into queue may be processed in any order
                           drive
         .provides a durable NTFS
         volume

         .page blob mounted over the
         network as an NTFS drive

         .accessed through existing
         NTFS APIs to access

         .local storage for cache to
         serve reads

Sample
                                     local storage



.

    temporary storage
    .per instance
    .configurable to delete on recycle
    .always deletes on node shutdown
    .part of the VM (no additional charges)
                storage options
Azure Table     Large volumes of structured data

Azure Blob      Large volumes of unstructured data

Azure Drive     NTFS Drive

Local Storage   Temporary work data

Azure Queue     Service Communication

SQL Azure       Relational Database, 50GB limit
                               azure platform

Web role   Worker role
Instance    Instance
                                   AppFabric
Web role   Worker role
Instance    Instance

    Computing
                                               SQL
                                               Azure



                         Storage




                                   Client
                                                              Service
                                                                 Bus


•   Exchange messages between loosely coupled applications
•   Network send/receive from any internet connected device
•   Traverse NAT/Firewall
•   Message buffering for loosely connected applications
•   Pub-Sub scenario’s
•   Facilitate direct peer-to-peer connection
•   Based on WCF using industry standard protocols
•   REST, SOAP, WS-* and TCP/IP
       Azure AppFabric Caching
• Simple provisioning with zero configuration
• Quickly benefit from the out-of-the-box
  ASP.NET providers
  – Session state
  – Page output caching
• Unleash the power …
  – Use local cache for reference data
  – Eliminate the need and cost of persisting transient
    data in the data-tier
          Acces Control Service
Federation of configured Identity providers
.Windows LiveID, .Active Directory, Google,Yahoo,etc

Rules and mapping of claims
             Windows Azure Connect

.Secure network connectivity between Windows Azure & on-premise
resources
.Quickly connect on-premise computers with the cloud, no networking
configuration required
.Supports standard IP protocols; secured using end-to-end IPSec
.Integrated with the Windows Azure Service Model; all role types
supported
           Windows Azure Connect

Example use cases:
   Enterprise Resources: Enable Windows Azure applications to
   connect directly to on-premises resources without re-designing to
   be Internet accessible (e.g., SQL Server)
   Domain-Join: Join Windows Azure apps to on-premises Active
   Directory; control access to Windows Azure roles based on
   existing AD accounts and groups
   Simplified Development: Directly connect from your
   development machines to your Windows Azure instances, use
   your favorite tools for configuring and debugging
   Remote Administration: Use your existing tools for remote
   administration tasks directly against your Windows Azure
   instances (e.g., remote PowerShell)
Developing Applications for the Cloud on the
       Microsoft Windows Azure™ Platform
         http://msdn.microsoft.com/en-us/library/ff966499.aspx

    Moving Applications to the Cloud on the
      Microsoft Windows Azure™ Platform
         http://msdn.microsoft.com/en-us/library/ff728592.aspx
                                     more azure

28-29 April 2011, Congres centrum, den Haag

27 April Azure pre-conference
Includes:
-Pluralsight virtual training session
-1 month access to Pluralsight on-demand training material
-1 month access to Windows Azure
-1 day pre-conference training

www.devdays.nl
   Thank you!




arie leeuwesteijn
microsoft netherlands
ariele@microsoft.com
@arieleeuw
drive

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:4
posted:3/11/2012
language:English
pages:44