Windows Azure – Multi-Role Support


New Feature:  Multi-Role Support


With the July SDK update, the concept of multiple roles has been added.  This is visualized in Visual Studio through Wizards or through configuration.

You can use the multi-role support to break out logically different functions in your applications. You would typically do this when you want the role to act as a unit of scale.  For instance, if I have a worker role today that performs 10 different functions in the application, it may be the case that only two of the functions are actually heavily used.  Instead of scaling a single role to perform all the functions faster, it might make more sense to break apart the two functions that need to scale independently into another role and control that separately.

Multi-role support should not be confused with supporting multiple roles per instance.  For instance, if you had two web roles, you could not use multi-role support to have two URIs like: and This is also not a way to get virtual directories.  Instead, if you two websites (e.g. a public one and an admin one), you could have two roles and they would listen on two different ports (i.e. and  Notice that the URI is still the same, but only the port has changed.

You can get more details about the feature here.

Comments (0)

Skip to main content