I have a single server that is running some VMs. I want each of these VMs to be accessed through public IP addresses correspondingly. I'm looking into hosting the server on my own and get a block of IPs from my ISP, or by putting it in a colocation center.
My questions are:
- If I'm hosting this on my own, I would need a router to plug in to the WAN and plug the server to the router. What do I do next? Do I need to manually specify the public IPs in the router, and how then the VMs pick up from those addresses? Do I need to manually assign each public IP to the VMs LAN IP or it can happen somehow automatically?
- If I'm putting the server in colocation center, I presume I don't need a router, because the server will be plugged to the colocation center's router, or am I wrong? And then the same question from 1) comes up, how do my VMs pick up from the public IPs I bought.