Installing on a VPS is no different from installing on "bare metal". A VPS is simply a hosted virtual machine. And it depends on the provider what's possible. My first VPS provider for example only allowed installation using a set of pre-made images. My current VPS provider lets me do the entire install, from start to finish myself, from an ISO I can supply.
The provider takes care of the infrastructure and you essentially rent a VM with a set number of cores, memory and disk space. You can do whatever you want on that VM (within their usage policy of course). The upside of a VPS compared to "bare metal" is that the underlying storage, VM hosts, infrastructure, etc. is all built fault-tolerant and maintained by the provider. It's also quite easy to "upgrade" your VPS by adding more cores, more memory or more storage.So,is like have a bunch of VM providing network services(firewall,web hosting,dns)?
The provider takes care of the infrastructure and you essentially rent a VM with a set number of cores, memory and disk space. You can do whatever you want on that VM (within their usage policy of course). The upside of a VPS compared to "bare metal" is that the underlying storage, VM hosts, infrastructure, etc. is all built fault-tolerant and maintained by the provider.