How to reduce time to sync Ethereum Geth node from few weeks to few hours?
Here is the answer!
To create your own Ethereum full node...
you need to have powerful server with a fast storage, fast internet connection and enough time to synchronize node with the network
Full sync benchmark on two i3.2xlarge AWS EC2 instances ($0.624 per Hour, 8 cores, 61 GiB RAM, ephemeral volume 1.9 TiB NVMe SSD, if you stop the instance - you will lose all data)
with --cache=4096 --maxpeers=50 --syncmode=full
Here is a way to download data from the existing node and continue to sync:
1. Download chaindata folder:
To view downloading log. Be ready to wait a few hours (23 hours on 3.3GHz CPU), until wget creates the list of files that will be downloaded:
2. Run Geth mount the datadir folder:
To view geth log: