Brewing Beer with Windows Azure
Upcoming SlideShare
Loading in...5
×
 

Brewing Beer with Windows Azure

on

  • 2,723 views

Inspired by one of the Windows Azure gods (Wade Wegner), Maarten decided to order a homebrewing starter kit. Being a total cloud fanboy, he decided to hook those delicious creations to the cloud. Join ...

Inspired by one of the Windows Azure gods (Wade Wegner), Maarten decided to order a homebrewing starter kit. Being a total cloud fanboy, he decided to hook those delicious creations to the cloud. Join Maarten and discover how you can connect a USB temperature sensors to Windows Azure to monitor brewing and fermentation temperatures. He'll show you how to do distributed brewing in this fun yet practical session on an interesting use case for the cloud: beer.

Statistics

Views

Total Views
2,723
Views on SlideShare
2,723
Embed Views
0

Actions

Likes
0
Downloads
4
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Maarten
  • Maarten
  • Don’t show everythingyet. Just log in, show themaround the recipes, brewsand public recipes. Feel free to show the monitoring but no needto display the linking of sensors.
  • Show Windows Azure Web SitesShow scaling / reservedinstances
  • Show peoplearound the ACS porta. Show identities, claims andrulegroups.
  • Link a sensor to a brew. Show the effect on ACS. Show the code.

Brewing Beer with Windows Azure Brewing Beer with Windows Azure Presentation Transcript

  • #comdaybe Brewing Beer with Windows Azure AZUG Maarten Balliauw Panagiotis “ “ Kefalidis
  • Who am I?• Maarten Balliauw• Antwerp, Belgium• www.realdolmen.com• Focus on web – ASP.NET MVC, Windows Azure, SignalR, ... – MVP Windows Azure & ASPInsider• http://blog.maartenballiauw.be• @maartenballiauw• Author: Pro NuGet - http://amzn.to/pronuget
  • Who am I?• Panagiotis “Panos” Kefalidis• www.devoteam.com• Windows Azure MVP• SOA/.NET Architect• http://www.kefalidis.me• @pkefal
  • Agenda• Brewing beer• BrewBuddy• Windows Azure Websites• Service Bus & Access Control Service• Q&A
  • Turn water into beerBrewing Beer
  • How we got started…
  • How we got started…• MVP Summit 2011 – Wade Wegner tells us about his hobby• MVP Summit 2012 – Wade Wegner tells us about his hobby• We nodded at each other
  • The process• Get your kegs clean• Add & cook ingredients• Pour in keg• Add yeast• Rinse
  • Difficult part # 1…Wait for fermentation to complete
  • The process• Pour into another keg• Rinse• Wait another week• Bottling time!
  • Difficult part # 2…Wait 6 weeks for it to age
  • Panos, Maarten… What the f* does this haveto do with Windows Azure?
  • Azurifying the home brewerwww.BrewBuddy.net
  • BrewBuddy• View public recipes• Manage your own recipes• Manage your own brews• Monitor brew fermentation
  • BrewBuddy Social brewing at a glancedemo
  • Architecture Sensor Public website Windows Azure Web Sites Whatever… Database SQL Azure database Sensor data Sensor data processing Service Bus topic Windows Azure Worker Role
  • Scale-fast has just become more interestingWindows Azure Web Sites
  • Windows Azure Web Sites  Build with ASP.NET, Node.js or PHP  Deploy in seconds with FTP, Git or TFS  Start for free, scale up as your traffic grows
  • Windows Azure Web Sites shared 1SHARED INSTANCES
  • Windows Azure Web Sites shared 2SHARED INSTANCES
  • Windows Azure Web Sites reserved 0 1SHARED INSTANCES RESERVED INSTANCE
  • Windows Azure Web Sites reserved 2 RESERVED INSTANCE
  • Windows Azure Web Sites reserved 2 RESERVED INSTANCE RESERVED INSTANCE
  • Windows Azure Web Sites Creating a new web site in secondsdemo
  • Connecting sensorsService Bus& Access Control Service
  • Windows Azure Service Bus• 2 features – Relay – Queues, Topics, Subscriptions
  • Topic populated by sensors Sensor
  • Characteristics• Workers can scale independently – Loosely coupled architecture• Sensors connect to service bus directly – No layer in between
  • What about authN / authZ?• Access Control Service to the rescue!• SB authenticates clients over ACS• ACS provides “Send” claim to sensor• Claims can be granted/revoked easily
  • Access Control Service Claims for authZ on Service Busdemo
  • Architecture Sensor Public website Windows Azure Web Sites Whatever… Sensor management Database Access Control Service SQL Azure database Sensor data Sensor data processing Service Bus topic Windows Azure Worker Role
  • How do you link a sensor?• Every sensor has its sensor ID• Add it as an identity to ACS• Grant a “Send” claim
  • Linking a sensor toAccess Control Registering a sensor with a brew Servicedemo
  • A step further!• Custom application• Consume the data from devices• Exchange information with the app• In other words, an API
  • ASP.NET MVC Web API• <frenglish>Being h-appy about the API </frenglish>• Use it to build your public API• Secure it using claims from ACS
  • ASP.NET MVC Web API• Easy to add, it’s just a another project• Supports all cool stuff, like JSON, XML etc.• It’s MVC, that means awesome!
  • Coding took an arrow to the knee
  • Bringing the API to life Creating a simple kick-start APIdemo
  • Takeaways
  • Keep in mind…• Web Sites start cheap / scale fast• Combine at will (IaaS, PaaS, SaaS)• Service bus for asynchrony and scale• Access Control for devices• Web API
  • Q&A
  • Brewing Beer with Windows AzureThanks! @maartenballiauw @pkefal