• Reaching Azure Development Fabriq from a remote machine

    Published by jpgarcia on January 3rd, 2010 3:55 pm under Emerging Technology, Uncategorized

    No Comments

    Are you following me on Twitter? If the answer is yes, you may know that I forked the waz-storage project to write the Tables and Entities operations exposed by the Windows Azure Table API.

    One of the things I wanted to get while writing code in my ruby environment, was to perform functional tests against a local environment. So, today I’m going to talk about the Azure Development Fabriq and how you can access to this service from outside your local host.

    The problem

    The Development Fabriq is configured by default to listen in the following sockets:

    That said, we can imagine that http://{Your_LAN_IPAddress}:10000/devstoreaccount1/container/myblob will allow us to get that blob, but it will never happen. At this point, you can consume the services just from your localhost.

    The solution

    You can change the default 127.0.0.1 IP address by the one assigned to your interface, in the configuration file C:\Program Files\Windows Azure SDK\v1.0\bin\devstore\DSService.exe.config:

    <services>
      <service name="Blob" url="http://192.168.1.100:10000/"/>
      <service name="Queue" url="http://192.168.1.100:10001/"/>
      <service name="Table" url="http://192.168.1.100:10002/"/>
    </services>

    Shutdown / Start the Development Fabriq to apply those changes and that’s it. Tests passing from Textmate against a vm runing the Storage Service locally.

    image

    image

    hope you like it!

  • Leave a comment

    Your email address will not be published.

Map

Locations of visitors to this page
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-491797-5"); pageTracker._trackPageview();