Move azure storage account to different region [closed] - azure

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
We mistakenly set up an azure storage account in the wrong location West Europe.
However we need it to be in North Europe.
Is there a way to transfer a whole storage account.
We don't really need the old data in the container.
But if we just delete the account and recreate in new location it will generate a new access keys, which we don't want.
Is there anyway to either manually set the access keys on a new storage account or move the storage account between regions.
Either solution works for us, moving it or deleting it and recreating with same access keys, but we can't have the new storage account with different access keys. We don't care whether or not the data comes across.
I can't see a way of setting access keys in web portal, maybe this is possible programmatially but I've searched and can't see anyone else with samples of this.

This might get closed due to it being an Azure infrastructure, vs. programming, question (and would fit better on ServerFault), though it could be argued that, since you need keys to access storage from your code (or via Azure SDKs), it's "close" to programming-related.
That said: You can't just move a storage account. You'll need to delete and re-create, which will give you new keys. You cannot provide your own keys, so you cannot copy keys from your old storage account to your new storage account.
Regarding the API (and portal, and SDK's, and PowerShell cmdlets, all built upon the API): The API only allows you to trigger a re-generation of either primary or secondary key. There's no way to pass in your own key.

Related

how to store data in Cosmo Database (not in plain text)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I want to store data in Azure Cosmos Database. But it should not be in plain text. And I don't want to use the Client-Side Encryption mechanism provide by azure because it is accessible by teams who have access to the Database. How to do that. If possible then how to query the data on that.
I'm not sure why you want to do that, but Azure Cosmos DB uses AES-256 encryption on all regions where the account is running.
From the docs,
Data stored in your Azure Cosmos account is automatically and
seamlessly encrypted with keys managed by Microsoft (service-managed
keys)
Here the service's encryption-at-rest is not accessible from your application, which means it's done transparently to the end user. Which also means that you will never see the encrypted data as the Cosmos DB handles the encryption/decryption.
If you still need to encrypt with your own logic you can use the Customer Managed Key option.

Terraform Reserved VM Instances on Azure [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 months ago.
Improve this question
I am trying to create a windows VM in Azure using Terraform. However, I can't seem to find any documentation on how to create the VM as a reserved instance for a 1 or 3 year plan.
Does anyone know if this is even doable with Terraform?
Azure Reserved instances are applied through billing. There isn't a technical mechanism for selecting a reserved instance. It is easily confused for how AWS applies reserved instances.
On the surface it is fairly simply, you pay for a reservation and it gets applied.
After you buy an Azure Reserved Virtual Machine Instance, the
reservation discount is automatically applied to virtual machines that
match the attributes and quantity of the reservation. A reservation
covers the compute costs of your virtual machines.
But it can get fairly nuanced as you read through the documentation
I'm not an expert of azure and terraform but as far as i can see reservation are linked to subscription or to a resource group, so maybe you could configure it after resource creation

Multiple azure users managing the same VM [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is it possible to have two or more users managing the same VM that one of them created on Azure?
For example:
My colleague created a VM.
Everyday the first one of us who arrive at work would like to turn it on. We don't want to wait to the VM creator to arrive.
The same problem happens by the end of the day. Since the last one of us at the office will turn it off and she might need to stay longer or connect from home to turn it off if I need to finish some work at the VM.
Sure you can, Azure has got a RBAC for permissions role assignment.
As for your particular case, you would need to assign contributor permissions to resource group or to a VM, or use one of the pre-build roles, say VM Contributor, to restrict access.
Also, if you have contributor access at subscription level, you should have access to shutting down a VM.

Is It Possible to create a sql server in Cloud service? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I had created a web role in cloud service and it has feature to remote desktop by using this feature is it possible to Install sql server or any other softwares. if not possible why?
Basically the cloud service is assigned any random box as per availability so any physical storage might be lost in case you stop and restart the service or many times those are restarted if any patch is installed. So always have separate SQL server (you can choose from cloud SQL server also) instance.
SQL database (formerly SQL Azure) is a SQL Server as a service offering on azure. It has almost all the same features as sql server and is fully managed with zero downtime. It supports almost all of the same TSQL operations as the full blown sql server and you can easily migrate data, tables and stored procedures from an existing sql server to SQL Azure.
I'd use this instead of standing up your own sql server instance.
https://azure.microsoft.com/en-us/services/sql-database/
If you want to stand up your own sql server instance in azure then definately check out the resource manager templates, heres one for SQL Server 2014 always on !
https://github.com/Azure/azure-quickstart-templates/tree/master/sql-server-2014-alwayson-dsc
Cloud service role instances are not suitable for durable storage of data. Expect any of the instances to disappear at any moment of time and then possibly be restarted on a totally clear VM. You should use something durable for persistent storage - that may be SQL Azure, Azure Storage or perhaps something else.
You might want to install SQL Server locally if for some reason your instance needs a local copy which can be accesses without network delays. You still should expect that your instance disappears at any moment. So installation should be automatic - such that when an instance is restarted on a new VM late on 1:00 AM on Sunday it works on its own. All valuable data must be periodically exported from that SQL Server instance to some durable storage, perhaps another SQL server. You could do that in code or setup some ready solution to do that.
Same applies to any other third-party software - its installation should work without human presence and useful data must be periodically exported to durable external storage. Expect to lose any data that is stored on the instance.

Redeeming Azure code, receive error: A Windows Azure Pass has already been requested for this Windows Live ID. Limit one per account [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I had an Azure account from my university which expired 7 month ago, which was given for one of my courses, now I got another code for a new Azure account from a different course, but when trying to redeem the code I got the following error:
A Windows Azure Pass has already been requested for this Windows Live ID. Limit one per account.
Does it mean I can only request one and only Azure account for my windows live ID, even if the old Azure account has been expired long time ago, meaning I will have to make a new live ID for this new Azure account?
Yes. You understand correctly. You have to create another Microsoft Account (a.k.a. Windows Live ID) if you want to redeem another code. This is the only possible way. It is same with trial subscription. You can only have 1 trial subscription per Live ID Account.

Resources