none
Mounting a Cloud Drive from Console application

Answers

  • If you're trying to mount a WA Drive from outside Windows Azure (and outside the compute emulator), then this is unsupported.
    Friday, April 13, 2012 7:25 AM
  • Azure drives can be mounted only from within azure environment such as in a web. worker or VM role both in windows azure and in emulator. But if you are trying to mount it from outside azure environment, e.g. a non-azure application then it is not supported as Steve mentioned above.

    If this post answers your question, please mark it as an answer. If this post is helpful to you, then vote it as helpful.
    TechyFreak | Mobile Development Resources

    Friday, April 13, 2012 7:33 AM

All replies

  • If you're trying to mount a WA Drive from outside Windows Azure (and outside the compute emulator), then this is unsupported.
    Friday, April 13, 2012 7:25 AM
  • Azure drives can be mounted only from within azure environment such as in a web. worker or VM role both in windows azure and in emulator. But if you are trying to mount it from outside azure environment, e.g. a non-azure application then it is not supported as Steve mentioned above.

    If this post answers your question, please mark it as an answer. If this post is helpful to you, then vote it as helpful.
    TechyFreak | Mobile Development Resources

    Friday, April 13, 2012 7:33 AM
  • Thank you Steve and Freaky for the confirmation.

    Also making sure "unsupported" means does not work at all :). If there is any unsupported way, please let me know.

    I am doing a prototype to setup Mongo DB that uses Blob storage for data persistence. The Blob is stored as a VHD. For reading and writing to Mongo DB from Azure environment (deployed and emulated), we are pointing Mongo DB data directory to a path mouted to a Local Resource using Cloud Drive. This works as expected.

    But the role requires configuration data to be present in Mongo DB to start correctly. The config data is dependent on the user who delpoys to Cloud. More over the users who deploys the package do not have Azure environment (Visual Studio and Azure tools). So we were thinking of writing config before deploying Azure package to cloud by moutning the blob from console app. This is where I encountered the issue.

    So I guess I should create VHD (so this can be mounted from a Azure role during role startup) that contains the config values and then upload it as a Page Blob to Cloud storage.

    Friday, April 13, 2012 4:43 PM