The following provides an example node setup. Performance related parameters will vary per chain.
8545
and 8546
). Limit connection to these ports to the BlockScout application server’s IP address if setting up BlockScout (find in the details section of your created instance) or to your local network. You can also set limit port connections later through the EC2 -> Security Groups panel..pem
) file, the user name for your AMI, and the public DNS name for your instance. For example, if you used Amazon Linux 2 or the Amazon Linux AMI, the user name is ec2-user
. If ubuntu, the user name is ubuntu
. Find info about your instance
Example: ssh -i /path/my-key-pair.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com
vim node.toml
parity --config node.toml
192.0.2.1:8545
pruning="archive"
, fatdb="on"
, tracing="on"
."web3","eth","net","parity","pubsub","traces"
APIs.processing_threads
, server_threads
or cache_size_db
will vary based on the chain size, available hardware, parity version, general traffic load etc. Often these are adjusted through a trial-and-error process. See below for xDai Archive Node Specs.