The current recommendation for Disk space for running a Harmony Node is 150 GB.
Step-by-Step Guide to Increase Disk Space in AWS
Since the launch of the mainnet, more and more people subscribed to become a node runner. The previously recommended 100 GB disk space is not enough for the future needs. This brief tutorial provides a step-by-step instruction on how to increase the disk space of an EC2 instance in AWS.
Step 1: After logging in to your AWS console, find the EC2 instance running the Harmony node.
Step 2: Click the link (/dev/xvda) located in the bottom right area to show the information of the root device.
Step 3: Click the EBS ID link (vol-05685721145114c52 for this demo, your volume might have a different identifier), this will jump to a web page to modify volume size.
Step 4: Click the Actions drop down button, and then select “Modify Volume” option. We suggest extending to the size to 150 GiB, but we use 60 GiB for this demo. Then click “Modify”.
Step 5: Click “Yes” to confirm this action.
Step 6: it may take 20 to 30 mins to resize the disk space. The action is done until the state change from “in-use modifying…” yellow circle to “in use” green circle.
Step 7: Then the next step is to ssh to the node. Check the basic information about the block devices.
sudo growpart /dev/nvme0n1 1
sudo xfs_growfs /dev/nvme0n1p1
Step 8: verification - if you see the size of /dev/nvme0n1p1 has been increased to the specified size (60G in our demo), you are good to go.
In case you need some extra help for this task, feel free to reach out to our engineer (Andy@harmony.one) on Discord, Wechat, and email.