You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compute instances get the latest VM images at the time of provisioning. Microsoft releases new VM images on a monthly basis. Once a compute instance is deployed, it does not get actively updated. To keep current with the latest software updates and security patches, you could:
76
+
77
+
1. Recreate a compute instance to get the latest OS image (recommended)
78
+
79
+
* Data and customizations such as installed packages that are stored on the instance’s OS and temporary disks will be lost.
80
+
*[Store notebooks under "User files"](/azure/machine-learning/concept-compute-instance#accessing-files) to persist them when recreating your instance.
81
+
*[Mount data using datasets and datastores](/azure/machine-learning/v1/concept-azure-machine-learning-architecture#datasets-and-datastores) to persist files when recreating your instance.
82
+
* See [Compute Instance release notes](azure-machine-learning-ci-image-release-notes.md) for details on image releases.
83
+
84
+
1. Alternatively, regularly update OS and python packages.
85
+
86
+
* Use Linux package management tools to update the package list with the latest versions.
87
+
88
+
```bash
89
+
sudo apt-get update
90
+
```
91
+
92
+
* Use Linux package management tools to upgrade packages to the latest versions. Note that package conflicts might occur using this approach.
93
+
94
+
```bash
95
+
sudo apt-get upgrade
96
+
```
97
+
98
+
* Use Python package management tools to upgrade packages and check for updates.
99
+
100
+
```bash
101
+
pip list --outdated
102
+
```
103
+
104
+
You may install and run additional scanning software on compute instance to scan for security issues.
105
+
106
+
* [Trivy](https://github.com/aquasecurity/trivy) may be used to discover OS and python package level vulnerabilities.
107
+
* [ClamAV](https://www.clamav.net/) may be used to discover malware and comes pre-installed on compute instance.
108
+
* Defender for Server agent installation is currently not supported.
109
+
* Consider using [customization scripts](/azure/machine-learning/how-to-customize-compute-instance) for automation.
0 commit comments