To speed up the sync time for your Kovan node, we recommend that you create your instance with the following configuration:
- High memory, 16GB+. Then set this flag to increase the cache size
- High disk space, 250GB+.
- High bandwidth, 5Gbps+.
- Multiple cores, 4+. Then set these flags to utilize multi-core instance
Our recommendation is to use at least a 4-core, 16GB memory instance with over 250GB of disk space.
User=ubuntu to your user name.
sudo vi /etc/systemd/system/kovan.service
Reload and start service
With the recommended settings, a full sync takes around 1 day to complete.
Check if the node RPC is up and running.
Check the block gap.
When the node is fully synced you should see the below response. Otherwise, you will be shown synced blocks and total blocks in hex format.
Run this to verify if the node is fully synced and working properly
We use Caddy as reverse proxy here, you can select your own proxy and perform similar config.
- Create a DNS record for the RPC. Example: kovan.example.com
- Configure proxy
- Configure system service
sudo vi /etc/systemd/system/caddy.service
- Reload and start service
- Query the RPC via DNS name