Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy to Azure using Storage Account created in new portal

I want to deploy cloud service to Azure, but when deploying must select Storage Account(tried both in new portal and in Visual Studio 2015). My storage account was created using new portal "Storage accounts" and was assigned to some Resource group, as a result I can't choose it when deploying. Any suggestions how to deploy?

like image 567
saniokazzz Avatar asked Sep 28 '15 10:09

saniokazzz


People also ask

How do I integrate the storage account on my Azure AD?

Follow these steps to set up Azure Files for AD DS authentication: Enable AD DS authentication on your storage account. Assign share-level permissions to the Azure AD identity (a user, group, or service principal) that is in sync with the target AD identity. Configure Windows ACLs over SMB for directories and files.

Can the Azure storage account automatically replicate data to another region?

Azure provides several storage solutions that make use of cross-region replication to ensure data availability. For example, Azure geo-redundant storage (GRS) replicates data to a secondary region automatically. This approach ensures that data is durable even if the primary region isn't recoverable.


1 Answers

One possible reason is that the storage account created by the new portal was likely created under the resource manager deployment model, while the cloud service is still under the classic deployment model. These don't play well together. You can read a little more at https://azure.microsoft.com/en-us/documentation/articles/resource-manager-deployment-model/. I don't think that a cloud service can use a resource manager storage account for deployment.

In the new portal look at the All Resources blade. If the storage account has a green icon it is a resource manager account. If the storage account has a blue icon it's a classic account.

Create a new storage account as a classic account, either by creating it in the older portal or by using the drop down in the new portal before you click create on the blade that talks about the storage accounts (the before you provide the account name, etc.). Once you do this then I think the account show show up as an option for your cloud service to deploy with.

Also note that if the storage account was created just prior to trying to select it, it might take a minute or two to become visible as an option.

like image 55
MikeWo Avatar answered Oct 13 '22 00:10

MikeWo