User-defined Playground

NATS Cluster Playground

NATS Messaging System

NATS Cluster playground: NATS Messaging System
Machines & network
3 VMs · 10 vCPU · 16GiB RAM
Playground host Internet NAT MASQUERADE local (bridge) 172.16.0.0/24 gw 172.16.0.1/24eth0eth0eth0
VM
vCPU ·
eth0
/
ubuntu-26-04
VM
vCPU ·
eth0
/
ubuntu-26-04
VM
vCPU ·
eth0
/
ubuntu-26-04
About

http://github.com/nats-io/nats-server/

https://nats.io

What is NATS?

From Official NATS Website:

NATS is a high-performance, lightweight, open-source messaging system designed for building modern distributed systems, across any cloud or any arbitrary, user-defined edge.

It supports pub/sub, request/reply, and streaming with persistence (via JetStream), all through a single binary with minimal resource usage and sub-millisecond latency.

Official clients are available in Go, Rust, JavaScript (Node and Web), TypeScript (Deno), Python, Java, C#, C, Ruby, Elixir, and a CLI—plus 30+ community-contributed clients—making it easy to integrate across nearly any tech stack.

User Accounts:

System User

Username: admin

Password: Ss@N6FpJVKhfRyl6N%2vMe

JetStream User (User with JetStream enabled)

Username: user

Password: MTv-evw^jeC5PbMWCMag%P

Using the NATS CLI:

The NATS Servers are running at localhost:4222 in each instance (VM/Node)

Export the configurations and secrets as environment variables and then use the NATS CLI. For example:

export NATS_URL="localhost:4222"
export NATS_USER="admin"
# SYSTEM_USER_PASSWORD
export NATS_PASSWORD="Ss@N6FpJVKhfRyl6N%2vMe"

nats server check connection
export NATS_URL="localhost:4222"
export NATS_USER="user"
# JETSTREAM_USER_PASSWORD
export NATS_PASSWORD="MTv-evw^jeC5PbMWCMag%P"

nats server check connection
Every playground includes
Learn more about playgrounds
Start
Settings