Skip to main content
Google Cloud is a fully supported deployment platform for Tensor9 BYOC appliances. Deploying to Google Cloud customer environments provides access to Google’s global infrastructure, its security and scaling controls, and integration with customers’ existing Google Cloud resources.

Overview

When you deploy an application to Google Cloud customer environments using Tensor9 BYOC:
  • Customer appliances run entirely within the customer’s Google Cloud project
  • Your control plane orchestrates deployments from your dedicated Tensor9 BYOC AWS account
  • Service account impersonation enables your control plane to manage customer appliances with customer-approved permissions
  • Service equivalents compile your origin stack into Google Cloud-native resources
Google Cloud appliances use Google Cloud services for compute, storage, networking, and observability, so they fit into the Google Cloud environments your customers already run.

Prerequisites

Before deploying appliances to Google Cloud customer environments, ensure:

Your control plane

  • Dedicated AWS account for your Tensor9 BYOC control plane
  • Control plane installed - See Installing Tensor9 BYOC
  • Origin stack published - Your application infrastructure defined and uploaded

Customer Google Cloud project

Your customers must provide:
  • Google Cloud project where the appliance will be deployed
  • Service accounts configured for the four-phase permissions model (Install, Steady-state, Deploy, Operate)
  • VPC and networking configured according to their requirements
  • Sufficient API quotas for your application’s resource needs
  • Google Cloud region where they want the appliance deployed

Your development environment

  • gcloud CLI installed and configured
  • Terraform or OpenTofu (if using Terraform origin stacks)
  • Docker (if deploying container-based applications)

How Google Cloud appliances work

Google Cloud appliances are deployed using Google Cloud-native services orchestrated by your Tensor9 BYOC control plane.
1

Customer provisions service accounts

Your customer creates four service accounts in their Google Cloud project, each corresponding to a permission phase: Install, Steady-state, Deploy, and Operate. These service accounts define what your control plane can do within their environment.The customer configures IAM policies that allow your control plane’s service account to impersonate these service accounts with appropriate conditions (time windows, approval labels, etc.).
2

You create a release for the customer appliance

You create a release targeting the customer’s appliance:
Your control plane compiles your origin stack into a deployment stack tailored for Google Cloud, compiling any non-Google Cloud resources to their Google Cloud service equivalents. The deployment stack downloads to your local environment.
3

Customer grants deploy access

The customer approves the deployment by granting temporary deploy access. This can be manual (updating IAM policy conditions) or automated (scheduled maintenance windows).Once approved, the Tensor9 BYOC controller in the appliance can impersonate the Deploy service account in the customer’s project.
4

You deploy the release

You run the deployment locally against the downloaded deployment stack:
The deployment stack is configured to route resource creation through the Tensor9 BYOC controller inside the customer’s appliance. The controller impersonates the Deploy service account and creates all infrastructure resources in the customer’s Google Cloud project:
  • VPCs, subnets, firewall rules
  • Compute Engine instances, GKE clusters, Cloud Functions
  • Cloud SQL databases, Cloud Storage buckets, Memorystore clusters
  • Cloud Logging log sinks, service accounts, Cloud DNS records
  • Any other Google Cloud resources defined in your origin stack
5

Steady-state observability begins

After deployment, your control plane uses the Steady-state service account to continuously collect observability data (logs, metrics, traces) from the customer’s appliance without requiring additional approvals.This data flows to your observability sink, giving you visibility into appliance health and performance.

Service adapters

When you deploy an origin stack to Google Cloud customer environments, Tensor9 BYOC automatically compiles resources from other cloud providers to their Google Cloud equivalents. This allows you to maintain a single origin stack and deploy it across different customer environments.

How service equivalents work

When compiling a deployment stack for Google Cloud:
  1. AWS resources are compiled - AWS resources are converted to their Google Cloud equivalents
  2. Generic resources are adapted - Cloud-agnostic resources (like Kubernetes manifests) are adapted for Google Cloud
  3. Configuration is adjusted - Resource configurations are modified to match Google Cloud conventions and best practices

Common service equivalents

Which AWS services reach Google Cloud, what each becomes, and the tier it lands at are maintained in one place rather than repeated per form factor: see service adapters and the generated Service Catalog.
EC2, DynamoDB, and EFS are all offered. Some services are not adapted yet, including Step Functions, API Gateway, Cognito, AppSync, and Redshift. See Service Catalog.

Example: Compiling an AWS origin stack

If your origin stack defines a Lambda function:
Tensor9 BYOC compiles it to a Cloud Function for Google Cloud:

Permissions model

Google Cloud appliances use a four-phase service account permissions model that balances operational capability with customer control.

The four permission phases

Service account structure

Each service account is created in the customer’s Google Cloud project with IAM policies that allow your control plane to impersonate it. Example: Deploy service account with conditional access
Your control plane can only impersonate the Deploy service account when:
  • The deploy_access label is set to “enabled”
  • The current time is within the allowed window
Customers control when and how long deploy access is granted. Example: Steady-state service account (read-only observability)
The Steady-state service account:
  • Can read observability data from the appliance’s project, which holds only that appliance’s resources
  • Cannot modify, delete, or terminate any resources
  • Cannot change IAM policies

Deployment workflow with service accounts

1

Customer grants deploy access

Customer approves a deployment by setting the deploy_access label to “enabled” and defining a time window. This can be done manually or through automated approval workflows.
2

You execute deployment locally

You run the deployment locally against the downloaded deployment stack:
The deployment stack is configured to route resource creation through the Tensor9 BYOC controller in the appliance.
3

Controller impersonates Deploy service account and creates resources

For each resource Terraform attempts to create, the Tensor9 BYOC controller inside the appliance impersonates the Deploy service account and creates the resource in the customer’s project.All infrastructure changes occur within the customer’s project using their Deploy service account permissions.
4

Deploy access expires

After the time window expires, the Deploy service account can no longer be impersonated. Your control plane automatically reverts to using only the Steady-state service account for observability.
See Permissions Model for detailed information on all four phases.

Networking

Google Cloud appliances use an isolated networking architecture with a Tensor9 BYOC controller that manages communication with your control plane.

Tensor9 BYOC controller VPC

When an appliance is deployed, Tensor9 BYOC creates an isolated VPC containing the Tensor9 BYOC controller. This VPC is configured with:
  • Cloud NAT: Provides outbound internet connectivity
  • Route to control plane: Establishes a secure channel to your Tensor9 BYOC control plane
  • No ingress firewall rules: The controller VPC does not accept inbound connections - all communication is outbound-only
The Tensor9 BYOC controller uses this secure channel to:
  • Receive deployments: Deployment stacks are pushed from your control plane to the appliance
  • Configure observability pipeline: Set up log, metric, and trace forwarding to your observability sink
  • Receive operational commands: Execute remote operations initiated from your control plane

Outbound-only security model

The Tensor9 BYOC controller in your customer’s appliance is designed to only make outbound connections and not require ingress ports to be opened in your customer’s network perimeter:
This architecture ensures that the customer’s appliance cannot be compromised via inbound network attacks on the controller.

Application VPC topology

Your application resources run in their own VPC(s), completely separate from the Tensor9 BYOC controller VPC. The application VPC topology is defined entirely by your origin stack - whatever VPC resources you define in your origin stack will be deployed into the appliance. Example: Application VPC with internet-facing load balancer If your origin stack defines an AWS VPC with public subnets and a load balancer, that topology will compile to Google Cloud VPC resources in the customer’s appliance:
This application VPC topology is deployed alongside the Tensor9 BYOC controller VPC, but they remain completely separate. The controller VPC manages the control plane connection, while the application VPC handles your application’s traffic and resources.

Resource naming and labeling

All Google Cloud resources should incorporate the @namespace annotated variable to ensure uniqueness across multiple customer appliances.

Parameterization pattern

This page uses max_size=16 because service account IDs cap at 30 characters, which a longer namespace would exhaust.

Labeling resources

Label resources with whatever your own tooling needs. Tensor9 BYOC does not require any particular label: each appliance gets its own Google Cloud project, so telemetry and permissions are already scoped to it.
The appliance’s own project:
  • Scopes IAM role bindings to a single appliance
  • Isolates Cloud Logging and Cloud Monitoring telemetry by appliance
  • Helps customers track costs per appliance
  • Lets Tensor9 BYOC controllers discover the appliance’s resources

Observability

Google Cloud appliances provide observability through Cloud Logging, Cloud Monitoring, and Cloud Trace.

Cloud Logging

Application and infrastructure logs flow to Cloud Logging:
Your control plane uses the Steady-state service account to continuously fetch logs:
Logs are forwarded to your observability sink for centralized monitoring.

Cloud Monitoring

Infrastructure metrics are automatically collected:
  • Compute Engine: CPU utilization, network I/O, disk I/O
  • Cloud SQL: Database connections, query latency, storage usage
  • Cloud Functions: Invocations, execution time, errors
  • GKE: Node CPU/memory, pod counts, API server metrics
  • Cloud Load Balancing: Request counts, latency, HTTP status codes

Cloud Trace

Enable distributed tracing for Cloud Functions and containerized applications:
Cloud Trace data is accessible through the Steady-state service account and forwarded to your observability sink.

Cloud Audit Logs

All API calls within the customer’s Google Cloud project are logged to Cloud Audit Logs, providing a complete audit trail of what your control plane does:
  • Service account impersonations
  • Resource creation, modification, deletion
  • Permission denials
  • Configuration changes
Customers have full visibility into your control plane’s actions through their Cloud Audit Logs.

Artifacts

Google Cloud appliances automatically provision private artifact repositories to store container images and application files deployed by your deployment stacks.

Container images (Artifact Registry)

When you deploy an appliance, Tensor9 BYOC automatically provisions a private Artifact Registry repository in the customer’s Google Cloud project to store your container images. Example: Origin stack with container service Your AWS origin stack references container images from your vendor’s Amazon ECR:
Container copy during deployment When you deploy the deployment stack, Tensor9 BYOC automatically:
  1. Detects the container image reference in your ECS task definition
  2. Provisions a private Artifact Registry repository in the appliance (e.g., us-docker.pkg.dev/customer-project/myapp-000000007e/api)
  3. Copies the container image from your vendor ECR registry to the appliance’s private Artifact Registry
  4. Rewrites the deployment stack to reference the appliance-local registry
The compiled deployment stack will contain a Cloud Run service with the rewritten image reference:
This ensures the container image is stored locally in the customer’s project and the application doesn’t depend on cross-project access to your vendor registry. Artifact lifecycle Container artifacts are tied to the deployment stack lifecycle:
  • Deploy (tofu apply): Tensor9 BYOC copies the container image from your vendor registry to the appliance’s private registry
  • Destroy (tofu destroy): Deleting the deployment stack also deletes the copied container artifact from the appliance’s private registry
This ensures that artifacts are cleaned up when deployments are removed, preventing orphaned resources.

Function source code

For Lambda functions in your AWS origin stack, Tensor9 BYOC automatically handles copying function source code to the customer’s Google Cloud environment:
During deployment, Tensor9 BYOC:
  1. Provisions a private Cloud Storage bucket in the appliance for function sources
  2. Copies the Lambda source archive from your vendor S3 bucket to the appliance’s Cloud Storage bucket
  3. Compiles the Lambda function to a Cloud Run service with the appliance-local source reference
Like container images, destroying the deployment stack (tofu destroy) removes the copied function source archives. See Artifacts for documentation on artifact management, including immutability requirements and supported artifact types.

Secrets management

Store secrets in AWS Secrets Manager or AWS Systems Manager Parameter Store in your AWS origin stack, then pass them to your application as environment variables.

Secret naming and injection

Always use parameterized secret names and inject them as environment variables:
Your application reads secrets from environment variables:
Your application can keep using AWS Secrets Manager SDK calls on Google Cloud through the configured Secrets Manager service adapter. The adapter serves supported requests and maintains secret values and versions. Review the target-specific limits before deployment; environment variables remain an option for values needed at startup.
See Secrets for detailed secret management patterns.

Operations

Perform remote operations on Google Cloud appliances using the Operate service account.

kubectl on GKE

Execute kubectl commands against GKE clusters:
Output:

gcloud CLI operations

Execute gcloud commands:

Database queries

Execute SQL queries against Cloud SQL databases:

Operations endpoints

Create temporary operations endpoints for interactive access:
See Operations for the full operations documentation.

Example: Complete Google Cloud appliance

Here’s a complete example of a deployment stack for a Google Cloud appliance, compiled from an AWS origin stack:

main.tf

variables.tf

outputs.tf

Best practices

Every Google Cloud resource with a name or identifier should be prefixed with ${var.namespace} to prevent conflicts across customer appliances. Don’t skip project-scoped names: nothing stops two installs sharing one project:
Each appliance gets its own Google Cloud project, so you don’t need an appliance-identifying label. Label resources only for your own cost attribution and inventory.The project boundary provides:
  • IAM role bindings scoped to one appliance
  • Cloud Logging and Monitoring isolation
  • Cost tracking
  • Resource discovery
Configure logging for Cloud Functions, GKE, Cloud SQL, and other services:
This ensures observability data flows to your control plane.
Never hardcode secrets. Use AWS Secrets Manager or SSM Parameter Store with parameterized names in your AWS origin stack:
Environment variables supply values at application startup. For runtime AWS Secrets Manager reads, use the configured Secrets Manager service adapter and check the operations your application needs.

Troubleshooting

Symptom: Terraform apply fails with “Permission denied” or “403 Forbidden” errors.Solutions:
  • Verify your control plane has successfully impersonated the Deploy service account
  • Check the Deploy service account’s IAM roles include necessary permissions for the resources being created
  • Ensure the impersonation policy allows your control plane’s service account
  • Verify the deploy_access label is set and the time window hasn’t expired
  • Review Cloud Audit Logs in the customer project to see which specific API call was denied
Symptom: “Resource already exists” or “Name is already in use” errors during deployment.Solutions:
  • Ensure all resource names are prefixed with ${var.namespace}
  • Verify the @namespace annotated variable is being passed correctly
  • Check that no hardcoded resource names exist in your origin stack
  • For Cloud Storage buckets, remember they must be globally unique - prefix them with ${var.namespace}
Symptom: Cloud Logging and Monitoring data aren’t appearing in your observability sink.Solutions:
  • Verify the Steady-state service account has permissions to read logs and metrics
  • Check that the Steady-state service account is bound in the appliance’s project
  • Ensure log sinks are configured correctly
  • Verify resource names are parameterized and follow the expected pattern
  • Check that the control plane is successfully impersonating the Steady-state service account
Symptom: “Quota exceeded” errors when creating resources.Solutions:
  • Ask the customer to request quota increases from Google Cloud Console
  • Consider deploying appliances in separate Google Cloud regions
  • Ask the customer to review their current quota usage
  • Ask the customer to clean up unused resources in their project
Symptom: Cloud SQL instance creation fails with VPC peering errors.Solutions:
  • Ensure VPC has a private service connection allocated
  • Verify the IP address range doesn’t conflict with existing ranges
  • Check that servicenetworking.googleapis.com API is enabled
  • Ensure the Deploy service account has compute.networks.updatePolicy permission
If you’re experiencing issues not covered here or need additional assistance with Google Cloud deployments, we’re here to help:
  • Slack: Join our community Slack workspace for real-time support
  • Email: Contact us at [email protected]
Our team can help with deployment troubleshooting, service account configuration, service equivalents, and best practices for Google Cloud environments.

Next steps

Now that you understand deploying to Google Cloud customer environments, explore these related topics: