0

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?

  • 1
    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 Aug 06 '21 at 02:05
  • @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? – hg628193hg Aug 06 '21 at 02:14
  • @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 – Nulik Aug 06 '21 at 02:18
  • I don't have articles – Nulik Aug 06 '21 at 02:19
  • 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 – Nulik Aug 06 '21 at 02:19
  • @Nulik, I actually need to run a archive node. Since I need to query some function results based on block number. I need roughly 300Million such queries... Would you teach me how to set up such archive node? What steps shall I follow? Thanks so much! What kind of budget do you expect if i run on AWS EC2 with spot instance? – hg628193hg Aug 06 '21 at 03:48

0 Answers0