Use VPC Service Controls with App Hub

VPC Service Controls helps you protect App Hub resources by establishing service perimeters that mitigate data exfiltration risks. You can restrict access to the apphub.googleapis.com API within a perimeter to control operations such as creating and deleting applications, services, and workloads.

Supported resources

We recommend that you protect all App Hub resources when creating a service perimeter.

App Hub supports the following resource types:

  • Application
  • Discovered service
  • Discovered workload
  • Service
  • Service project attachment (only for applications managed by a host project)
  • Workload

Applications in a management project

When you enable the App Hub API for a single-project or folder-level boundary, the system enables the required APIs for application management in the management project.

After the management project is created, you can also enable recommended APIs that provide more application-centric features.

To include the management project in a service perimeter, create or update your service perimeter so that the management project and the enabled APIs are included in the perimeter.

For applications in a folder boundary, VPC Service Controls restrictions apply only to App Hub interactions in the management project. App Hub can read application data and discover services and workloads for all descendent projects of the app-enabled folder, even if those projects are not in the same perimeter as the management project.

To learn about which APIs are required and recommended, see Required and recommended APIs.

Applications managed by a host project

For legacy host projects, you can only attach a service project if the host project and service project are in the same perimeter. If you move a previously-attached service project outside the perimeter, the service project's resources remain accessible until you detach the service project from the host project.

What's next