Skip to content
Public Cloud Deployment

Amazon AMI Installation

This document contains instructions on how to install VoipNow in Amazon cloud using the AMI (Amazon Machine Image).

Requirements

In order to use VoipNow in Amazon Cloud, you need to have an account at Amazon Web Services.

Once you've created your account, go to the AWS Console and select the EC2 section.

Deployment Options

There are two ways to deploy VoipNow on AWS:

  1. Terraform Infrastructure as Code - Automated deployment using Terraform modules
  2. 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 AMI or custom images for your cloud provider.

The module includes complete documentation, examples, and automated setup for networking, security groups, and VoipNow deployment.


Option 2: Base OS + Command Line Installer

You can provision an EC2 instance with AlmaLinux 8 or Rocky Linux 8, then follow the Command Line Installer guide to install VoipNow.

Configure Security Group (Firewall)

By default, AWS blocks all incoming traffic to the EC2 instance. You need to configure the Security Group to allow the required traffic for VoipNow.

In the EC2 console, select your instance and click on the Security tab. Click on the Security Group link to edit the inbound rules. Add the following rules:

  • 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:

bash
ssh 4psa@<serverip> -i <privatekey.pem>

To gain root privileges, run the following command:

bash
sudo su -

To set the web admin password, run the following command as root:

bash
/usr/local/voipnow/bin/chadminpass.sh

Access 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

Last updated: Feb 2, 2026