DEVintersection
Session AS22
Surviving the Azure Avalanche
Michele Leroux Bustamante
michelebusta@solliance.net
Michele Leroux Bustamante
Managing Partner
Solliance (solliance.net)
CEO and Cofounder
Snapboard (snapboard.com)
Microsoft...
Windows Azure Features
Store

Compute

Web Site

Cloud
Service

Virtual
Machine

Marketplace

Application
Services
Media
S...
Windows Azure Features
Compute

Web Site

Cloud
Service

Virtual
Machine
IaaS
Virtual Machines
Virtual Machine Provisioning
Choose a VM

Generate

Provision

Select your VHD

Upload

Provision
Why choose a VM?





Migrate existing apps without changes
Complex software deployment, easier with full control over...
PaaS
Cloud Services & Web Sites
Once upon a time…
There were only cloud services

Then along came web sites

Michele used these for all her
customers…and ...
Web Sites
Scale

Multi-tenant. Daily quotas

Multi-tenant. No quotas
Dedicated VMs. No quotas

12

© DEVintersection. All rights res...
Supported Web Frameworks

13

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
14

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Supported Publishing Methods

15

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Cloud Services
What is a Cloud Service?

17

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Packaging & Deployment

18

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
VIP Swap

19

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Back to our story…

20

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Core Feature Comparison
Cloud Services

Web Sites

WIF 3.5 Required

✔ .NET 4.5

SSL

✔

Dedicated IP

✔

Performance Coun...
Web Site Drivers
 Some web site specialties:




Sites based on built-in Azure templates such as blogs, wikis, and CMS
...
Cloud Service Drivers
Cloud Services

Web Sites

Control over IIS Settings

?

Dynamic DNS

?

Internal Endpoints
Asynchro...
Some Personal Preferences
Cloud Services

Web Sites

Staging, SWAP

Rollback

Headless Deployment

Single File Updates

Pr...
…and so

Michele is running out of
arguments in favor…

THE END
Windows Azure Features

Data
Services
Storage
Tables

SQL
Database

SQL
Data Sync

SQL
Reporting

HDInsight
(Hadoop)
SQL DB and SQL Server
 SQL DB (formerly SQL Azure)




150GB limit
No backup logs / replay
Other SQL features

 SQL S...
Map Reduce from 10K Feet
HD
Insight
Aggregate
Data
(all Companies)

Company A

HD
Insight
(local)

Company B

Company C

H...
Don’t Drink the Koolaid

Hadoop

Big Data

noSQL
Don’t Drink the Koolaid
 noSQL requires planning




Many people return to relational
Start relational and figure your...
Windows Azure Features

Networking

Traffic
Manager

Virtual
Network
Virtual Networks
VPN
Device

VPN
Gateway

DNS

IPSec

Azure Virtual Machines
& Cloud Services

AD

On-Premise Devices

32
...
Traffic Manager
 Load balance endpoints





Fail over in emergency to another
region
Look for closest server
Round ro...
Windows Azure Features

Application
Services
Windows Azure
Active Directory

Access
Control
Access Control and Mainstream
Identity Providers

Browser
3

Google
1

5

2

FaceBook

Yahoo!

Windows
Live

4

Access
Con...
Access Control, Social
& Azure AD (vision)
Browser

Google

FaceBook

Yahoo!

Windows
Live

Access
Control
Azure
AD

Your ...
Windows Azure Features

Application
Services
Caching
Caching is Good
 Co-Located Caching




Allocate % of memory on each VM
Together produce distributed cache total
Any r...
Caching is Good
 Shared Caching



Allocate worker roles for caching
Together produce distributed cache total
bustaclou...
Windows Azure Features

Application
Services
Service
Bus

Data
Services
Storage
Queues
Service Bus as DMZ
Browser

Browser

MVC /
JQuery

AJAX

Rich
Clients

Mobile
Clients

Service

Service

Web
Forms
Site

M...
Service Bus to Data On Premise / Migration
Client

Web
Application

Service Bus
Corporate
Domain

Windows Azure

Service

...
Queues

43

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Topics

44

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Queue Comparison
Service Bus Queues

Storage Queues

Unlimited message lifetime

7 days expiry

Max 64K message size

Max ...
Windows Azure Features

Application
Services

Mobile
Services
What is Windows Azure Mobile Services?

47

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Push Notification Lifecycle Overview

48

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Notifications: Different services

49

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Communications: Cloud-initiated

!Raaawww

50

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Mobile Services

51

© DEVintersection. All rights reserved.
http://www.DEVintersection.com
Windows Azure Features

Application
Services
Media
Services

Data
Services
Storage
Blobs

Networking

CDN
Storing Content
 Blob Storage is the standard now






Scales across instances
Replicated
Map domain to storage acc...
Client

Service

Scaling Out Media Access

Blob
Container

CDN
Cache
CDN
Cache

Blob
Container
Blob
Container

CDN
Cache

...
Blob Storage Integrity
Windows
Azure
Service
validate
signature

MD5
Hash

+

Windows Azure
Storage

MD5
Hash

+

Blob Con...
Blob Storage Shared Access Signatures
Browser

Service

Service

Service

Service

shared
access
policy
list

create
updat...
Blob Storage Recommendations
 Store content in blobs in lieu of drives
 Set metadata explicitly for best results
 Secur...
References
 Conference resources:


http://michelebusta.com

 See my snapboards:




Currently at the alpha site:
htt...
Surviving the Azure Avalanche
Upcoming SlideShare
Loading in...5
×

Surviving the Azure Avalanche

963

Published on

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

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
963
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
15
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • .
  • Sb can provide relay and broker services
  • Surviving the Azure Avalanche

    1. 1. DEVintersection Session AS22 Surviving the Azure Avalanche Michele Leroux Bustamante michelebusta@solliance.net
    2. 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. 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. 4. Windows Azure Features Compute Web Site Cloud Service Virtual Machine
    5. 5. IaaS Virtual Machines
    6. 6. Virtual Machine Provisioning Choose a VM Generate Provision Select your VHD Upload Provision
    7. 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. 8. PaaS Cloud Services & Web Sites
    9. 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. 10. Web Sites
    11. 11. Scale Multi-tenant. Daily quotas Multi-tenant. No quotas Dedicated VMs. No quotas 12 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    12. 12. Supported Web Frameworks 13 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    13. 13. 14 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    14. 14. Supported Publishing Methods 15 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    15. 15. Cloud Services
    16. 16. What is a Cloud Service? 17 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    17. 17. Packaging & Deployment 18 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    18. 18. VIP Swap 19 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    19. 19. Back to our story… 20 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    20. 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. 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. 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. 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. 24. …and so Michele is running out of arguments in favor… THE END
    25. 25. Windows Azure Features Data Services Storage Tables SQL Database SQL Data Sync SQL Reporting HDInsight (Hadoop)
    26. 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. 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. 28. Don’t Drink the Koolaid Hadoop Big Data noSQL
    29. 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. 30. Windows Azure Features Networking Traffic Manager Virtual Network
    31. 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. 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. 33. Windows Azure Features Application Services Windows Azure Active Directory Access Control
    34. 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. 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. 36. Windows Azure Features Application Services Caching
    37. 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. 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. 39. Windows Azure Features Application Services Service Bus Data Services Storage Queues
    40. 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. 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. 42. Queues 43 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    43. 43. Topics 44 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    44. 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. 45. Windows Azure Features Application Services Mobile Services
    46. 46. What is Windows Azure Mobile Services? 47 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    47. 47. Push Notification Lifecycle Overview 48 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    48. 48. Notifications: Different services 49 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    49. 49. Communications: Cloud-initiated !Raaawww 50 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    50. 50. Mobile Services 51 © DEVintersection. All rights reserved. http://www.DEVintersection.com
    51. 51. Windows Azure Features Application Services Media Services Data Services Storage Blobs Networking CDN
    52. 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. 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. 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. 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. 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. 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
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×