I have an Ubuntu instance running on aws ec2. I'm currently using Ubuntu server ec2 instance with the configuration as: 1 vCPU, 2.5 GHz, Intel Xeon Family, 1 GiB memory.
I'm running my Geth on this using command
geth --datadir ./Doc-Nodes --networkid 4780 --port 30306 --rpc --rpcapi "db,personal,eth,net,web3,debug,admin" --rpccorsdomain="*" --rpcaddr="0.0.0.0" --rpcport 8545 --allow-insecure-unlock console
The issue arises in the case of mining. Whenever I'm trying to mine the blocks on this instance using
miner.start() , it gets stuck at for a long time.
Commit new mining work
While the same is working when I'm running the Geth locally on my machine.
What's the issue behind this? Do I need to increase the Ubuntu configurations?