User Profile
Jamshaid120
Copper Contributor
Joined 3 years ago
User Widgets
Recent Discussions
How to avoid deletion of Storage/VM when managing Azure Test Drive?
I have a scenario where I have a cold instance enabled for an Azure Marketplace Test Drive. The ARM template is used to deploy the App. When I try the test drive, it creates a new VM, and after the time ends for the Test Drive, VM is deleted automatically, and for the next test drive, it creates a new VM, and it keeps going with deletion. I have installed docker on the VM, and a docker container is deployed for the test drive users. I am running into a problem as each time the VM is deleted, it deletes the docker container deployed to the VM used in the test drive, and there is no track record left to get the container back when the VM is created again as it is the new VM with no data deployed. I am not finding a solution to avoid permanently deleting the docker container deployed to the VM. Is there any way I could achieve that using Cold instance? Or do I need to use Hot instance for it? The machine type used is Standard_D2ads_v5 (Spot instance). The operating system installed is 18.04-LTS. Here is my storage type: "storageProfile": { "osDisk": { "createOption": "FromImage", "managedDisk": { "storageAccountType": "[variables('osDiskType')]" } }, "imageReference": { "publisher": "Canonical", "offer": "UbuntuServer", "sku": "[parameters('ubuntuOSVersion')]", "version": "latest" } Update I have also tried the same using the HOT instance but the same issue exists. Is there any way I could reuse the same docker container instead of getting it deleted every time? Will the premium storage solve this issue?Re: How to avoid deletion of Storage/VM when managing Azure Test Drive?
SatishBoddu Hi Thanks for responding to my query. I have tried Preview Offering and it works. The duration is set to 2 hours. After 2 hours, everything gets deleted as the Instance type is cold. My question is that, is there any way I could get permanent storage that does not delete after two hours or any other such feasibility? So that, I don't need to deploy the docker container again and again when the test drive ends. Or Hot instance is the only option to tackle this issue? And one more thing, I don't see the warm instance type in the configuration.918Views1like1Comment
Recent Blog Articles
No content to show