Can’t say for sure that your VM is too small, but I do know that I have never been successful when installing on anything less than 2gb ram and 1gb swap space. Even after getting it running with a 2gb ram machine, it will have slow response times for just about everything. For small user groups of 3 to 5 users I always have a 4gb ram and 2cpu system just to have a reasonable response.
It has been a long time since I tried a 2gb machine so even that may be problematic by now.
on vultr.com, I just set it as the first boot script, and then run the setup script that it installs by hand after it reboots. I imagine DO is very similar in abilities.