Cloud key management
Deploying CryptoHub in Google ...

Set up the environment

5min

Prepare your Google Cloud environment and GKE cluster for deployment. This section guides you through enabling necessary APIs, cluster creation, and preparing the deployment artifact.

Prepare Google Cloud

Perform the following steps to enable the required Google Cloud APIs:

1

In the Google Cloud Console, navigate to APIs & Services > Library.

2

Search for and enable the following APIs:

  • Kubernetes Engine API
  • Google Container Registry API

Configure the cluster

Perform the following tasks to configure the cluster:

1 | Create a GKE Cluster

1

In the GCP Console, go to Kubernetes Engine > Clusters.

2

Click [ Create cluster ].

3

Configure the cluster settings:

  • Choose a name, location type (Zonal or Regional), and zone/region
  • Select the cluster version (latest stable recommended)
  • Choose the node pool configuration (machine type, disk size, auto-scaling, etc.)
  • Configure other settings as needed (networking, security, etc.)
4

Click [ Create ] to provision the GKE cluster.

2 | Configure kubectl to connect to the GKE cluster

1

Once the cluster is running, click [ Connect ].

2

Copy the provided gcloud command and run it in your local terminal.

3

This configures kubectl to authenticate with your GKE cluster.

Configure artifact handling

1

Open a terminal (on Linux) or PowerShell (on Windows).

2

Change to the directory containing the cryptohub-k8-7.0.2.x.tar archive file by running the command:

Shell


Replace /path/to/directory/ with the path where you put the archive file.

3

Extract the cryptohub-k8-7.0.2.x.tar archive file with the following command:

Shell

4

Go to the cryptohub-k8-7.0.2.x directory:

Shell


The cryptohub-k8-7.0.2.x directory contains the following files:

  • cryptohub-0.0.2.tgz
  • secrets/cryptohub-tls-secret.yaml