Hi Team,
I am currently using a managed notebook in Vertex AI Workbench, which has been deprecated. While attempting to create a new instance in Vertex AI Workbench, I encountered the following issues:
Error message encountered:
Solved! Go to Solution.
Hi @Rajavelu,
Welcome to Google Cloud Community!
The error message clearly points to a Google Cloud Organization Policy constraint preventing you from assigning an external IP address to your Vertex AI Workbench instance. This is a security measure often enforced at the organization or folder level to control network access.
Here's a breakdown of the issue:
Why This Happens & Impact of No External IP
Here are the workarounds that you may try:
You'll likely need to contact your organization's Google Cloud administrator or the team responsible for managing organization policies. Request that they modify the constraints/compute.vmExternalIpAccess policy to allow the specific instance you are trying to create: projects/xxxxxx/zones/us-central1-a/instances/xxxx. Provide them the full instance ID from the error message. This ensures they are creating an exception for only your instance and not opening up the entire project to external IPs. Briefly explain why you need an external IP (e.g., "I need to install libraries from the internet and access external resources through a proxy.").
A Cloud NAT gateway allows your notebook instance to access the internet for outbound traffic (like installing libraries) without having a publicly facing external IP.
Here’s how to set up:
This is a Google Cloud feature that allows internal instances without public IPs to access Google Cloud APIs and services. It can be used to access pypi.org and other public python repositories that reside in Google Cloud.
Here’s how to set up:
You may follow these steps:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |