getting started with windows azure
DESCRIPTION
Getting Started with Windows Azure. Name Title Microsoft Corporation. Objectives. 1. Answer “What is Windows Azure?”. 2. See how to get started & build your first app. 3. Understand the key Windows Azure concepts. What is Windows Azure?. - PowerPoint PPT PresentationTRANSCRIPT
Getting Started with Windows AzureNameTitleMicrosoft Corporation
Objectives
1 Answer “What is Windows Azure?”
2 See how to get started & build your first app
3 Understand the key Windows Azure concepts
What is Windows Azure?Comprehensive platform for developing cloud appsHost and execute your code in the cloudProvides application managementIncludes services for storage, access control, etc.
Key BenefitsAbstraction & flexibilityDesigned for scalability & high availabilityOpen & InteroperableMix and match servicesConsumption based pricing model
Windows Azure ScenariosIdeal for applications needing:ScalabilityAvailabilityFault Tolerance
Common Application Scenarios:Web SitesCompute Intensive appsDevice ApplicationsWeb APIsSocial Games
Windows Azure Platform
Core ServicesCompute Storage Database
Hello Windows Azure
demo
Packaging & Deployment
Service Package
Compute
Service Definition
Service Configuration
Your Code
Service, Roles, and InstancesA service is a logical set of roles (up to 5)Defined in the Service Definition at development timeAssigned a public URL (i.e. foo.cloudapp.net) at deployment
Instances
Role defines the type of Virtual Machine that will be used to run each component of your applicationDefined in the Service Definition at development time
An instance is a dedicated virtual machine instance that is running your code with your configurationInstances are created by the Windows Azure fabric at runtime based on the roles defined in the service definition
Roles
Service
Role TypesGeneral purpose host for executing code or an executableImplement code in a Run methodSimilar to a Windows ServiceHost your own web server, encoder, etc.Typically used for background processing
Designed for web sites/services accessible using HTTPProvides all features of a worker role and IIS 7 or 7.5Execute ASP.NET, WCF, PHP, etc.Can include multiple web sites in the same roleOptionally implement RoleEntryPoint
Worker Role
Web Role
Windows Azure Service Architecture
Worker ServiceWorker ServiceWorker
RoleWeb RoleIIS as Host
StorageTables Blobs
Queues
Windows Azure Data Center
The Internet via TCP or HTTP
LB
LBL
B
Worker Role
demo
Compute Instance SizeSelectable Size defines CPU Cores, RAM, Local Storage, and PricingSize configured in the Service Definition prior to packaging
Key considerationsDon’t just throw big VMs at every problemScale out architectures have natural parallelismMore small instances == more redundancySome scenarios will benefit from more cores
CPU MEMORY
LOCAL STORAGE
I/O PERFORMANCE
PRICING
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 490GB High $0.24
Large4 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
Service Definition & ConfigurationOperating System
OS Family: Windows Server 2008 SP2 or Server 2008 R2OS Version: Specific version or automatically updated
Config SettingsName/value settings for a role<Setting name="WorkerSleepTime" value="2000" />
Service Definition & ConfigurationEndpoints
Define network endpoints for inbound connectivity into a role<InputEndpointname="HttpIn" protocol="http" port="80" />
Startup TasksExecute a script or exe to configure a role instance at startup<Task commandLine="InstallPHP.cmd" executionContext="elevated" taskType="simple"/>
PHP on Windows Azure
demo
Windows Azure DeploymentEach hosted service can have two deployments: Production & Staging
Deployments performed through:Windows Azure Platform PortalVisual StudioREST Service Management APIsPowerShell cmdlets/scripts
Deployment outside of the portal requires management cert to be associated with the Windows Azure subscription
Windows Azure Data CentersNorth America Region Europe Region Asia Pacific Region
6 datacenters across 3 continentsSimply select your data center of choice when deploying an
application
North Central US
South Central US
Northern Europe
Western Europe East Asia
South East Asia
Upgrading Your ApplicationVIP SwapUses Staging and Production environmentsAllows to quickly swap environmentsSimply changes which deployment the load balancer uses to service requests
In-Place UpgradePerforms a rolling upgrade on live serviceEntire service or a single roleManual or Automatic across update domains
Building Block Services
Authn support using multiple identity providersEasily integrate Live ID, Facebook, Yahoo, Google, & ADSupport for industry standards and existing .NET APIs
Messaging & connectivity for building distributed and loosely-coupled apps in the cloudEnables hybrid apps across both on-premises & the cloud
Distributed, in-memory cache for Windows Azure appsSession state provider for Windows Azure applications.NET client library for caching data
Access Control
Caching
Service Bus
Data Services
Synchronize data from on-premises SQL Server to/from SQL Azure in the cloudSynchronize data between SQL Azure databases potentially in different data centers
SQL Server Reporting provided as a service Reports authored using existing tools (BIDS) Reports can include rich Data Visualizations (Maps, Charts, Tablix) and exported to variety of formats
Reporting
Data Sync
SummaryWindows Azure is comprehensive platform for cloud appsWindows Azure Compute key conceptsService Definition, Configuration, and PackageRoles & InstancesCompute Instance Sizes
Designed to be open & interoperableEnables a variety of scenariosSeveral building block & data services
Thank You
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.