This guide explains how to deploy the RELIANOID Community Edition virtual machine on Google Cloud Platform (GCP) using the official Terraform module from the Terraform Registry.
- VPC Network
- Subnet
- Firewall Rule (allowing SSH
22, Web GUI444) - Static External IP
- Network Interface
- Compute Instance using the RELIANOID community Edition image from Google Cloud Marketplace
Download and install Terraform for your operating system:
terraform -versionDownload and install the Google Cloud SDK.
Authenticate to your Google Cloud account:
gcloud auth login
gcloud config set project <YOUR_PROJECT_ID>You’ll need an SSH key to access the VM. If you don’t already have one:
ssh-keygen -t rsa -b 4096 -f id_rsaThis creates id_rsa (private key) and id_rsa.pub (public key).
Keep both in the same directory where Terraform files are stored.
Go to Terraform Registry
Search for: relianoid/relianoid-community/google
mkdir relianoid-gcp
cd relianoid-gcpCreate these files:
main.tfvariables.tfterraform.tfvarsoutputs.tf
module "relianoid-community" {
source = "relianoid/relianoid-community/google"
version = "1.0.0"
project_id = var.project_id
region = var.region
zone = var.zone
public_ssh_key_path = "${path.module}/id_rsa.pub"
}variable "project_id" {
description = "GCP Project ID"
type = string
}
variable "region" {
description = "GCP region for resources"
type = string
default = "us-central1"
}
variable "zone" {
description = "GCP zone for VM deployment"
type = string
default = "us-central1-a"
}project_id = "your-gcp-project-id"
region = "us-central1"
zone = "us-central1-a"output "instance_id" {
description = "The ID of the GCP VM instance"
value = module.relianoid-community.instance_id
}
output "instance_public_ip" {
description = "The public IP address of the RELIANOID VM"
value = module.relianoid-community.instance_public_ip
}
output "instance_private_ip" {
description = "The private IP address of the RELIANOID VM"
value = module.relianoid-community.instance_private_ip
}Run the following commands:
terraform init
terraform plan
terraform applyConfirm with yes when prompted.
After deployment, Terraform outputs the public IP address.
Connect via SSH:
ssh -i id_rsa admin@<instance_public_ip>The default username is admin.
Access the Web GUI in your browser:
https://<instance_public_ip>:444
| Output Name | Description |
|---|---|
| instance_id | The ID of the GCP VM instance |
| instance_public_ip | The public IP address of the VM |
| instance_private_ip | The private IP address of the VM |
To delete everything created by Terraform:
terraform destroy- Make sure you have accepted the Google Cloud Marketplace terms for the RELIANOID image before deployment.
- Keep your private key (
id_rsa) secure — never share it publicly. - The module provisions networking, firewall, and compute resources automatically.
© 2025 RELIANOID. All rights reserved.