Deploy your replicator node
In this page, we introduce instructions to deploy your Carmentis node. Whatever the manner you choose, the deployment is organized in two steps: (1) setup a node configuration and (2) launch the node based on the provided configuration.
A replicator node can be launched with a minimal configuration by running only a node. Validator nodes, however, are expected to run both a node and an operator. In theory, we encourage to install a node and an operator in distinct servers to improve security and modularity. In practice, since we are using Docker, both node and operator can be installed on the same server, this configuration is called validator set up. For more convenience, we provide two distinct documentation pages:
- Follow this link to deploy a replicator node
- Follow this link to deploy a validator node
Prerequisites
- For replicator nodes, a laptop is enough even more when testing the network. In production, we recommend a server with at least 2 cores and 4GB of RAM.
- For validator nodes, we recommend a server with at least 2 cores and 4GB of RAM. The server should be externally accessible with a public IP address and
a domain name (e.g.,
node.your-domain-name
) pointing to your server. We do not assume the server to handle TLS as we use a reverse proxy server (like Caddy) to handle TLS while it is not mandatory.
Set up node configuration
Docker installation
Docker is intensively used in our procedure to install, configure and run components.
Follow the instructions on the official Docker documentation to install Docker.
To check your installation, run docker run --rm hello-world
.
Be careful, old docker versions are using docker-compose
name.
Set up node configuration using CLI
We provide a CLI to set up the configuration quickly.