Service account |
- The Compute Engine instance template uses the connected service account instead of creating a new service account. The connected service account is used for authentication and authorization to other Google Cloud services.
- The service account email and Identity and Access Management (IAM) information are added to the Compute Engine instance template.
|
Create a VM that uses a user-managed service account |
AlloyDB for PostgreSQL |
- The Compute Engine instances can connect to the AlloyDB instance.
- The AlloyDB resource metadata information is added to the instance template.
- The
roles/alloydb.admin role is granted to the Compute Engine instance template service account.
|
Connect from Compute Engine |
BigQuery |
- The Compute Engine instances can read from and write data to the BigQuery dataset.
- The BigQuery resource metadata is added to the Compute Engine instance template.
- The
roles/bigquery.dataEditor role is granted to the Compute Engine instance template service account.
|
BigQuery overview |
Bigtable |
- The Compute Engine instances can connect to and manage the Bigtable instance.
- The Bigtable resource metadata information is added to the instance template.
- The
roles/bigtable.admin role is granted to the Compute Engine instance template service account.
|
Bigtable overview |
Cloud SQL (MySQL) |
- The Compute Engine instances can connect to, read from, and write data to the Cloud SQL (MySQL) instance.
- The Cloud SQL connection metadata is added to the Compute Engine instance template.
- The
roles/cloudsql.instanceUser and roles/cloudsql.client roles are granted to the Compute Engine instance template service account.
- The Compute Engine service account is added as an IAM user to the Cloud SQL instance.
|
Connect from Compute Engine |
Cloud SQL (PostgreSQL) |
- The Compute Engine instances can connect to, read from, and write data to the Cloud SQL (PostgreSQL) instance.
- The Cloud SQL connection metadata is added to the Compute Engine instance template.
- The
roles/cloudsql.instanceUser and roles/cloudsql.client roles are granted to the Compute Engine instance template service account.
- The Compute Engine service account IAM information is added to the Cloud SQL instance.
|
Connect from Compute Engine |
Cloud Storage |
- The Compute Engine instances can control bucket objects, including listing, creating, viewing, and deleting objects.
- The
roles/storage.objectAdmin role is granted to the Compute Engine instance template service account.
|
Set and manage IAM policies on buckets |
Memorystore for Redis |
- The Compute Engine instances can manage and cache data in the Memorystore for Redis instance.
- App Design Center populates the Memorystore for Redis connection information into the Compute Engine metadata.
|
Deployment options for Redis on Google Cloud |
Memorystore for Redis Cluster |
- The Compute Engine instances can manage and cache data in the Memorystore for Redis Cluster instance.
- App Design Center populates the Memorystore for Redis Cluster connection information into the Compute Engine metadata.
|
Connect to a Memorystore for Redis Cluster instance |
Memorystore for Valkey |
- The Compute Engine instances can manage and cache data in the Memorystore for Valkey instance.
- App Design Center populates the Memorystore for Valkey connection information into the Compute Engine metadata.
|
Connect to a Memorystore for Valkey instance |
Pub/Sub |
- The Compute Engine instances can publish to and receive messages from the Pub/Sub topic.
- The Pub/Sub topic ID is added to the Compute Engine instance template metadata.
|
Subscription overview |
Regional Cloud Load Balancing frontend |
- The Compute Engine instances can redirect traffic to the regional Cloud Load Balancing frontend.
- The Cloud Load Balancing address is added to the Compute Engine instance template.
|
Forwarding rules overview |
Spanner |
- The Compute Engine instances can read from and write data in the Spanner instance.
- The
roles/spanner.databaseAdmin role is granted to the Compute Engine instance template service account.
- The Compute Engine IAM information is added to the Spanner instance.
|
Using Spanner in a virtual machine instance |
Vertex AI |
- The Compute Engine instances can interact with Vertex AI services.
- The
roles/aiplatform.user role is granted to the Compute Engine instance template service account.
|
Vertex AI access control with IAM |
Compute Engine (MIG) |
- The Compute Engine instance template is used to create instances in the managed instance group.
- The instance template self link is added to the Compute Engine MIG.
|
Basic scenarios for creating managed instance groups (MIGs) |