<@ULVA73B9P> When creating a work pool on GCP, is ...
# ask-community
v
@Marvin When creating a work pool on GCP, is it possible to use Direct VPC instead of a VPC connector?
m
From the available documentation for both Prefect 2.x and 3.x, there is no explicit mention of using a "Direct VPC" when creating a work pool on GCP. Instead, the focus is generally on setting up work pools with automatic infrastructure provisioning, such as configuring Cloud Run in GCP, and managing service accounts and keys. For Prefect 2.x, the documentation outlines setting up a work pool with Cloud Run using the
--provision-infra
flag, which involves creating and using a service account and activating the necessary APIs in GCP. Here are some relevant links: - Prefect 2.x Work Pools Guide - Prefect 2.x GCP Worker Guide Similarly, for Prefect 3.x, the process involves deploying a worker as a service with Cloud Run, where you specify environment variables, API keys, and service accounts but doesn't specifically mention Direct VPC: - Prefect 3.x GCP Worker Guide If your intention is to use certain network configurations like Direct VPC, you may need to handle that within the GCP environment outside the Prefect configurations, possibly involving additional custom networking setup. If you have further questions or specific configurations to try, might need to engage with more detailed GCP network documentation or Prefect's community support for any updates or undocumented features.