Triage and Remediation
- Remediation
Remediation
Using Console
Using Console
Below are concise, console‑only steps to ensure automatic upgrades are enabled for Vertex AI Workbench notebooks (both Managed and User-managed), since both appear in the same UI.
1. Open Vertex AI Workbench
- Go to the Google Cloud Console: https://console.cloud.google.com
- In the top bar, select the correct project.
- From the left navigation menu, go to:
Vertex AI → Workbench.
- Managed notebooks
- User-managed notebooks
2. Managed Notebooks: Enable automatic upgrades
- Click the Managed notebooks tab (if not already selected).
- Find the notebook instance you want to fix.
- Click the notebook’s name to open its Details page.
- On the details page, look for a section named Environment, Runtime, or Auto-upgrade (label can vary slightly by UI version).
- Look for an option like:
- Auto-upgrade (or Notebook upgrades)
- A toggle such as Enable automatic upgrades or Enable auto-upgrade
- If it is off, click Edit at the top of the page (or Edit settings / Edit runtime).
- Turn on the Auto-upgrade / Enable automatic upgrades toggle.
- Click Save (or Save changes / Update).
- Click New notebook.
- During creation, under Environment / Advanced / Upgrade settings, make sure Enable automatic upgrades is checked.
- Recreate your environment and migrate notebooks from the old instance.
3. User-managed Notebooks: Enable automatic upgrades
User-managed notebooks are usually tied to a Compute Engine VM and often have an “Enable upgrades” or similar flag in their configuration.- Click the User-managed notebooks tab.
- Locate your notebook instance and click its name to open details.
- Look for:
- An Edit button (or Open in AI Platform / Edit VM)
- A configuration section showing Upgrade schedule or Enable upgrades.
- If present and editable:
- Click Edit.
- Turn on Enable upgrades / Auto-upgrade (or similar wording).
- Click Save or Update.
- Click New notebook → choose the appropriate image/type.
- In the creation form, expand Advanced options (or similar).
- Ensure the checkbox for Enable upgrades / Auto-upgrade or equivalent is checked.
- Create the instance and migrate your notebooks/workloads from the old instance.
4. Verification
For each notebook:- Open its Details page again in Vertex AI → Workbench.
- Confirm that:
- The Auto-upgrade / Automatic upgrades / Enable upgrades field is shown as Enabled or On.
Using CLI
Using CLI
On Vertex AI Workbench (user-managed) notebooks, “automatic upgrades” are tied to the instance being upgradeable. If an instance was created with
Look at the
Note the following fields you will reuse:
(Wait until it reaches
Key point: do not pass
After this, your notebooks will run on an upgradeable (auto‑updating) Vertex AI Workbench instance.
--no-upgradeable, it will not receive automatic upgrades; this cannot be flipped in-place and you must recreate the instance as upgradeable.Below are CLI steps to (1) verify and (2) remediate by recreating:1. Verify whether an instance is upgradeable
upgradeable field:upgradeable: true→ automatic upgrades are enabled.upgradeable: false→ instance will not receive automatic upgrades; proceed to remediation.
2. Capture the current configuration (for recreation)
machineTypebootDiskType,bootDiskSizeGbdataDiskType,dataDiskSizeGb(if present)vmImageorcontainerImagenetwork,subnet- Any labels or metadata you care about.
3. Stop the existing instance
state: STOPPED.)4. Create a new upgradeable instance
Create a new instance that is upgradeable by not using--no-upgradeable (upgradeable is the default).Example (adjust with values from step 2):--no-upgradeable. If you omit it, the instance is upgradeable and will receive automatic upgrades.You can confirm again:upgradeable: true confirms auto-upgrades are enabled.5. Move notebook files and delete old instance
- Start both old and new instances.
- Copy notebooks (e.g., via:
gsutilto a Cloud Storage bucket, or- SSH / SCP between VMs, or
- direct file upload/download in the Jupyter UI).
- Once everything is migrated and verified, delete the old non‑upgradeable instance:
Using Python
Using Python
Below is how to enable automatic upgrades for Vertex AI Workbench (Managed Notebooks) instances using Python.
1. Prerequisites
- Have
gcloudconfigured and authenticated: - Install the Notebooks client library:
2. Enable automatic upgrades on an existing instance
3. Create a new instance with automatic upgrades enabled
4. Notes
UpgradeType.AUTOMATICis the key setting to ensure automatic upgrades.- Replace
project_id,location,instance_id, andmachine_typewith your actual values.
Using Terraform
Using Terraform

