How can I access my VMs using names instead of IP addresses?

VMs are seen simultaneously in several networks - at least in your „private” LAN and on the public Internet. By default, the public addresses (floating IPs from the 185.48.x.x pool) have no associated names. You may assign such names from your DNS domain or you may request a name from us as an additional service. All names provided by CloudFerro have the following format: computer_name.users.eocloud.eu, where computer_name is chosen by you.

If you need the name just to access the machine from your office workstation, the simplest way is to add its address and friendly name to /etc/hosts.

All VMs in a given project share common „private” network – by default it is 192.168.0.x. You may create additional private networks with any addresses you like. However, they will not be equipped with DNS. If the machines are expected to recognize others by their names, either /etc/hosts file need to be created and copied to all machines, or private DNS may be run on one of them. Moreover, even though the IP addresses are assigned dynamically, they do not change from the moment of creation to deletion of the machine.

Was this article helpful?