domino logo
Latest (5.5)
  • About Domino
  • Architecture
  • Security and Compliance
  • Domino Infrastructure
  • Kubernetes Infrastructure
  • Installation
  • Data Planes
  • Execution Resources
  • Users
  • Keycloak Authentication Service
  • Data
  • Projects
  • Environments
  • Model Monitoring
  • Control Center
  • Logs and Monitoring
  • Backup and Restore
  • Disaster Recovery
  • Configuration Reference
  • Run the Admin Toolkit
  • MongoDB Console
  • Get Help
domino logo
About Domino
Domino Data LabKnowledge BaseData Science BlogTraining
Admin Guide
>
Installation
>
Google Cloud Platform (GCP) Deployments
>
Provision Infrastructure and Runtime Environment

Provision Infrastructure and Runtime Environment

Important

Use this topic to provision infrastructure with Google Cloud Platform (GCP). After the infrastructure is in place, you can deploy Domino on Google Kubernetes Engine (GKE).

Orchestrate the installation
  1. In the GCP console, go to Identity and Access Management services (IAM) and select Include Google-provided role grants. Filter by Kubernetes Engine Service Agent and click the pencil icon.

    A screenshot of the GCP console
  2. Add the Cloud KMS CryptoKey Encrypter/Decrypter role to the service principal.

    A screenshot of the edit permissions page
Provision your infrastructure with Domino’s Terraform module

Domino recommends that you use our public-facing GCP-specific Reference Terraform module. You can also reference this module to manually provision the environment and infrastructure.

  1. Open the main.tf file, go to the gke_cluster module, and edit the attributes as follows:

    • gke_cluster.project: Name of the project where the cluster will be deployed.

    • gke_cluster.cluster_name: Name of the cluster to create.

    • gke_cluster.location: Location of the cluster.

    • gke_cluster.master_authorized_networks_config.cidr_block: External network that can access Kubernetes master through HTTPS. Must be specified in Classless Inter-Domain Routing (CIDR) notation.

    • gke_cluster.node_pool_overrides.gpu.node_locations: Location of the GPU nodes.

  2. To initialize the modules, run the following command in the same folder as main.tf:

    gcloud init
    gcloud auth application-default login
    terraform init
  3. To start the infrastructure deployment, run the following commands:

    terraform plan -out=terraform.plan
    terraform apply terraform.plan
    Tip
Important
Domino Data LabKnowledge BaseData Science BlogTraining
Copyright © 2022 Domino Data Lab. All rights reserved.