Nomploy Nomad Packs

← All packs

openspeedtest v0.1.0

Networking

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.

nomad-pack run openspeedtest --registry nomploy
…or one line (add registry + run)
curl -fsSL https://packs.nomploy.com/install.sh | sh -s -- openspeedtest

Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.

1 task http 3018https 3019 image openspeedtest/latest:latest tracks :latest image bumped today
Variables 8
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run openspeedtest -f values.hcl --registry nomploy
# 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
  }
NameTypeDefaultDescription
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.
Readme

openspeedtest

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.

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run openspeedtest --registry=nomploy

Configure

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.