I have a situation where i need to create VM role instances runtime (from other azure service application) and provide the remote connection details to the end user where he can use those to remote login to role instance.
My question are :
1) How do i get hold of connection details (Which are available as .rdp file on Management portal when we click on "Connect" button) programatically.
2) Is there any way i can use those credentials internally (In the azure service application) , do an RDC connection and display the bits on browser window. (RDC from browser)
3) Can i use any other application, on non Windows OS (other than mstsc) to remote connect to VM role instances.
1) haven't seen anything like this in service management API or so. However the rdp file only contains information about the specific instance of the specific service, so you should be able to come up with that information yourself
2) not quite sure I understand that correctly. You planning to open an RDP connection from another Azure application?
3) haven't checked recently but there were clients available for Mac and other OS as well. Any RDP client should do, nothing specific to VM Role.
You should have in mind that this RDP is typically meant for administrative purposes, less for end user application access.
Could you use the Virtual Network with the VHD and add Remote Desktop Services on the VHD. Seems like this is working. This would allow you to put your own IP on it, use RemoteApps or full desktop for the clients.
The only way to invoke RDP from a browser would be the RDP Web connect option that I am aware of.