Windows Azure Platform in 30minutes
Download
Report
Transcript Windows Azure Platform in 30minutes
Technology Drill Down:
Windows Azure Platform
Eric Nelson | ISV Application Architect | Microsoft UK
[email protected] | http://bit.ly/ericnelson | http://twitter.com/ericnel
Assumption
• Most of you are pretty new to the Windows
Azure Platform
• If you are not, check out:
– http://bit.ly/azuretrenchesbookvol1
– http://ukazure.ning.com/events
Page 2
Agenda
Overview of the Windows Azure Platform
•
•
•
Overview of the platform
Compute
Data
Summary and Next Steps
Page 3
Overview
Page 4
Windows Azure Platform
makes it easy and cost effective
to run your applications
and store your data
inside Microsoft Data Centres
using existing skills
and integrate with
your existing on-premise applications
Page 5
Windows Azure Platform
Page 6
You do most of your development locally
Page 7
Your code runs in Hosted Services
made up of Roles
Page 8
Your Roles are code + configuration
Page 9
You choose which type(s) of Role
to run your code in
Page 10
At runtime you can have
multiple instances of your Roles
Load
Balancer
http://yourapp.cloudapp.net
Page 11
You store your data in Windows Azure
Storage
Page 12
And/or you store your data in SQL Azure
Page 13
Demo
Page 14
You have many choices for data
Relational Database
Structured Storage
Unstructured Storage
NTFS Drive
Service Communication
Page 15
Side by Side Evaluation
Single Blob
Drive
Queue
Structured Data
Table
Y
Single SQL
Azure
Database
Y
Relational Database
Y
Server Side Processing
Direct Access from outside
Azure
Messaging Infrastructure
Y
Persistent Storage
Size Limit
Y
Y
Y
Y
Y
Y
200 GB/ 1
TB
Y
1 week
Y
Y
1 TB
100 TB
100 TB
50 GB (*)
Page 16
Demo
Page 17
Summary
• Very easy to get going… but lots to learn
• Plenty of early adopters, therefore
– Good best practice are now appearing
– Plenty of detail to dig into
• Lots more coming
Page 18
NEXT STEPS
For latest slides and all the links http://blogs.msdn.com/ukisvdev
For more resources and information http://bit.ly/startazure
Eric Nelson | ISV Application Architect | Microsoft UK
[email protected] | http://bit.ly/ericnelson | http://twitter.com/ericnel
Page 19
Appendix
Page 20
Azure Drive (X-Drive)
• Access to a Local Drive in Azure
• Enables existing applications using NTFS to easily migrate to the
cloud
• Essentially a Page Blob formatted as NTFS
– Remote Access via Page Blob Interface
• Durable NTFS volume [upto 1TB] for Windows Azure Applications
• Drives in the Cloud are only mountable by VMs within Cloud
– Mounted by one VM at a time for read/write
– A VM can dynamically mount up to 16 drives
Page 21
Azure Drive - Scenario
Application
Drive
X:
Local Cache
•
The Application Mounts a Drive
•
Mount obtains a Blob Lease
•
Mount specifies size of Local Cache
•
NTFS Writes update the
•
NTFS Reads can be served from
Lease
– Blob Store & then the Local Cache
– Local Cache or
– Blob Store (cache miss)
Page Blob
Azure Drive
Page 22
Azure Table and SQL Azure Table
Feature
Partitioning
& Scale
Azure Table
Implicit based on Partition Key
SQL Azure Table
Explicitly managed by the Application
(Sharding – future feature)
Index
Capabilities
Table indexed on Partition Key + Row
Key
0 Secondary Indexes
1 Clustered Index on any column
999 Secondary Indexes
Table Limits
Row Size – 1 MB
Column Limit – 255
Table Limit – 100TB
Row Size – 8MB
Column Limit – 1024
Table Limit - ~50GB
Transactions
Transactions on entities within partition
No Transactions across tables or
partitions
Up to 100 operations in a Transaction
Payload upto 4MB per Transaction
Fully compatible transactional semantics
with SQL Server.
No cross Database transactions
Consistency
Model
Transactionally Consistent
Transactionally Consistent
Concurrency
Single Optimistic Concurrency Strategy
Full range of isolation and concurrency
models as supported by RDBMS
Page 23
Azure Table and SQL Azure Table
Feature
Azure Table
SQL Azure
Data
Access
REST API, ADO .NET, Client Library SDK
Standard tools and APIs apply
SSMS, Visual Studio, ADO .NET, ODBC
Column
Types
Basic Types
Usual SQL Server Data Types
Portability
Data in SQL Azure similar to SQL Server
- Easy migration in and out of the
Data portability coming with Windows Azure
cloud
Appliance
- Use multi stream transfer to
mitigate network latency.
Upto 1000 entities [token pagination]
Beyond 5 sec – return continuation token
Queries
Queries by partition & row key are fast
No Custom Indexes Today
Non key queries are scans
Query capabilities as per standard SQL
Server database expectations
Offer Server Side Processing through
Stored Procedures and Complex
Queries
(Aggregation, Joins, Sorts, Filters, etc.)
Page 24
Bringing it all together
Single Billing
Relationship
Azure Account
Subscription 1
Subscription 2
Windows
Azure
SQL Azure
Subscription 3
SQL Azure
Server
DB
DB
http://yourapp1.clou
dapp.net
Web Role
Worker
Role
Market
Place
App Fabric
Hosted
Services
…..
Storage
http://yourapp2.clou
dapp.net
http://yourstorage1.
XXX.core.windows.ne
t/
Queue
Table
http://yourstorage2.
XXX.core.windows.ne
t/
Blob
Drive
Page 25