Surviving the Azure Avalanche

  • 848 views
Uploaded on

This session reviews Azure top to bottom, to describe where each features best fits, expose some myths and best practices.

This session reviews Azure top to bottom, to describe where each features best fits, expose some myths and best practices.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
848
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
12
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • .
  • Sb can provide relay and broker services

Transcript

  • 1. DEVintersection Session AS22 Surviving the Azure Avalanche Michele Leroux Bustamante michelebusta@solliance.net
  • 2. Michele Leroux Bustamante Managing Partner Solliance (solliance.net) CEO and Cofounder Snapboard (snapboard.com) Microsoft Regional Director Microsoft MVP Author, Speaker Pluralsight courses on the way! Blog: michelebusta.com michelebusta@solliance.net @michelebusta 2 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 3. Windows Azure Features Store Compute Web Site Cloud Service Virtual Machine Marketplace Application Services Media Services Caching Recovery Services Service Bus Mobile Services Windows Azure Active Directory Access Control Data Services Storage Queues Storage Tables Storage Blobs SQL Database Networking CDN Traffic Manager Virtual Network SQL Data Sync SQL Reporting HDInsight (Hadoop)
  • 4. Windows Azure Features Compute Web Site Cloud Service Virtual Machine
  • 5. IaaS Virtual Machines
  • 6. Virtual Machine Provisioning Choose a VM Generate Provision Select your VHD Upload Provision
  • 7. Why choose a VM?     Migrate existing apps without changes Complex software deployment, easier with full control over VM Appliance or pre-existing VM SQL Server over SQL DB  VERY common choice  Prefer IaaS and have staff for IT operations support Job Security 8 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 8. PaaS Cloud Services & Web Sites
  • 9. Once upon a time… There were only cloud services Then along came web sites Michele used these for all her customers…and life was simple. …but Michele thought life was still simple…because this feature was just for blogs and cute little web sites…BUT…
  • 10. Web Sites
  • 11. Scale Multi-tenant. Daily quotas Multi-tenant. No quotas Dedicated VMs. No quotas 12 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 12. Supported Web Frameworks 13 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 13. 14 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 14. Supported Publishing Methods 15 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 15. Cloud Services
  • 16. What is a Cloud Service? 17 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 17. Packaging & Deployment 18 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 18. VIP Swap 19 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 19. Back to our story… 20 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 20. Core Feature Comparison Cloud Services Web Sites WIF 3.5 Required ✔ .NET 4.5 SSL ✔ Dedicated IP ✔ Performance Counters ✔ WHO CARES? Auto-scale ✔ Global Assembly Cache ✔ WHO CARES? Distributed Cache ✔ Custom Software ✔ Nuget (LIMITED) VM Scale Out Control ✔
  • 21. Web Site Drivers  Some web site specialties:   Sites based on built-in Azure templates such as blogs, wikis, and CMS sites MySQL database alternative  In reality, many will default to web sites first unless there is a cloud service driver 22 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 22. Cloud Service Drivers Cloud Services Web Sites Control over IIS Settings ? Dynamic DNS ? Internal Endpoints Asynchronous Workers Virtual Network RDP ? Non-HTTP Protocols Control over OS Updates Certificate store access ?
  • 23. Some Personal Preferences Cloud Services Web Sites Staging, SWAP Rollback Headless Deployment Single File Updates Proprietary deployment Familiar deployment Resource path changes Standard paths If cloud services needed, deploy all cloud services ✔ Built in diagnostics, tracing ✔ Yep Improved management of both in portal now Customers Choice!!!
  • 24. …and so Michele is running out of arguments in favor… THE END
  • 25. Windows Azure Features Data Services Storage Tables SQL Database SQL Data Sync SQL Reporting HDInsight (Hadoop)
  • 26. SQL DB and SQL Server  SQL DB (formerly SQL Azure)    150GB limit No backup logs / replay Other SQL features  SQL Server on Azure VM   Popular alternative 1TB limit (blob storage) 27 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 27. Map Reduce from 10K Feet HD Insight Aggregate Data (all Companies) Company A HD Insight (local) Company B Company C HD Insight (local) Server Company A Company B HD Insight (local) Company C 28 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 28. Don’t Drink the Koolaid Hadoop Big Data noSQL
  • 29. Don’t Drink the Koolaid  noSQL requires planning    Many people return to relational Start relational and figure your model out first Get an expert involved if you need noSQL  BigData is not for everyone  In many cases it is not needed  Get an expert, like: Lynn Langit  www.contagiouscuriosity.com 30 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 30. Windows Azure Features Networking Traffic Manager Virtual Network
  • 31. Virtual Networks VPN Device VPN Gateway DNS IPSec Azure Virtual Machines & Cloud Services AD On-Premise Devices 32 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 32. Traffic Manager  Load balance endpoints    Fail over in emergency to another region Look for closest server Round robin (only if you use regions instead of instance scaling) 33 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 33. Windows Azure Features Application Services Windows Azure Active Directory Access Control
  • 34. Access Control and Mainstream Identity Providers Browser 3 Google 1 5 2 FaceBook Yahoo! Windows Live 4 Access Control Your App 35 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 35. Access Control, Social & Azure AD (vision) Browser Google FaceBook Yahoo! Windows Live Access Control Azure AD Your App User Profile Any IdP 36 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 36. Windows Azure Features Application Services Caching
  • 37. Caching is Good  Co-Located Caching    Allocate % of memory on each VM Together produce distributed cache total Any role can access bustacloud.com apis.bustacloud.com 38 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 38. Caching is Good  Shared Caching   Allocate worker roles for caching Together produce distributed cache total bustacloud.com apis.bustacloud.com 39 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 39. Windows Azure Features Application Services Service Bus Data Services Storage Queues
  • 40. Service Bus as DMZ Browser Browser MVC / JQuery AJAX Rich Clients Mobile Clients Service Service Web Forms Site MVC Site Web API Web API Service Service DMZ Corporate Domain 41 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 41. Service Bus to Data On Premise / Migration Client Web Application Service Bus Corporate Domain Windows Azure Service 42 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 42. Queues 43 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 43. Topics 44 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 44. Queue Comparison Service Bus Queues Storage Queues Unlimited message lifetime 7 days expiry Max 64K message size Max 256K message size Max 5GB total storage Max 100TB total storage Duplicate detection Order guarantees Dead letter queue Storage metrics Purge capability Long polling Manual back-off polling
  • 45. Windows Azure Features Application Services Mobile Services
  • 46. What is Windows Azure Mobile Services? 47 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 47. Push Notification Lifecycle Overview 48 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 48. Notifications: Different services 49 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 49. Communications: Cloud-initiated !Raaawww 50 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 50. Mobile Services 51 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 51. Windows Azure Features Application Services Media Services Data Services Storage Blobs Networking CDN
  • 52. Storing Content  Blob Storage is the standard now      Scales across instances Replicated Map domain to storage account CDN benefits Security and shared links 53 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 53. Client Service Scaling Out Media Access Blob Container CDN Cache CDN Cache Blob Container Blob Container CDN Cache Corporate Domain HTTP Azure Storage Azure Storage 54 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 54. Blob Storage Integrity Windows Azure Service validate signature MD5 Hash + Windows Azure Storage MD5 Hash + Blob Container 55 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 55. Blob Storage Shared Access Signatures Browser Service Service Service Service shared access policy list create update delete read Public Blob Access create update delete read list Public Container Access read access for limited time with shared access key Shared Access Signature (SAS) create update delete read list Private Container 56 Client >1 hour requires authentication header in request (no browser) Private Container © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 56. Blob Storage Recommendations  Store content in blobs in lieu of drives  Set metadata explicitly for best results  Secure access accordingly   From JavaScript can lease a shared key No need to embed keys in the JS file  Always chunk blobs for best performance 57 © DEVintersection. All rights reserved. http://www.DEVintersection.com
  • 57. References  Conference resources:  http://michelebusta.com  See my snapboards:   Currently at the alpha site: http://snapboardalpha.cloudapp.net/michelebusta Will move these to snapboard.com/michelebusta when we go live on the main site (SOON watch my blog for announcement)  Contact me:   michelebusta@solliance.net @michelebusta COME VISIT OUR BOOTH! LET’S HAVE A CONVERSATION! 58 © DEVintersection. All rights reserved. http://www.DEVintersection.com