This tutorial introduces deploying a new node on AWS and join the Panacea Mainnet.
Launch an AWS EC2 Instance
Choose an AMI
Choose Ubuntu Server 20.04 LTS 64-bit (x86) with SSD Volume Type.
Choose the instance type
Choose the m5.large instance type (minimum spec).
Configure instance details
Choose an existing VPC or default one if you don't have any
Choose an existing subnet or default one if you don't have any
Auto-assign Public IP
Enable only if you access a full node from the outside of its VPC
Follow default settings
Add a storage
General Purpose SSD (gp3)
Configure a Security Group
P2P with other nodes
The P2P 26656 port must be exposed to other Panacea nodes. If your node will be in the VPC guarded by Sentry nodes, expose 26656 to only Sentry nodes (recommended). If not, expose it to anywhere. For details about Sentry nodes, please see the Tendermint guide.
The RPC 26657 and REST API 1317 ports are for sending transactions/queries to your node. So, expose them to the network where you perform operational actions.
Connect to your EC2 instance and install prerequisites.
In production, it is recommended to run the process in background by following the guide below.
To run the node in a background process with automatic restarts, you can use a service manager like systemd. This is more reliable way to run a background process in the long term. To set this up, run the following: