GCP Cloud Deployment
This page contains instructions on how to deploy VoipNow in Google Cloud Platform (GCP).
Requirements
In order to use VoipNow in Google Cloud Platform, you need a GCP account. You can create one here.
Deployment Options
There are two ways to deploy VoipNow on GCP:
- Terraform Infrastructure as Code - Automated deployment using Terraform modules
- Base OS + Command Line Installer - Install VoipNow on AlmaLinux or Rocky Linux
Option 1: Terraform Infrastructure as Code
You can use Terraform/OpenTofu to automate the deployment process. The Terraform modules are available at https://github.com/4psa/voipnow-terraform.
The Terraform Infrastructure as Code uses VoipNow VM images available at https://repo.4psa.com/download/.
"Custom Image Creation"
You can always use VoipNow images available at https://repo.4psa.com/download/ to create your own GCE images or custom images for your cloud provider.
The module includes complete documentation, examples, and automated setup for networking, firewall rules, and VoipNow deployment.
Option 2: Base OS + Command Line Installer
You can create a VM with AlmaLinux 8 or Rocky Linux 8, then follow the Command Line Installer guide to install VoipNow.
Configure Firewall Rules
By default, GCP blocks all incoming traffic to the VM instance. You need to configure firewall rules to allow the required traffic for VoipNow.
In the Google Cloud Console, go to VPC network > Firewall. Create firewall rules to allow:
- TCP port 22 (SSH)
- TCP port 80 (HTTP)
- TCP port 443 (HTTPS)
- UDP port 5060 (SIP)
- UDP ports 10000-20000 (RTP media)
- UDP ports 4000-4999 (T.38 fax media)
- TCP port 5061 (SIP TLS)
- TCP port 25 (SMTP)
Set the Web Interface Password
We don't set any default passwords. So, you must set a password via SSH that will allow you to log in the VoipNow web interface.
After installation completes, connect via SSH using the 4psa user:
ssh 4psa@<serverip> -i <privatekey>To gain root privileges, run the following command:
sudo su -To set the web admin password, run the following command as root:
/usr/local/voipnow/bin/chadminpass.shAccess the VoipNow Web Interface
You can access the VoipNow web interface at https://<serverip>
Log in using the following details:
- Username:
admin - Password: the password you set earlier