locked
When and how to use the storage account? RRS feed

  • Question

  • Hi,

    I have a small doubt regarding Storage Account.

    Suppose if I have five projects, no doubt in windows azure we have to create 5 Hosted Services. Can we create 5 Storage Accounts like one Storate account for each project?

    But while publishing we have to give both Hosted Service and Storage Account?

    Friday, November 25, 2011 11:07 AM

Answers

  • Normally it's a good practice to have a dedicated storage account per hosted service to keep your data isolated and get better performance. Also if you're using Windows Azure diagnostics, it is recommended that you keep your diagnostics data in a different storage account than the main application storage account. So going by that logic, for each hosted service you would need 2 storage accounts as part of best practice.

    Not sure what do you mean by "But while publishing we have to give both Hosted Service and Storage Account?" so can't comment on that.

    Hope this helps.

    Thanks

    Gaurav Mantri

    Cerebrata Software

    http://www.cerebrata.com

     

    • Marked as answer by SusanDaniel Saturday, November 26, 2011 4:48 AM
    Friday, November 25, 2011 4:11 PM
  • -- But while publishing we have to give both Hosted Service and Storage Account?

    The current Visual Studio tooling uses a storage account as a temporary store for the uploaded package before it deploys it. The package is deleted automatically after deployment. I have seen requests that the package be preserved for (possible) later use. You should specify a storage account in the same datacenter. Note that the storage requirements of an uploaded package should be minimal.

    • Marked as answer by SusanDaniel Saturday, November 26, 2011 4:48 AM
    Friday, November 25, 2011 6:54 PM
    Answerer

All replies

  • Normally it's a good practice to have a dedicated storage account per hosted service to keep your data isolated and get better performance. Also if you're using Windows Azure diagnostics, it is recommended that you keep your diagnostics data in a different storage account than the main application storage account. So going by that logic, for each hosted service you would need 2 storage accounts as part of best practice.

    Not sure what do you mean by "But while publishing we have to give both Hosted Service and Storage Account?" so can't comment on that.

    Hope this helps.

    Thanks

    Gaurav Mantri

    Cerebrata Software

    http://www.cerebrata.com

     

    • Marked as answer by SusanDaniel Saturday, November 26, 2011 4:48 AM
    Friday, November 25, 2011 4:11 PM
  • -- But while publishing we have to give both Hosted Service and Storage Account?

    The current Visual Studio tooling uses a storage account as a temporary store for the uploaded package before it deploys it. The package is deleted automatically after deployment. I have seen requests that the package be preserved for (possible) later use. You should specify a storage account in the same datacenter. Note that the storage requirements of an uploaded package should be minimal.

    • Marked as answer by SusanDaniel Saturday, November 26, 2011 4:48 AM
    Friday, November 25, 2011 6:54 PM
    Answerer
  • Hi

    Your one storage account is enough (sizewise) to fulfil the requirement of one hosted application, as it provide the huge data storage, So its good to associate one storage account with one hosted service.

    but if still you need some different assignement for different part of application then you can create multiple containers and use for different part of application.

     

    Thanks

    Dinesh


    Regards Dinesh Sharma
    Monday, November 28, 2011 10:31 AM