er

a GCS Artifact Store connected to a GCS bucketa GCR Container Registry connected to a GCR container registry

a local Image Builder

As a last step, a simple pipeline is run on the resulting Stack.

Configure the local GCP CLI with valid user account credentials with a wide range of permissions (i.e. by running gcloud auth application-default login) and install ZenML integration prerequisites:Copyzenml integration install -y gcpCopygcloud auth application-default login

Example Command Output

```text

Credentials saved to file: [/home/stefan/.config/gcloud/application_default_credentials.json]

These credentials will be used by any library that requests Application Default Credentials (ADC).

Quota project "zenml-core" was added to ADC which can be used by Google client libraries for billing

and quota. Note that some services may still bill the project owning the resource.

```

Make sure the GCP Service Connector Type is availableCopyzenml service-connector list-types --type gcp

Example Command Output

```text

┏━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┯━━━━━━━┯━━━━━━━━┓

┃         NAME          │ TYPE   │ RESOURCE TYPES        │ AUTH METHODS    │ LOCAL │ REMOTE ┃

┠───────────────────────┼────────┼───────────────────────┼─────────────────┼───────┼────────┨

┃ GCP Service Connector │ 🔵 gcp │ 🔵 gcp-generic        │ implicit        │ ✅    │ ✅     ┃

┃                       │        │ 📦 gcs-bucket         │ user-account    │       │        ┃

┃                       │        │ 🌀 kubernetes-cluster │ service-account │       │        ┃

┃                       │        │ 🐳 docker-registry    │ oauth2-token    │       │        ┃

┃                       │        │                       │ impersonation   │       │        ┃

┗━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━┷━━━━━━━┷━━━━━━━━┛

```

Register a multi-type GCP Service Connector using auto-configurationCopyzenml service-connector register gcp-demo-multi --type gcp --auto-configure