Managing Azure with Chef

It looks like Chef supports managing Azure which could be a vital step for end-to-end deployment from a CI environment such as TeamCity.

Microsoft is an official partner of OpsCode
http://www.opscode.com/partners/microsoft

Knife-Azure on GitHub
Check out the readme on this page for hints & tips on creating Azure deployments using knife-azure.
https://github.com/opscode/knife-azure

Chef Cookbooks
No cookbooks at the moment for deploying to Azure
http://wiki.opscode.com/display/chef/Cookbooks

Azure IP Restriction

Deploying to the cloud is risky and public. If you’ve got sites you want to hide or restrict until they’re ready, the easiest way to do that is restricting IP addresses that can connect to the sites.

We’ve implemented a custom attribute which decorates our Actions that we need to limit. The attribute checks the IP of the request against a list maintained in Azure / Web config. The beauty in this is the ability to restrict per Action (instead of a blanket restriction).

Check out Randy Burden’s blog for a howto:

We can extended the attribute to take a key, which could be used to specify which configuration value to use for the restrictions.

If you want to restrict connectivity to your entire service, check out these links:

Scriptlet to run Firebug Lite for Safari Mobile

Instructions

  • Copy the code block below
  • Create a bookmark in safari and paste the code into the URL
  • Open the page you wish to debug and click on the bookmark you created, the Firebug Lite window will open at the bottom of the page

Code


javascript:(function(F,i,r,e,b,u,g,L,I,T,E){if(F.getElementById(b))return;E=F[i+'NS']&&F.documentElement.namespaceURI;E=E?F[i+'NS'](E,'script'):F[i]('script');E[r]('id',b);E[r]('src',I+g+T);E[r](b,u);(F[e]('head')[0]||F[e]('body')[0]).appendChild(E);E=new%20Image;E[r]('src',I+L);})(document,'createElement','setAttribute','getElementsByTagName','FirebugLite','4','firebug-lite.js','releases/lite/latest/skin/xp/sprite.png','https://getfirebug.com/','#startOpened');