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 ~1 hour, while lftp utility indexing the remote folder):
2. Run Geth mounting the datadir folder:
To view geth log: