Skip to content

Commit

Permalink
doc file
Browse files Browse the repository at this point in the history
  • Loading branch information
Markuze committed Sep 30, 2022
1 parent ecc37d7 commit 0f28540
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ slug: "node-requirements"

# Node Requirements

To make your validator node and validator fullnode deployment hassle-free, make sure you have the resources specified in this document.
To make your validator node and validator fullnode deployment hassle-free, make sure you have the resources specified in this document.

## Validator and validator fullnode

- For the Aptos mainnet, we require that you run a validator node and a validator fullnode. We strongly recommend that you run the validator node and the validator fullnode on two separate and independent machines. Make sure that these machines are well-provisioned and isolated from each other. Guaranteeing the resource isolation between the validator and the validator fullnode will help ensure smooth deployment of these nodes.
- We recommend that optionally you run a public fullnode also. However, a public fullnode is not required. If you run public fullnode also, then we strongly recommend that you run the public fullnode on a third machine that is separate and independent from either the validator or the validator fullnode machines.
- We recommend that optionally you run a public fullnode also. However, a public fullnode is not required. If you run public fullnode also, then we strongly recommend that you run the public fullnode on a third machine that is separate and independent from either the validator or the validator fullnode machines.
- For best availability and stability, **we recommend that you deploy your nodes on the cloud**. For deploying the nodes in cloud we have provided Terraform support on three cloud providers: GCP, AWS and Azure. See [**Running Validator Node**](running-validator-node/index.md).
- Make sure that you open the network ports prior to connecting to the network. See [Ports](#ports).
- Make sure that you close these ports after either being accepted or rejected for the network.

## Nodes in test mode

You must run the validator node and the validator fullnode in the test mode to be eligible for mainnet or testnet. This is a method Aptos Labs uses to verify that a node operator can successfully start a validator node and validator fullnode and configure them properly with the Aptos network identity.
You must run the validator node and the validator fullnode in the test mode to be eligible for mainnet or testnet. This is a method Aptos Labs uses to verify that a node operator can successfully start a validator node and validator fullnode and configure them properly with the Aptos network identity.

In test mode, you will be running a local network with one single validator node and one single validator fullnode, and they both should be functioning like a normal blockchain.

Expand Down Expand Up @@ -50,7 +50,7 @@ Hardware requirements depend on the transaction rate and storage demands. Over t

**Local SSD vs. network storage**

Cloud deployments typically must make a decision between using local or network storage (for example, AWS EBS, GCP PD). Local SSD typically provides lower latency and cost, especially relative to IOPS.
Cloud deployments typically must make a decision between using local or network storage (for example, AWS EBS, GCP PD). Local SSD typically provides lower latency and cost, especially relative to IOPS.

Network storage usually requires additional CPU support to scale IOPS. However, network storage provides better support for backup snapshots and provide resilience for then nodes in scenarios where the instance is stopped. Network storage makes it easier to support storage needs for high availability.

Expand All @@ -64,7 +64,10 @@ There are three types of Aptos networks. Your node can be configured so that eac
2. **The public network:** A public fullnode connects to this network.
3. **The validator fullnode network (VFN network):** A validator fullnode connects to this network. The VFN network allows the validator fullnode to connect to the specific validator.

You can configure the port settings on your node using the configuration YAML file. See the [example configuration YAML here](https://github.com/aptos-labs/aptos-core/blob/4ce85456853c7b19b0a751fb645abd2971cc4c0c/docker/compose/aptos-node/fullnode.yaml#L10-L9). With this configuration YAML on your node, the public network connects to your node on port 6182 and the VFN network on 6181. Because these port settings are configurable, we don't explicitly say port X is for network Y.
You can configure the port settings on your node using the configuration YAML file.
See the [example configuration YAML here](https://github.com/aptos-labs/aptos-core/blob/4ce85456853c7b19b0a751fb645abd2971cc4c0c/docker/compose/aptos-node/fullnode.yaml#L10-L9).
With this configuration YAML on your node, the public network connects to your node on port 6182 and the VFN network on 6181.
Because these port settings are configurable, we don't explicitly say port X is for network Y.

### Port settings

Expand Down

0 comments on commit 0f28540

Please sign in to comment.