> [!WARNING]
>
> **Preview**
>
>
> This product or feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section
> of the [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA products and features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

[VPC Service Controls](https://docs.cloud.google.com/vpc-service-controls/docs/overview.md.txt) with
[Cloud Build private
pools](https://docs.cloud.google.com/build/docs/private-pools/private-pools-overview) lets you create a
service perimeter around your Application Design Center resources to help guard
against data exfiltration. The service perimeter protects
App Design Center resources in your [management
project](https://docs.cloud.google.com/application-design-center/docs/key-concepts#mgmt-project), including
application templates and applications.

> [!WARNING]
> **Warning:** If you share a catalog between two spaces in your perimeter, and later remove the receiving space from your perimeter, sharing will continue. To stop sharing the catalog, see [Stop sharing a catalog with a space](https://docs.cloud.google.com/application-design-center/docs/manage-catalogs.md.txt#manage-spaces-shared-with-a-catalog).

## Configure a service perimeter

To configure your service perimeter, do the following:

1. Complete the steps in
   [Use VPC Service Controls](https://docs.cloud.google.com/build/docs/private-pools/using-vpc-service-controls.md.txt),
   including the following:

   1. Create the worker pool in a project in the perimeter.

   2. The Cloud Build job needs to access the public internet to download
      Terraform modules and providers. To create network rules to allow
      access, see
      [Enable public internet calls on the VPC network](https://docs.cloud.google.com/build/docs/private-pools/using-vpc-service-controls.md.txt#enable-public-internet).

   3. In the service perimeter, add
      [management projects](https://docs.cloud.google.com/application-design-center/docs/key-concepts.md.txt#mgmt-project)
      where you set up App Design Center.

2. Grant the WorkerPool User (`roles/cloudbuild.workerPoolUser`) role to your
   deployment service account.

   For instructions, see
   [IAM permissions](https://docs.cloud.google.com/build/docs/private-pools/run-builds-in-private-pool.md.txt#permissions).
3. If you're using a restricted VIP to restrict access to a
   VPC Service Controls-enabled service, configure DNS to resolve
   `*.googleapis.com` to the restricted VIP.

   For instructions, see
   [DNS configuration](https://docs.cloud.google.com/vpc/docs/configure-private-google-access.md.txt#config-domain).
4. If you have existing application deployments, redeploy your applications to
   integrate them with your VPC Service Controls perimeter:

   1. [Preview](https://docs.cloud.google.com/sdk/gcloud/reference/design-center/spaces/applications/preview)
      and [deploy](https://docs.cloud.google.com/sdk/gcloud/reference/design-center/spaces/applications/deploy)
      your applications using the `--worker-pool` flag.

   2. Specify the worker pool in the following format:
      `projects/PROJECT_ID/locations/LOCATION/workerPools/WORKER_POOL_ID`.

## What's next

To preview and deploy applications, specify your worker pool in the following
commands:

- [gcloud design-center spaces applications preview](https://docs.cloud.google.com/sdk/gcloud/reference/design-center/spaces/applications/preview)

- [gcloud design-center spaces applications deploy](https://docs.cloud.google.com/sdk/gcloud/reference/design-center/spaces/applications/deploy)