description: Installation and configuration of Nats on a VPS server in Hostkey documentation. Frequently asked questions about working with Nats on a server, its capabilities, and the solution for exchanging data between various application components or microservices. title: Nats - installation and configuration on a server, documentation and FAQ
Nats¶
Information
Nats is a high‑performance, lightweight, and scalable message broker designed for building distributed systems and microservice architectures. It operates on a publish‑subscribe model and also supports request‑reply interaction patterns. The service acts as a mediator between message senders and receivers, enabling independent interaction between them.
Nats. Core Features¶
- Simplicity and speed – NATS is written in Go and optimized for minimal latency and high throughput, capable of handling millions of messages per second.
- Lightweight – Minimal resource requirements make it ideal for containers, edge devices, and cloud environments.
- Support for multiple messaging models:
- Pub/Sub – publishers send messages to subjects, subscribers receive them.
- Request/Reply – synchronous exchange, with the message confirmed by a corresponding reply to the publisher.
- Queue Groups – concurrent processing: queue groups are defined by the application and its subscribers, not by server configuration.
- Scalability and resilience – NATS supports clustering, enabling the creation of fault‑tolerant and geographically distributed systems.
- Security – TLS support, authentication (tokens, username/password, JWT), and role‑based authorization.
- Language support – Official and third‑party client libraries are available for many languages: Go, Java, Python, JavaScript (Node.js), C#, Rust, Ruby, and more.
Deployment Features¶
| ID | Software Name | Compatible OS | VPS | BM | VGPU | GPU | Min CPU (Cores) | Min RAM (GB) | Min HDD/SSD (GB) | Available |
|---|---|---|---|---|---|---|---|---|---|---|
- Installed software:
- Docker
- NATS Server
The web interface will be accessible at: https:nats{Server_ID_from_Invapi}.hostkey.in.
Note
Unless otherwise specified, we install the latest release version of the software from the developer’s website or the operating system’s repositories by default.
Getting Started After Deploying NATS¶
After paying for the order, a notification will be sent to the email address provided during registration, indicating that the server is ready. It will include the VPS IP address, as well as a login and password for connection. Equipment management is handled by our clients through the server control panel and API — Invapi.
Authorization data can be found either in the Info >> Tags tab of the server control panel or in the email sent to you:
- Link to the NATS web panel: the tag
:fontawesome-solid-tags: _webpanel_; - Login:
root; - Password: delivered in the email when the server is ready after software deployment.

Note
Detailed information on the main NATS settings is available in the developer documentation.
Ordering NATS using API¶
To install this software using the API, follow this instruction.
Some of the content on this page was created or translated using AI.