Skip to content

ElagabalxNode/aptos-operator

 
 

Repository files navigation

Aptos Node Operator Ansible Scripts

Design Philosophy

  1. Cover scenarios with multiple playbooks (initial setup, node upgrade, validator migration, etc)
  2. Support both testnet and mainnet
  3. Support both validator and validator fullnode
  4. Will support public fullnode at a later date

TL/DR

Once all set, you run one playbook to do a task, such as:

ansible-playbook main.yml -e "target=validator_mainnet"

The target can be:

  • validator_mainnet
  • fullnode_mainnet
  • validator_testnet
  • fullnode_testnet

Set up your own inventory file

First create your own inventory file by copying the sample one. Then you customize the file with your own.

cp inventory.sample.yaml inventory.yaml

Playbooks

Playbook Description
main.yml Set up a new node
main_upgrade.yml Upgrade the node version and restart service

Limitation

These playbooks do not touch any key files. We already do it manually. We think you should too.

Additional Ideas for future implementation

Node Validator Validator Fullnode Public Fullnode
P2P port 6180 Open to all, 6181 Open to vfn None open 6182 Open to all
Prometheus port 9101 Open to monitor server Open to monitor server Open to monitor server
REST PORT 8080 Close Close Open or reverse proxy to 80/443

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 100.0%