-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux VM OS Disk #4317
Comments
@tamirkamara, a few questions if you don't mind:
|
Maybe initially we do OS disk? Think that is a quick win, and I've hit this before. @tamirkamara should we create a new issue for this, or I can reword this one.
Need to prevent downsizing, not sure how that can be done. |
@TonyWildish-BH the motivation is mainly to allow more software to be installed on the VM. Not need to share with other VMs. |
thanks for the clarification, @tamirkamara. In that case, maybe this ticket should be renamed to 'System Disk', not 'Data Disk'? I'd simply set a minimum value, say 50GB for Linux, 150GB for Windows, which is above the default OS sizes I've seen so far, and allow any value above that. I don't see the point in restricting to an enumerated set of values. |
There needs to be a minimum size, also maximum, also get billed at set size increments - https://learn.microsoft.com/en-us/azure/virtual-machines/disks-types#ultra-disk-size hence a drop down of choices might be the best option. |
fair enough, thanks! |
Fixes #4317 Add support for configurable OS disk account type and size for Linux and Windows VMs. * **Linux VM Changes:** - Add new parameters `os_disk_account_type` and `os_disk_size` in `parameters.json`. - Update `porter.yaml` to include new parameters and update `install`, `upgrade`, and `uninstall` steps. - Add new properties `os_disk_account_type` and `os_disk_size` in `template_schema.json` and update the `required` array. - Add new variables `os_disk_account_type` and `os_disk_size` in `variables.tf`. - Update `os_disk` block in `linuxvm.tf` to use new variables `os_disk_account_type` and `os_disk_size`. * **Windows VM Changes:** - Add new parameters `os_disk_account_type` and `os_disk_size` in `parameters.json`. - Update `porter.yaml` to include new parameters and update `install`, `upgrade`, and `uninstall` steps. - Add new properties `os_disk_account_type` and `os_disk_size` in `template_schema.json` and update the `required` array. - Add new variables `os_disk_account_type` and `os_disk_size` in `variables.tf`. - Update `os_disk` block in `windowsvm.tf` to use new variables `os_disk_account_type` and `os_disk_size`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/AzureTRE/issues/4317?shareId=XXXX-XXXX-XXXX-XXXX).
Not tested, but let copilot do some work - #4334 If someone is able to give it a test, or even pick up the PR and finish off, that would be great. Might need to look at how to prevent reduction in disk size, or what happens if try to reduce. |
Description
As a Researcher
I want to have access to more disk space in Linux VM
So that I could store data in the VM for faster processing
The text was updated successfully, but these errors were encountered: