Connect One IAAS VM to another Programatically and access C: drive RRS feed

  • Question

  • Hi there..This is an urgent requirement where in i have three scenarios

    1) Two VMs in same cloud service 

    2) Two VMs in different cloud services 

    3) Two VMs in different subscription.

    I am new to networking therefore lots of confusion


    I am trying to access file stored in C drive of VM1 from worker role hosted in VM2 I tried couple of things 

    Note : I have made VM1 as FTP server and defined endpoints as well as firewall data port range to flow the traffic.

    1) Created virtual network point to site VPN but no idea what code should i write in worker role to access C drive of VM1, moreover it requires VPN device , which i am not intend to use.

    2) Tried creating network drive on VM1 after sharing the required folder in C: but its giving me error like : Check spelling or cannot create. Also i have no clue what to define in worker role to get its access.

    If any one can give code for worker role and define steps to get the above scenarios done , i would highly appreciate.

    Thanks in advance! 

    Wednesday, March 19, 2014 2:44 PM

All replies

  • Hi,

    Thank you for your question.

    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.


    Vivian Wang

    Monday, March 24, 2014 2:09 AM
  • First question - are you able to access the drive manually (i.e., not through code)? If that doesn't work, then talking about the code isn't the right place to start.
    Monday, March 24, 2014 4:21 PM