Note: The current Minecraft Vanilla Server version is unstable. We recommend renting "Paper Spigot" instead.
A Paper Spigot Server works almost identically to a Minecraft Vanilla Server, only much more stable. The game can be changed afterwards at any time free of charge with a few mouse clicks.
Also, at least 6GB of RAM is recommended for a version starting from 1.17.