I noticed that when you RDP for an instance of a web role in Windows Azure to do iisreset , the World Wide Web Publishing Service terminates and the only way to get your role back over and over is to either restart the above service or restart / restart your instance.
For reasons unknown to me, Windows Azure by default starts a mode from the World Wide Web Publishing Service to Manual , why the iisreset sorting leaves your web role inaccessible to the WWW.
I found a solution to this - IMO - odd behavior and answered the original question of this post.
However, is there an alternative to iisreset for Windows Azure - perhaps programmatically, where can I pinpoint a specific instance? Because this is another problem; now I have to use RDP for each instance .. it would be nice if it was possible to draw the exact output of each instance.
Think about it; I have a CNAME at www.awesome-azure.com; this is hosted by 3 instances in round-robin, and I want to reset / monitor / diagnose / heartbeat each of them via the REST API (similar), and not now through RDP.
Is it possible to do this.
EDIT
I tried to make it more clear what the problem was, as well as the goal of achievement.
EDIT 2
Providing a solution to the iisreset task; updated the question to identify instances over the Internet, if possible.
source share