Immutable solution version
Vertex AI Vector Search: VPC Service Controls blocks unless identity_type is ANY_IDENTITY (vpc_sc_blocked)
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.
[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.
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 1 · Exact version
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>