Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to run a bsc archive node with aws ec2 with spot instance. What would be the disk space/cpu/ram requirement? Any tips on how to spend least amount of money?
Any tips on how to spend least amount of money? you can try to cache HDD disk with a small SSD if you use bcache kernel module, however it is not usable for syncing, only to keep the node running. So you can sync on fast server, and then move data to inexpensive bcache enabled server. I am using this setup to run archival node.
@Nulik, thanks so much for your suggestion. I didn't have a experience running a full archive node yet. Did you have some article that helps me on how to setup a full archive node on EC2?
@hg62819hg you don't have to run archival node, it is just a way to cut on SSD storage. Ethereum stores data in Merkle Trie, this data structure presents random data access pattern which is very unfriendly with slow disks. Due to SSD latency of only 50 microseconds, you can only have 20,000 accesses to disk per second, but there is also CPU running spending its time, so the speed of SSD is critical
so, if you are like running a trading bot, you need PCI v4 SSD , but if it is just for non-critical data extraction, like a dApp or something, bcache will help
bcache
kernel module, however it is not usable for syncing, only to keep the node running. So you can sync on fast server, and then move data to inexpensivebcache
enabled server. I am using this setup to run archival node.bcache
will help