what's new for the windows azure developer? lots!!
DESCRIPTION
Overview of new Windows Azure features since June 7, 2012. This covers Windows Azure Web Sites, Windows Azure Virtual Machines, andTRANSCRIPT
![Page 1: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/1.jpg)
What’s New for the Windows Azure Developer? Lots!!
July 2012
![Page 2: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/2.jpg)
About Me
Michael S. Collier
National Architect,
Windows Azure
@MichaelCollier
www.MichaelSCollier.com
![Page 3: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/3.jpg)
What Are We Talking About?
• Meet Windows Azure & TechEd Key Announcements• Windows Azure Web Sites• Windows Azure Virtual Machines• Windows Azure Storage• Visual Studio Tools Updates• Miscellaneous Bits of Awesomesauce
![Page 4: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/4.jpg)
Windows Azure Web Sites (WAWS)
Create a Web Site in Seconds
Simple Your Choice FastCreate a web site your self
ASP, ASP.NET PHP, node.js
Deployment in seconds (TFS, Git, FTP, WebDeploy)
Select from a gallery Develop on Windows, OSX, and Linux
Dashboard monitoring
Rapid Scalability
![Page 5: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/5.jpg)
DEMOWindows Azure Web Sites
![Page 6: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/6.jpg)
Windows Azure Web Sites (WAWS)
Source: TechEd NA - Windows Azure Web Sites - Under the Hood (AZR305)
![Page 7: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/7.jpg)
Scaling Options with WAWS
• Ability to set app settings via portal– Merges from web.config and that which is stored in DB
• Custom domain name – use Reserved• No SSL support . . . yet
Shared ReservedSingle tenant in a multi-tenant pool
Just you
Scale to handle more requests; not increase performance
Scale to increase performance – can pick more and larger VMs.
Quota limit No quota limit10 for free Pay by hour
![Page 8: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/8.jpg)
Windows Azure Virtual Machines
Easy Options for Getting Started
1. Create new VM from image in VM Image Gallery
2. Customize image and capture for future use (cloud composition)
3. Image Portability
![Page 9: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/9.jpg)
Provision via Image Gallery
• Getting Started– Management Portal– Scripting (PowerShell, CLIs)
• Pick Image and VM Size– XS, Small, Medium, Large or XL– Microsoft
• Windows Server 2008 R2 SP1• Windows Server 2012 RC• Windows Server 2008 R2 SP1 w/ SQL Server Evaluation Edition
– Linux• MySuse• CentOS• OpenSUSE• Ubuntu
• Save to Blob Storage
![Page 10: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/10.jpg)
Virtual Machines
• Disk Management– OS Disk– Data Disk
• Store your application data• Max of 1TB in size and 16 disks (varies by VM size)
• SLA– 99.95% for multi-instance roles– 99.9% for single instance (coming soon)
• You manage the system– SCOM– 3rd party mgmt tools like RightScale and OpsCode
• Mixed Mode (PaaS + IaaS == Better Together)
![Page 11: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/11.jpg)
WINDOWS AZURE VIRTUAL MACHINES
Demo
![Page 12: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/12.jpg)
So Many Choices! When do I use what?
Web Sites Web Roles (Cloud Services) Virtual Machines
Modern Web Apps• “Basic” web apps or services• Uses SQL Database• Scale out or up on demand
Multi-tier Applications• Web and worker roles• Scale independently
Server Applications• SQL Server• SharePoint• Active Directory• MySQL• MongoDB
Continuous Deployment• Git• Team Foundation Service
Advanced Administration• Admin access• Remote Desktop• Elevated privileges• Startup tasks/scripts• IIS Configuration
VHD – Image or Gallery• Cloud composition• Upload your own VHD• Select from gallery
Open Source Apps• WordPress, Orchard, Drupal,
DotNetNuke, etc.
Advanced Networking• Windows Azure Connect• Windows Azure Virtual Network• Network Isolation
OS Choice – Windows or Linux• Windows Server versions• Various Linux flavors
MySQL-as-a-Service
![Page 13: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/13.jpg)
WINDOWS AZURE STORAGEWhat’s New in
![Page 14: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/14.jpg)
Improved Pricing and Management
• 10x Price Reduction for Storage Transaction– $0.01 / 100,000 transactions ($1 per 10 million transaction)
• Configuration of Storage Analytics– Configuration via management portal– Detailed and configurable charts
• Monitoring Storage Metrics– Configuration via management portal– Display in management portal
![Page 15: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/15.jpg)
Geo Redundant vs. Locally Redundant Storage
• Geo Redundant– 3 replicas in the location & 3 replicas in secondary location
(region)– Enabled by default– Update before or after account creation
• Locally Redundant– 3 replicas in the location / data center / sub region– Data may be lost in disaster scenario– 23%-34% discount over GRS pricing (dependent on storage
amt.)
![Page 16: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/16.jpg)
New Storage Service Features
• “2012-02-12” version of REST API– SDK 1.7.1– https://
github.com/WindowsAzure/azure-sdk-for-net/tree/sdk_1.7.1
• SAS for Tables and Queues• Cross-Account Copying of Blobs• Improved Blob Leasing
![Page 17: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/17.jpg)
Shared Access Signature Updates
• Blobs– Unbounded access time (previously 1 hour)
• Tables– Grant access to entire table (“tn”)– Grant access to partition key range (“startpk/endpk”) and row
key (“startrk/endrk”) (startpk, startrk), (endpk, endrk)– Permissions: Query (“r”), Add (“a”), Update (“u”), Delete (“d”)– Time Range: Unbounded (expiry time must be set)
• Queues– Permissions: Read or Peak (“r”), Add (“a”), Update (“u”), Process
(“p”)*
![Page 18: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/18.jpg)
Expanded Blob Copy
• Copying between storage accounts and within accounts is async
• Only for destination accounts >= June 7, 2012• Copy source is a URL
– Versioned change (use URL with 2012-02-12 version)– Publically accessible or pre-authenticated via a SAS– Can be a blob outside of Windows Azure!
• Asynchronous Copy– Copy Blob returns 202 (Accepted) instead of 201 (Created)– Copy operation is scheduled to run in background using spare
bandwidth (no SLA on how fast operation will complete)– Poll to check on copy progress (number of bytes copied / total)– May acquire infinite lease on source & destination
![Page 19: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/19.jpg)
Improved Blob Leasing
• Control over blob lease time– 15 seconds up to 60 seconds– Infinite
• Changing of the lease ID– Pass the lease ID to another process, preventing original
process from changing the blob
• Ability to provide a time to keep lease when breaking it– Shorten time remaining on the lease when breaking
• Lease on the container– Prevent something from deleting the container– No impact on blobs in the container
![Page 20: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/20.jpg)
THERE’S MORE!But Wait . . .
![Page 21: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/21.jpg)
Caching (Preview)
• In addition to Shared Caching• Role-Based Caching
– Available memory on existing web or worker role (co-located)– Dedicated worker role (dedicated)– No premium charge – just the cost of the roles– Additional features
• High availability• Notifications• Multiple named caches• Memcached wire protocol
![Page 22: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/22.jpg)
Custom Health Probes (Pages)
• Fabric Controller pings the Guest Agent– Checks if the instance is alive– Can’t determine if app can service requests
• Create a custom page to verify service logic– Used by FC to check if service is “healthy”
![Page 23: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/23.jpg)
Service Bus Explorer (Visual Studio)
• New to June 2012 tools• Queues & Topics• Send/Receive test msgs• Queue Properties
• Not as robust as Service
Bus Explorer
(http://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer-f2abca5a)
![Page 24: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/24.jpg)
New Role Templates
• New Visual Studio templates for common scenarios• Cache Worker Role• Worker Role with Service Bus Queue
![Page 25: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/25.jpg)
Emulator Updates
• Using IIS Express– Full IIS available if/when needed
• SQL Server Express 2012 LocalDB
![Page 26: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/26.jpg)
Side-by-Side SDK Support
• SDK 1.6 and SDK 1.7 live together• No need to uninstall previous version• Change in .csproj file• Easy upgrade from SDK 1.6 TO 1.7
![Page 27: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/27.jpg)
NuGet Packages
• Visual Studio uses latest version from NuGet– Easier to keep current (if you want)
• Assemblies:– WindowsAzure.Storage– WindowsAzure.ServiceBus– Microsoft.WindowsAzure.ConfigurationManager
![Page 28: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/28.jpg)
Cloud Configuration
• CloudConfigurationManager.GetSetting(“MySetting”);
![Page 29: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/29.jpg)
Quick Hits
• Windows Azure Active Directory– Includes Access Control Services (ACS)– Incorporates AD features in O365– Graph API
• Windows Azure Virtual Network– Hardware based networking– Configuration script for your hardware– Control IP addresses and machine names– Control VNet
• Windows Azure Media Services– Ingest, encode, transform, and distribute– SmoothStreaming– PowerShell based configuration (currently)– Powering London 2012 Olympics
![Page 30: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/30.jpg)
Let’s Wrap It Up!
• Get started quickly with Web Sites• Do what you want with Virtual Machines• Helpful & powerful updates to Storage Services• SDK updates• Enhancements to Visual Studio tooling
![Page 31: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/31.jpg)
Resources
• Windows Azure Web Sites, Web Roles, and VMs: When to use which?– http://
blogs.msdn.com/b/silverlining/archive/2012/06/27/windows-azure-websites-web-roles-and-vms-when-to-use-which.aspx
• Windows Azure Web Sites - Under the Hood (AZR305), Yochay Kiriaty & Craig Kitterman– http://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/AZR305
• New Windows Azure Storage Features, Improved Manageability, and Lower Prices– http://
blogs.msdn.com/b/windowsazurestorage/archive/2012/06/12/teched-2012-new-windows-azure-storage-features-improved-manageability-and-lower-prices.aspx
• Windows Azure Virtual Machines– https://www.windowsazure.com/en-us/home/features/virtual-machines/
• Deep Dive Into Windows Azure Virtual Machines – From the Cloud Vendor and Enterprise Perspective (AZR313)– http://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/AZR313
![Page 32: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/32.jpg)
![Page 33: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/33.jpg)
Q &
A
Ask your questions
![Page 34: What's New for the Windows Azure Developer? Lots!!](https://reader038.vdocument.in/reader038/viewer/2022103016/555ab771d8b42ad0538b54b6/html5/thumbnails/34.jpg)