• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
A Lap Around Azure
 

A Lap Around Azure

on

  • 4,906 views

My "A Lap Around Azure" presentation from the Microsoft TechDays event in London on 15th April 2010

My "A Lap Around Azure" presentation from the Microsoft TechDays event in London on 15th April 2010

Statistics

Views

Total Views
4,906
Views on SlideShare
4,898
Embed Views
8

Actions

Likes
1
Downloads
118
Comments
0

1 Embed 8

http://www.slideshare.net 8

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • WA - £56 per month for 1 node, which is £637 per yearSA – 20pence per day*Approximate – lots of assumptions, blah blah

A Lap Around Azure A Lap Around Azure Presentation Transcript

  • SESSION CODE: Thur 16:15
    A Lap Around the Azure Platform
    David Gristwoood
    Application Architect
    Microsoft
    blogs.msdn.com/david_gristwood
    @ScroffTheBad
  • Many Screens and a Cloud
  • The Azure Philosophy
  • Azure is about Scale
    • Azure is designed from the ground up for true Internet scale
    • Global presence
    • Ride the “network effect”
    • LinkedIn: 16 months for first million users, 11 days for most recent million
    • Facebook: 5 years to hit 250m users, 8 months to double
    • Scale up and scale down
    • Supports the “Scale Fast, Fail Fast” model
    www.flickr.com/photos/januszbc/1776184496
  • Characteristics of Azure Applications
    “Scale & Elasticity”
    • Need massive scale
    • Need high reliability
    • Have variable load
    • Have short or unpredictable lifetime
    • Concert ticket sales
    http://www.flickr.com/photos/39919537@N06/3666813048
  • Helps Your Systems Scale
    • Most architecture is hidden inside code
    • Azure encourages you to define your application into constituent parts
    • Azure can scale the parts of your application as appropriate
    www.flickr.com/photos/39818355@N00/2128626176
  • Flexible Architecture
    • Systems evolve over time
    • Cloud is not an “all or nothing” proposition
    • Azure makes it easier to extend to the cloud
    www.flickr.com/photos/tomkpunkt/3695066577
  • Natural Platform Evolution
    • Windows Server 2008
    • Virtualisation
    • Windows Services, such as IIS, logging, diagnostics, etc
    • Visual Studio & .NET, ADO.NET, WCF Data Services, MVC, etc
  • Flexible Business Model
    • No up front hardware purchase
    • Pay as you go costing model
    • Ideal in current economical climate
    www.flickr.com/photos/cleebster/2508660124
  • The Big Picture
  • The Azure PlatformThe Big Picture
    AppFabric
    SQL Azure
    Applications
    Windows Azure
    Applications
    Others
    Mobile
    Desktop
    Server
  • Application
    Compute
    Storage
    Fabric
    Config
    AppFabric
    Applications
    SQL Azure
    Windows Azure
    Applications
    Mobile
    Desktop
    Server
    Others
  • Azure Building Blocks
  • Windows Azure Platform for Application Developers
    Code
    Software Development Kit
    Portal
    Data
    Relational
    Data
    Api
    Develop
    Run
    Deploy
  • Software Development Kit (SDK)
    Local Machine
    Windows Azure Simulation Environment
    Development Storage
    SQL Server Express
    Development Fabric
  • Azure Compute Building Blocks
    Worker Role
    Web Role
    System Host
    IIS Host
    Your Code
    Your Code
  • Windows Azure Roles
    Your role class typically derives from RoleEntryPoint represents role
    Do initialization in OnStart()
    Do work in Run()
    You call into RoleEnvironmentto enumerate roles, endpoints, etc
    You get called in response to changes in the number of instances in the service
    Can force restart
  • Demo #1 Azure Compute
  • Azure Storage Building Blocks
    Storage
    Queue
    Blobs &Drives
    Account
    Tables
  • Windows Azure Blobs
    Provide simple interface for storing named files along with metadata for the file
    Blobs
    Containers
    Photo1.png
    Photo2.png
    Pictures
    Photo3.png
  • Windows Azure Blobfeatures
    REST based API
    myaccount.blob.core.windows.net/mycontainer/myblob
    PutBlob, GetBlob, DeleteBlob, CopyBlob, SnapshotBlob, LeaseBlob, etc
    Block Blob for streaming + commit-based writes
    Sequence of blocks, size limit 200GB per blob
    Page Blob for random read/write
    Array of pages, size limit 1TB per blob
  • Windows Azure Drives
    Page Blob formatted as a NTFS single volume Virtual Hard Drive (VHD)
    NTFS APIs providing durable file storage
    Drives can be up to 1TB, up to 16 can be mounted
    Can upload VHD via Page Blob then mount
    Offers
    Ease migration of existing Windows applications to Azure
    Durability and survival of data on application failover or hardware failure
  • Windows Azure Tables
    Structured storage via entities, containing sets of properties
    Entities
    Tables
    Genre = …
    Title = …
    Movies
    Genre = …
    Title = …
    Actors
    Name = …
    DOB = …
  • Windows Azure Tables
    Provides Massively Scalable Structured Storage
    Billions of entities (rows) and TBs of data
    Familiar and Easy to use API
    WCF Data Services, LINQ
    Each entity can have up to 255 properties
    PartitionKey & RowKey as key and index
    Timestamp for optimistic concurrency
    No fixed schema for all other properties
    Property is stored as a <name, typed value> pair
  • Windows Azure Tables
    MyTable1
    Entity: Sports Car
    Entity: Car
    Entity: Customer
  • Table Partitions and Rows
  • Windows Azure Queues
    Provide reliable storage and delivery of messages
    Messages
    Queues
    “Body1”
    “Body2”
    ThumbnailJobs
    “Body3”
  • Common Azure Pattern
    Worker Role
    Web Role
    Queue
    Storage
    Blob
    Storage
  • Demo #2 Azure Storage
  • Azure Features
  • Service Management API
    Provide Lights-Out Service Management
    Manage services programmatically via REST-based API
    X509 client certificates for authentication
    Viewing, creating, deleting, swapping, modifying configuration settings, etc on deployments
  • Windows Azure Diagnostics
    Cloud is much harder than single server
    Dynamic environment, no local access
    Azure Diagnostics built for monitoring & data collection
    Focus on what to collect and when
    Designed for Azure
    Based on standard APIs
    Traces, logs, crash dumps, IIS logs, perfcounters, ETW, etc
    Upload to Azure storage as required
    Logging & Diagnostics
  • Service Management CmdLets
    PowerShell cmdlets wrapping Azure Service Management and Diagnostics API
    Simple to script out deployments, upgrades, scaling
    • Deploy new services
    • Upgrade services
    • Manage storage accounts
    • Transfer diagnostics information
    • etc
  • Service Upgrade Models
    Rolling upgrade (aka “In-place”)
    Roles are updated across update domains one at a time
    Service remains available during upgrade
    Real-time hot swap (aka “VIP Swap”)
    Virtual IP swap between staging & production
    Swap service endpoints of old/new version
    Enables complex architectural changes
    Planned downtime
    Stop and replace service with new version
  • Content Delivery Network (CDN)
    Better performance and user experience by caching Azure blobs at strategically placed locations
    18 locations globally (United States, Europe, Asia, Australia and South America) and growing
    Content Delivery Network
    Edge Location
    Edge Location
    pic1.jpg
    Edge Location
    Windows Azure Blob Service
    pic1.jpg
  • SQL Azure
  • SQL Azure & SQL Server
    “Database as a Service”
    Similarities
    “Just change the connection string”
    Scalable, reliable, robust, technology
    Same SQL Server core database service & TDS
    Differences
    Supports subset of SQL Server 2008
    Limited to 1Gb or 10Gb* database
    Different pricing model
    No Reporting Services, Analysis Services, etc
  • SQL Azure Application Architectures
    SQL Azure access from outside the cloud
    SQL Azure access from
    within the cloud
    Application / Tools
    Application/ Browser
    SOAP/REST
    HTTP/S
    Web Role
    Windows Azure
    T-SQL (TDS)
    T-SQL (TDS)
    SQL Azure
    SQL Azure
    “Code Far”
    “Code Near”
  • SQL Azure Roadmap
    Service Update 2
    Multiple Active Result Sets (MARS)
    Service Update 3
    50 Gb Databases, Spatial support
    Incubation
    Project “Houston” – new SQL Azure web administration tool
    Codename “Dallas” – information as a service
    ODataservice on top of SQL Azure
  • OData“ODBC for the Internet”
    • Uniform way of representing data, URL conventions and operations
    • Auto generation of OData for SQL Azure
    OData Consumers
    Session
    Reports
    Dashboard
    Forms
    Apps
    Browser
    Open Data Protocol
    Batching, Versions
    Format
    R/W
    Query&[Uri]
    +
    +
    +
    Metadata
    ?
    OData Producer
  • Codename “Dallas”
    Information as a Service
    GIS/Spatial, traffic, film show times, crime, financial data, navigation, census data, housing, etc…
    Commercial, official government, trusted public
    Find, Subscribe, Interact
    Atom 1.0, RAW
    Data Consumer
    Data Provider
  • Demo #3 SQL Azure
  • Windows Azure AppFabric
  • “Infrastructure to help build and manage applications more easily”
    Windows ServerAppFabric
    Caching capabilities (was “Velocity”)
    Workflow + service hosting (was “Dublin”)
    Windows AzureAppFabric(was “.NET Services”)
    Service Bus
    Access Control
  • AppFabric Service Bus
    Exposing internal applications on the Internet isn’t easy
    Network address translation (NAT) and firewalls get in the way
    The Service Bus provides
    Intermediary between clients and applications
    Service registry that clients can use to find the services they need
  • Wrap Up
  • UK Azure Pricing – Standard Rates
    AppFabric
    Access Control
    £1.2062 per 100,000 transactions*
    Service Bus
    £2.4184 per connection on a “pay-as-you-go” basis*
    Pack of 5 connections £6.0307*
    Pack of 25 connections £30.1535*
    Pack of 100 connections £120.6139*
    Pack of 500 connections £603.0695*
    Data Transfers
    North America and Europe regions
    £0.0607 per GB in
    £0.091 per GB out
    Asia Pacific Region
    £0.1819 per GB in
    £0.2728 per GB out
    Inbound data transfers during off-peak times through June 30, 2010 are at no charge.  Prices revert to our normal inbound data transfer rates after June 30, 2010
    Windows Azure
    Compute
    Small instance (default): £0.0728 per hour
    Medium instance: £0.1455 per hour
    Large instance: £0.291 per hour
    Extra large instance: £0.5819 per hour
    Storage
    £0.091 per GB stored per month
    £0.0061 per 10,000 storage transactions
    Content Delivery Network (CDN)
    Service currently available as a Community Technology Preview (CTP) at no charge
    SQL Azure
    Web Edition – Up to 1 GB relational database
    £6.055 per database per month
    Business Edition – Up to 10 GB relational database
    £60.604 per database per month
    £100 per month* - Highly Available 2 x Instance Web Application + 0.5TB data
    20 pence per day* - Highly Available 1Gb SQL Server database
    * Lots of assumptions and caveats
  • Where next…
    www.Azure.com – Official Azure site
    bit.ly/landazure – UK Azure site
    ukazure.ning.com– UK Fans of Azure
    bit.ly/davidgristwood - My Blog
    www.MyGreatWindowsAzureidea.com - User Voice Feedback
    Tonight’s Azure User Group Meeting