platform choices on windows azure€¦ · windows azure platform services • storage: – blobs,...
TRANSCRIPT
![Page 1: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/1.jpg)
Platform Choices on Windows Azure
(It’s not just ASP.NET and SQL Server)
![Page 2: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/2.jpg)
Mark Rendle • Cloud Computing guy • Software Development consultant • Windows Azure Development MVP • Language geek • Open source developer
[email protected] – blog.markrendle.net – twitter.com/markrendle
![Page 3: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/3.jpg)
Web
Worker
Blobs
Tables
Queues
SQL Azure
Reporting Services
Service Bus
Caching
ACS
Storage Compute SQL Services
Windows Azure
![Page 4: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/4.jpg)
Worker Roles Web Roles
Windows Server 2008 R2
IIS 7.5
For running applications
Windows Server 2008 R2
No IIS
For running anything
Windows Azure
![Page 5: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/5.jpg)
Worker Roles Web Roles
Windows Server 2008 R2
IIS 7.5
For running applications
Windows Server 2008 R2
No IIS
For running anything*
Windows Azure
*Well, almost anything
![Page 6: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/6.jpg)
Windows Azure Platform Services
• Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services
• AppFabric Services: – Service Bus (relay, pub/sub, queues) – Caching – Access Control Service
• Media Services – Streaming, transcoding, etc.
![Page 7: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/7.jpg)
www.windowsazure.com/develop
![Page 8: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/8.jpg)
.NET • Visual Studio 2010
integration • Windows Azure SDK
Node.js • PowerShell commands • Windows Azure SDK for
Node.js
Java • Eclipse integration • Windows Azure SDK for
Java
PHP • Command line tools • phpazure.codeplex.com
Ruby • No official support • waz-storage gem
Python • No official support • winazurestorage.py
![Page 9: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/9.jpg)
Node.js SDK Demo
![Page 10: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/10.jpg)
Cloud9 IDE integration For non-Windows people
![Page 11: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/11.jpg)
Third-party applications
• You can run anything on Azure
![Page 12: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/12.jpg)
Third-party applications
• You can run anything on Azure as long as:
– It can run load-balanced
– It has a “silent” installer
– You control its disk access
![Page 13: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/13.jpg)
Why load-balanced?
• Must have two instances of each role to get 99.95% SLA
• Roles will be recycled for patches, upgrades etc.
![Page 14: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/14.jpg)
Why the “silent” installer?
• Installation has to be run automatically as part of role startup
• Can’t RDP in to install software as it won’t be there after a recycle
![Page 15: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/15.jpg)
What about disk access?
• Persistent disk storage available via CloudDrive.
• CloudDrive API tells you the drive letter, not the other way around
![Page 16: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/16.jpg)
CloudDrive
• Simulated NTFS volume
• Persisted to a VHD stored in a Paged Blob
• Beware of Blob Service charges! – $0.01 per 10,000 requests
= $1 per 1m disk writes
![Page 17: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/17.jpg)
RavenDB on Azure Demo
![Page 18: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/18.jpg)
Things I run on Azure
• ASP.NET MVC 4 + ASP.NET WebApi • Simple.Web + Simple.Data • Node.js + Express • RavenDB
– github.com/markrendle/AzureRavenDB
• MongoDB – Officially supported by 10gen
• JRuby/Sinatra
![Page 19: Platform Choices on Windows Azure€¦ · Windows Azure Platform Services • Storage: – Blobs, Tables & Queues – CDN – SQL Azure and Reporting Services • AppFabric Services:](https://reader033.vdocuments.site/reader033/viewer/2022042808/5f888b73a47413685623868d/html5/thumbnails/19.jpg)
Q&A [email protected] – blog.markrendle.net – twitter.com/markrendle