NetBeez NextGen (Version 20.0+) can be self-hosted on your own Amazon Web Services (AWS) EC2 infrastructure. The NextGen host-native installer provisions the complete containerized platform—including the Rails web application (nb-app), PostgreSQL with TimescaleDB, Apache Kafka, NATS, HashiCorp Vault, agent communication services, and NGINX—on Ubuntu LTS.
In this article:
AWS Instance Sizing Requirements
Select an EC2 instance type based on the number of Network Agents and Remote Worker Agents that will report to the server. The sizing table below assumes up to 50 continuous target tests per Network Agent; Remote Worker Agents count as half of a Network Agent (up to 25 target tests per endpoint). Higher test frequencies, short Ping intervals, Path Analysis flows, or extended Data Retention windows may require additional CPU, memory, and EBS storage.
Network Agents | Recommended EC2 Type | vCPU | RAM (GB) | EBS Storage |
0 – 10 |
| 2 | 8 | 200 GB |
11 – 60 |
| 4 | 16 | 300 GB |
61 – 100 |
| 8 | 32 | 500 GB |
101 – 200 |
| 16 | 64 | 1 TB |
201 – 500 |
| 32 | 128 | 2 TB |
501 – 1,000 |
| 48 | 192 | 3 TB |
1,001 – 2,500 |
| 64 | 256 | 4 TB |
Step 1: Launch and Configure an EC2 Instance
Operating System: Launch a clean 64-bit Ubuntu Server 22.04 LTS or Ubuntu Server 24.04 LTS AMI (Ubuntu 20.04 LTS or newer is required by the NextGen installer). Do not install snap-packaged Docker; the NetBeez installer installs official Docker Engine and the Docker Compose v2 plugin automatically.
Instance Type & EBS Storage: Choose an instance type (such as the
m6aorm6igeneral-purpose family) and GP3 EBS root volume sized according to the table above. PostgreSQL + TimescaleDB stores time-series hypertables on/var/lib/postgresql, so ensure sufficient root volume capacity.Elastic IP & DNS Record: Allocate and associate an AWS Elastic IP (EIP) rather than relying on an ephemeral auto-assigned public IPv4 address, which changes if the instance is stopped and started. Create a DNS
Arecord for your chosen Fully Qualified Domain Name (FQDN) pointing to the Elastic IP, and share that FQDN with success@netbeez.net or support@netbeez.net so your server registration is provisioned in NetBeez IMS.Security Group Rules: Attach an EC2 Security Group with the following rules (see Network Firewall Settings for strict destination hostnames if restricting egress):
Inbound TCP 443 (HTTPS): Required from dashboard users, API/MCP clients, and NetBeez agents (serves the web UI, JSON:API, MCP endpoint, agent software update packages, and optional WebSocket agent connections).
Inbound TCP 20018: Required from all NetBeez Network Agents and Remote Worker Agents using the default TLS control/telemetry socket.
Inbound TCP 80 (HTTP): Optional; redirects browsers to HTTPS and is required if you plan to issue or renew Let's Encrypt HTTP-01 certificates.
Inbound TCP 22 (SSH): Restrict to your administrative IP ranges (and NetBeez Support IPs if remote assistance is requested).
Outbound: Allow outbound HTTPS (
TCP 443), HTTP (TCP 80), NTP (UDP/TCP 123), and SMTP (TCP 25/465/587) so the host installer can reach NetBeez IMS (ims.netbeez.net), AWS IAM Roles Anywhere, S3 release bundles, AWS ECR container registries, and Ubuntu/Docker package mirrors.
Step 2: Run the NetBeez Host Installer
Connect to the EC2 instance over SSH as a user with root or passwordless
sudoprivileges.Run the installation command provided by the NetBeez team (contact support@netbeez.net if you have not received your server credentials). Running under
nohupis recommended so an interrupted SSH session cannot halt installation:nohup bash -c 'curl -fsS -H "Authorization: Bearer <SERVER_SECRET_KEY>" -H "Content-Type: text/plain" "https://ims.netbeez.net/servers/<SERVER_ID>/install?release_channel=dashboard-next/production&release_version=latest" | sudo bash' > /var/log/netbeez-install.log 2>&1 < /dev/null &
Monitor installation progress until completion (typically 15–30 minutes):
sudo tail -f /var/log/netbeez-install.log
The idempotent NextGen installer installs Docker Engine, Docker Compose v2, AWS CLI v2, and the AWS IAM Roles Anywhere signing helper; downloads the signed release bundle into
/opt/netbeez; initializes and unseals HashiCorp Vault (nb-vault); provisions IMS certificates; starts all NextGen services; and configures the hourly update detector (/etc/cron.d/nb-update-check) and systemd apply units (nb-update-apply.path).Verify that all services are healthy and the Rails health check responds:
source /opt/netbeez/app_data/netbeez.rc nb-docker-compose ps curl -fsk https://localhost/up
Step 3: Configure HTTPS Certificates
During initial installation, IMS provisions an HTTPS certificate pair at /opt/netbeez/user_data/secrets/netbeez.crt and /opt/netbeez/user_data/secrets/netbeez.key served by nb-nginx (separate from the IMS-issued server-agent.crt and server-agent.key used for agent socket TLS). To eliminate browser warnings for users, install a certificate signed by your organization's Certificate Authority or configure Let's Encrypt following Update HTTPS Certificates on a Self-Hosted Server.
Step 4: Complete First-Run Setup and Licensing
Open
https://<SERVER_FQDN>in your browser to register the initial Administrator account and step through the First-Run & Onboarding Wizard.Navigate to Settings → License to verify your active license entitlements. If a license token was not pre-applied during installation, copy your System Hardware ID from Settings → Information & Health (or Settings → License), send it to success@netbeez.net, and paste the issued license token into the License Token card.
Configure Settings → Integrations & Notifications → SMTP so the server can deliver user invitations, password reset links, Remote Worker installation emails, and alert notifications.
