Download - Your First Azure Application
Your First Azure ApplicationYour First Azure ApplicationMichael StiefelMichael Stiefel
Reliable Software, [email protected]
www.reliablesoftware.com
Level: Intermediate
Cloud Computing is Utility ComputingCloud Computing is Utility Computing
Illusion of Infinite Computing Resources on
Demand
No up front commitment
Pay for resources as needed
Application TypesApplication Types
Application
Runtime
Middleware
Operating System
Database
Storage
Servers
Networking
Virtualization
Runtime
Middleware
Operating System
Database
Storage
Servers
Networking
Virtualization
Application
Runtime
Middleware
Operating System
Database
Storage
Servers
Networking
Virtualization
Runtime
Middleware
Operating System
Database
Storage
Servers
Networking
Virtualization
ApplicationApplication
Traditional IAAS PAAS SAAS
Azure
Acme Ticket AgencyAcme Ticket Agency
Clients:Ticket Purchasers
Venues that run events
Demand peaks 1 week to 6 hours before an event
Events are world wide
Customers are world wide
Why Windows Azure?Why Windows Azure?
Don't want a data center or manage infrastructure
Don't want to have to buy for peak capacity
Don't want to manage virtual machines
Customers in all over the world
Demo: Creating a MVC Web ApplicationDemo: Creating a MVC Web Application
What is a Role?What is a Role?
Role:
Configuration + Code
Analogous to an Application
Role Instance:
Executing role
Analogous to a Process
Web vs. Worker Roles
Local EmulationLocal Emulation
Compute Emulator
Storage Emulator
Deploying an ApplicationDeploying an Application
Use Portal
Use Visual Studio
Automate with PowerShell
Codeplex scripts (open source)
Cerebrata scripts (product)
Demo: Reviewing the Simple Web AppDemo: Reviewing the Simple Web App
Demo: Adding SQL AzureDemo: Adding SQL Azure
Demo: Adding DiagnosticsDemo: Adding Diagnostics
Releasing Your ApplicationReleasing Your Application
CostCost
VM Hourly CostVM Hourly Cost
SizeCPU (Cores)
Memory (GB)
Storage (GB)
I/O Perf
Cost
Extra Small Shared .768 20 Low $0.04
Small 1 1.75 225 Medium $0.12
Medium 2 3.5 490 High $0.24
Large 4 7 1,000 High $0.48
Extra Large 8 14 2,040 High $0.96
Cost per hour in $US
SQL Azure Database ChargesSQL Azure Database Charges($US per month)
1GB 9.99
5 GB 25.99
10 GB 45.99
25 GB 75.99
50 GB 125.99
100 GB 175.99
150 GB 225.99
Table and Blob CostsTable and Blob Costs
Storage $0.14 per GB month (daily average)
Storage Transactions $0.01 per 10K
Connect ChargesConnect Charges
North America and Europe$0.00 per GB in
$0.12 per GB out
Everywhere else$0.00 per GB in
$0.19 per GB out
All bandwidth within data center is free
Azure Cost CalculatorAzure Cost Calculator
http://www.windowsazure.com/en-us/pricing/calculator/advanced/
Acme Travel Agency Initial Role OutAcme Travel Agency Initial Role Out
Everything in the same data center
10 GB Database
2 Web Application Medium Roles
175 GB Table / Blob Storage,
6 million storage transactions
200 GB in / 200 GB out
Monthly CostMonthly CostUS$
Compute 360.00
Relational DB 45.96
Storage 30.51
Bandwidth 24.00
Total 460.47
Compute is the major driver
Yearly Cost is $5525.64Yearly Cost is $5525.64
ReliabilityReliability
Windows Azure SLAWindows Azure SLA
Upgrade Domains
Fault Domains
Two Instances:99.95% of the time will have external Internet Connectivity
99.99% of the time Fabric Controller will handle failover
SQL Azure SLASQL Azure SLA
99.9% of calendar month users can access database
Time measured in 5 minute intervals
Utility SLA: 99.98%Utility SLA: 99.98%
2007 2008
Goal Actual Goal Actual
Calls Answered Within 30 Seconds 80% 84.64% 80% 85.47%
Average # Service Interruptions Per Customer 1.373 1.027 1.373 1.051
Average # Min Without Power Per Customer 168.69 82.61 168.69 78.55
Service Appointments Met 87.78% 98.52% 88.37% 98.73%
Actual Meters Read "on cycle" vs estimate 93.15% 98.75% 93.15% 99.05%
Complaint Cases Per 1000 Customers 1.496 .974 1.496 1.080
SummarySummary
Cloud Computing is Driven By Economics
Cloud Computing Allows You To Focus on Your Expertise
Use Your Existing Skill Set to Build Azure Applications
MSDN Subscription Gives You a Free Azure Account