Replies: 10 comments
-
Copying some of my comments from the PR,
|
Beta Was this translation helpful? Give feedback.
-
Points in favour of publishing to the Marketplace:
Reasons for pre-installing packages:
|
Beta Was this translation helpful? Give feedback.
-
The case against the Marketplace that I can see is,
Do we have any user feedback about the batteries included aspect? I feel we should be opinionated about reproducibility and encourage users to always user virtual environments and a I also get the impression trying to include packages in the base image becomes a bit of nightmare when some AI/ML packages are very picky about the required versions of their dependencies. I do like the idea of something like a Turing DSVM. If we were to go that way it should probably be a separate project which this (and others) could draw from. |
Beta Was this translation helpful? Give feedback.
-
I do like the ideas of a Turing Data Science VM with a good set of packages for data science / AI work all working together. I definitely think this could be something we recommend for researchers at the Turing in general. We could potentially support a containerised version for more cloud-native deployment models and it could also be part of our ongoing discussions with IT around how to best mitigate security concerns while maintaining researcher productivity (thinking more about up to date OS/packages and configuration plus maybe some AV, rather than locking anything down, but maybe also an option to link into an Azure AD for MFA and group membership would be cool). We actually used the MS DSVM initially for DSGs. We initially moved from it because we needed Ubuntu 18.04 to get the remote desktop working properly I think, but since then many of the DS/AI packages have become out of date. |
Beta Was this translation helpful? Give feedback.
-
Docs on publishing a VM offering to Azure Marketplace: https://docs.microsoft.com/en-us/azure/marketplace/marketplace-virtual-machines Requires a commerical marketplace account |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It would be good to use Ansible to automate the whole process https://docs.ansible.com/ansible/latest/scenario_guides/guide_azure.html You don't need to deploy complicated infrastructure to build an image (just a single VM) so something like Terraform could be overkill. Ansible would be easier to run outside of actions and reduce dependancies. Using the dynamic inventory should also keep the files/procedure neat. Unfortunately this means everyone running this would need a service principal, as would the runner. |
Beta Was this translation helpful? Give feedback.
-
It might be prudent to have an az cli method for deploying/destroying the build vm to avoid the need for a service principal when experimenting. |
Beta Was this translation helpful? Give feedback.
-
Also consider using: |
Beta Was this translation helpful? Give feedback.
-
Options for publishing image ranked in order of preference
In the case of Azure marketplace, there would be a simple "one click" deployment. For other hosting methods we could publish the VM image. Safe haven scripts can automate uploading the image to Azure so it can be used to deploy VMs. |
Beta Was this translation helpful? Give feedback.
-
Drawing on conversation in the comments of #1020
How should the process of building DSVM images be designed?
As this process is independent of other infrastructure, there is an opportunity to use new tools (Terraform/Ansible) to simply and accelerate the build process (which currently relies on quite a few bespoke bash/Python scripts).
Should we publish DSVM images on the Azure marketplace?
VM image development is going on here: https://github.com/alan-turing-institute/bureau
Beta Was this translation helpful? Give feedback.
All reactions