OpenSpeedTest — a free, self-hosted HTML5 network speed test (download, upload, ping, jitter) that runs entirely in the browser with no Flash, Java, or client. Deployed as a host-networked, stateless Nomad service.
Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.
Source ↗ Project ↗ ★ 3.8k ⚑ Report an issue
Save as values.hcl, edit, then run:
# The name of the Nomad job.
job_name = "openspeedtest"
# The Nomad namespace to deploy into.
namespace = "default"
# The datacenters to deploy to.
datacenters = ["*"]
# The OpenSpeedTest container image. Pin a tag in production.
image = "openspeedtest/latest:latest"
# Host port for the HTTP web UI (HTTP_PORT).
port = 3018
# Host port for the HTTPS web UI (HTTPS_PORT). Accurate results above ~1 Gbps need HTTPS/HTTP2.
https_port = 3019
# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []
# Resources for the OpenSpeedTest task.
resources = {
cpu = 500
memory = 128
}
| Name | Type | Default | Description |
|---|---|---|---|
| job_name | string | "openspeedtest" | The name of the Nomad job. |
| namespace | string | "default" | The Nomad namespace to deploy into. |
| datacenters | list | ["*"] | The datacenters to deploy to. |
| image | string | "openspeedtest/latest:latest" | The OpenSpeedTest container image. Pin a tag in production. |
| port | number | 3018 | Host port for the HTTP web UI (HTTP_PORT). |
| https_port | number | 3019 | Host port for the HTTPS web UI (HTTPS_PORT). Accurate results above ~1 Gbps need HTTPS/HTTP2. |
| constraints | list | [] | Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true". |
| resources | object | {
cpu = 500
memory = 128
} | Resources for the OpenSpeedTest task. |
No variables match.
OpenSpeedTest — a free, self-hosted HTML5 network speed test. Measure download, upload, ping, and jitter straight from the browser, with no Flash, Java, or client app. Great for checking LAN/WAN throughput between your devices and a server.
Single host-networked Nomad service. Stateless — no volumes.
nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run openspeedtest --registry=nomploy
| Variable | Default | Description |
|---|---|---|
port |
3018 |
HTTP web UI port (HTTP_PORT). |
https_port |
3019 |
HTTPS web UI port (HTTPS_PORT). |
image |
openspeedtest/latest:latest |
Container image. Pin a tag in production. |
resources |
{ cpu = 500, memory = 128 } |
Task resources. |
Open http://<node-ip>:3018. For accurate results above ~1 Gbps use the HTTPS URL (needs
HTTP/2). Throughput is limited by the server's NIC and the network path, so run it on a well-connected
node and test from another device.