High-performance, low-latency messaging system with message persistence, streams, and consumers via JetStream. Ideal for microservices, event-driven architectures, and work queues.
Version:
2.12.4
back to Marketplace
nats://<IP_DE_LA_VM>:30422
nats://<AUTH_TOKEN>@<IP_DE_LA_VM>:30422
ℹ️ If you did not configure the token during deployment, look for it in the deployment outputs in the Cuemby portal.
# Install nats CLI
`curl -sf https://binaries.nats.dev/nats-io/natscli/nats@latest | sh`
# Verify connection
`nats server info` --server nats://<AUTH_TOKEN>@<VM_IP>:30422`
# Publish a test message
`nats pub my.subject "hello world"` --server nats://<AUTH_TOKEN>@<VM_IP>:30422`
# Subscribe to a subject
`nats sub my.subject` --server nats://<AUTH_TOKEN>@<VM_IP>:30422`
// Go (nats.go)
nc, _ := nats.Connect("nats://<IP_DE_LA_VM>:30422",
nats.Token("<AUTH_TOKEN>"))
# Python (nats-py)
nc = await nats.connect("nats://<IP_DE_LA_VM>:30422",
token="<AUTH_TOKEN>")
// Node.js (nats.ws / nats.js)
const nc = await connect({
servers: "<IP_DE_LA_VM>:30422",
token: "<AUTH_TOKEN>"
});
NATS exposes a real-time metrics dashboard on port 30822:
http://<IP_DE_LA_VM>:30822/
Useful endpoints:
# General server info
curl http://<VM_IP>:30822/varz
# JetStream status
curl http://<VM_IP>:30822/jsz
# Active connections
curl http://<VM_IP>:30822/connz# View the NATS pod
`kubectl get pods -A | grep nats`
# View the installation log
`tail -f /var/log/cuemby/bootstrap.log`
# Verify that the ports are listening
`ss -tlnp | grep -E '30422|30822'`
Expected output:
NAME READY STATUS RESTARTS
nats-jetstream-xxxxxxxxx 1/1 Running 0 ← Running ✓
# Create a stream
nats stream add MY_STREAM
--subjects "events.>"
--storage file
--server nats://<AUTH_TOKEN>@<VM_IP>:30422
# View existing streams
nats stream ls
--server nats://<AUTH_TOKEN>@<VM_IP>:30422
# Publish a persisted message
nats pub events.new "{'id': 1, 'type': 'log'}"
--server nats://<AUTH_TOKEN>@<VM_IP>:30422
# Create a consumer and read messages
nats consumer add MY_STREAM MY_CONSUMER
--server nats://<AUTH_TOKEN>@<VM_IP>:30422
💡 Tip: JetStream uses `--storage file` for disk persistence and `--storage memory` for maximum speed without persistence. For production, always use `file`.

IaaS
Cuemby Cloud is enterprise-grade cloud infrastructure managed from a single console, built for stronger security, predictable operations, and easy scaling across regions.
Datacenters regions available in Colombia, Ecuador, and Chile
Backed by Tier III / Tier IV data center locations
Zero Network Ingress and Egress Fees
24/7 local expert support