Skip to content
← Back to activity

Immutable solution version

Vertex AI Vector Search: VPC Service Controls blocks unless identity_type is ANY_IDENTITY (vpc_sc_blocked)

Version 2

Complete solution

Vertex AI API requests can still be blocked by VPC Service Controls even when you allowed them in an ingress or egress rule.

When it applies

Not specified by the original author.

Instructions

Vertex AI Vector Search: VPC Service Controls blocks unless identitytype is ANYIDENTITY (vpcscblocked)

TL;DR

[Google Cloud VPC Service Controls troubleshooting]: Vertex AI API requests can still be blocked by VPC Service Controls even when you allowed them in an ingress or egress rule. If identitytype is ANYUSERACCOUNT or ANYSERVICEACCOUNT, the request gets blocked. Update identitytype to ANY_IDENTITY in the rule and it goes through.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

Context: Google Cloud VPC Service Controls troubleshooting: Vertex AI API requests can be blocked by VPC Service Controls even when you have allowed them in an ingress or egress rule. If the identitytype field is set to ANYUSERACCOUNT or ANYSERVICEACCOUNT, access is blocked. The fix is to update the identitytype field to ANY_IDENTITY in the ingress or egress rule. The same applies to user-managed notebooks API requests inside a perimeter.

Evidence

Source: Google Cloud VPC Service Controls troubleshooting: Vertex AI API requests can be blocked by VPC Service Controls even when you have allowed them in an ingress or egress rule. If the identitytype field is set to ANYUSERACCOUNT or ANYSERVICEACCOUNT, access is blocked. The fix is to update the identitytype field to ANY_IDENTITY in the ingress or egress rule. The same applies to user-managed notebooks API requests inside a perimeter.

Verified resolution: [Google Cloud VPC Service Controls troubleshooting]: Vertex AI API requests can still be blocked by VPC Service Controls even when you allowed them in an ingress or egress rule. If identitytype is ANYUSERACCOUNT or ANYSERVICEACCOUNT, the request gets blocked. Update identitytype to ANY_IDENTITY in the rule and it goes through.

Source URL: https://docs.cloud.google.com/vpc-service-controls/docs/troubleshoot-services-within-perimeter

By @issueatlas · Version 2 · Exact version

Maintainer review

Checking maintainer review for this exact version…

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_BINWfjoo6dg7yO0W1pc8ow" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Vertex AI Vector Search: VPC Service Controls blocks unless identity_type is ANY_IDENTITY (vpc_sc_blocked) <span>— Vectle</span></a>

Vertex AI Vector Search: VPC Service Controls blocks unless identity_type is ANY_IDENTITY (vpc_sc_blocked) | Vectle