Session Title That is Really Long and Covers Two Lines

Download Report

Transcript Session Title That is Really Long and Covers Two Lines

Your First Azure Application
Michael Stiefel
Reliable Software, Inc.
[email protected]
www.reliablesoftware.com
Level: Intermediate
Cloud Computing is Utility
Computing
Illusion of Infinite
Computing Resources on
Demand
No up front commitment
Pay for resources as needed
Application Types
Traditional
IAAS
PAAS
SAAS
Application
Application
Application
Application
Runtime
Runtime
Runtime
Runtime
Middleware
Middleware
Middleware
Middleware
Database
Database
Database
Database
Operating System
Operating System
Operating System
Operating System
Virtualization
Virtualization
Virtualization
Virtualization
Servers
Servers
Servers
Servers
Storage
Storage
Storage
Storage
Networking
Networking
Networking
Networking
A
z
u
r
e
Acme 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?
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 Application
What is a Role?
Role:
Configuration + Code
Analogous to an Application
Role Instance:
Executing role
Analogous to a Process
Web vs. Worker Roles
Local Emulation
Compute Emulator
Storage Emulator
Deploying an Application
Use Portal
Use Visual Studio
Automate with PowerShell
Codeplex scripts (open source)
Cerebrata scripts (product)
Demo: Reviewing the Simple Web App
Demo: Adding SQL Azure
Demo: Adding Diagnostics
Releasing Your Application
Cost
VM Hourly Cost
Size
CPU
Memory Storage
(Cores) (GB)
(GB)
I/O
Perf
Cost
Extra Small
Shared
Low
$0.04
.768
20
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 Charges
($US per month)
1GB
5 GB
10 GB
25 GB
50 GB
100 GB
150 GB
9.99
25.99
45.99
75.99
125.99
175.99
225.99
Table and Blob Costs
Storage $0.14 per GB month (daily average)
Storage Transactions $0.01 per 10K
Connect 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 Calculator
http://www.windowsazure.com/en-us/pricing/
calculator/advanced/
Acme 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 Cost
US$
Compute
Relational DB
360.00
45.96
Storage
30.51
Bandwidth
24.00
Total
460.47
Compute is the major driver
Yearly Cost is $5525.64
Reliability
Windows 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 SLA
99.9% of calendar month users can
access database
Time measured in 5 minute intervals
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
Summary
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