title: Connecting two IAAS VMs in Azure and accessing c drive from worker role
body: <p>Good day.</p>
  
  <p>i have been trying to solve this problem since past couple of days , i have read so many blogs and tried different methods but nothing worked out.</p>
  
  <p>I have a requirement where in i have to access C drive of one IAAS VM (Say A) from another IAAS VM(Say B) through worker role hosted in VM B.</p>
  
  <p>Both VMs may be in same cloud services or may be in different under one subscription or may be in different subscription.</p>
  
  <p>Now the <strong>challenges</strong> i am facing are :</p>
  
  <p>1) I have to Connect these two VMs via worker role this implies i have to write code in Run() method of worker role or define endpoints in worker role in such a way that these when request come from VM B to access C drive of VM A , it should allow.</p>
  
  <p>2.I tried enabled webdevpublishing in VM A and also enabled windows authentication and tried making netwrok drive on VM A so that ican perform  IO operation but network drive didnt create :(</p>
  
  <ol>
  <li>This C drive has to be polled continuously in order to check if any file has come or not ? </li>
  </ol>
  
  <p>Any help on this would be highly appreciated. </p>
  
  <p>Please define steps or code if possible coz i have already followed different suggestions given on web but no luck.</p>
  
  <p>Regards</p>