5

Let's say you have a Linux VPS hosting account and you wanted to add several VPS's inside that VPS or virtual machines, how can you do this?

A scenario could be that I wanted to install an IIS server or I wanted to have several Linux virtual machines for different purposes.

I'm not sure how this is possible on a VPS, like how would you connect to the different machines if they are all placed in one VPS with one IP.

user208509
  • 71
  • 1
  • 1
  • 3
  • a VPS, by definition, is a virtual server by itself, so are you asking if you can run virtual machines within a virtual machine, or asking how it would set it up (something like needing an IP per virtual machine)? – tombull89 Feb 13 '14 at 10:28
  • 1
    I'm asking if I can create several VPS's inside a VPS, and use them without major problems, just like a normal VPS. – user208509 Feb 13 '14 at 16:20

2 Answers2

6

Please consider using dedicated server for your requirements.

Inside of virtual machines the virtual CPU will not have a virtualization instruction. Therefore most of virtualization software will be running very slowly or maybe unable to run.

This is definitely a dedicated server feature, if you really want to do this please consider buying/renting a dedicated server, or getting several VPS's for your need.

hlx98007
  • 338
  • 1
  • 4
  • 11
  • 1
    Your answer confirmed my thoughts. What software would you recommend to setup several VPS's on a dedicated linux machine? – user208509 Feb 13 '14 at 16:17
  • 1
    I assuming you want some Virtualization Solutions, in the mainstream production industry we have OpenVZ (For Linux), Xen and KVM (for all other OSes), but since you will be installing Windows guest machines I recommend you to use KVM, this is opensource and fairely easy to configure and manage. – hlx98007 Feb 13 '14 at 17:49
2

Well you can install Xen on your linux vps and create new vps'en with it. But I dont think you can create a windows vps in a virtual Xen. The performance of every vps you make within the vps would be very bad.

So it's possible but it would be the worst thing you can do. You could also get in trouble with your provider by doing this because you're going to create a lot of load and disk I/O

Better is getting a new vps then you get the best performance and a vps isnt expensive.

MadHatter
  • 78,442
  • 20
  • 178
  • 229