Is it possible to connect two public cloud servers to the same private network if they are on the same vRack but in different projects? The intention would be to have a single project containing database or monitoring servers that are exposed over a private network to a number of frontend projects.
I asked our account manager and they said it was;
You can connect two different instances in different projects, via the same vRack.
Here is a link to our Public Cloud vRack guide - https://docs.ovh.com/gb/en/public-cloud/public-cloud-vrack/ - if you’ve followed the steps in the guide and are still having some trouble, you can reach out to our UK support team via your account, and they will be able to advise further.
I did speak with a colleague and they recommended that you manually assign the IP’s per instance, to avoid the possibility of the same IP being assigned in two different projects.
I created a Private Network (with static IP addressing) in one of the projects and attached a server.
I then tried to use python-novaclient to run
nova interface-attach but if I try it from the project containing the network I get “unknown server”, and if I try it from the project with the server I get “unknown network”. Although both projects are on the same vRack each one has its own tenant id, so I can’t see how it would work. There must be some other tool I need to use.
I would just use the Managed Kubernetes Service but it’s not available in the UK region.
Any help would be much appreciated!