Using Azure
This is a step-by-step guide to deploy an Aptos validator and validator fullnode (VFN) using Microsoft Azure. Using this guide, the validator and VFN will be deployed on separate machines.
Before you begin, make sure to read and understand the Node Requirements. Similarly, make sure you have installed the Aptos CLI, Terraform, Kubernetes CLI, and Azure CLI. This guide assumes that you already have an Azure account setup.
Deployment steps
If you follow the default setup in this document, then your validator and VFN will be connected to the Aptos mainnet.
To connect to a different Aptos network, such as testnet, make sure you download the correct genesis and waypoint
files for the network you want to connect to. Similarly, you will need to modify the Terraform files to use the
correct configurations (e.g., source
, image_tag
and chain_id
).
-
Create a working directory for your Aptos nodes, and pick a username for your nodes, e.g.,
export WORKSPACE=mainnet
export USERNAME=alice
mkdir ~/$WORKSPACE
cd ~/$WORKSPACE