Cloud Server IP Addresses and Host Names
The following information is important to know when logging into a Cloud Server.
Public IP Address: Cloud servers are automatically assigned an IP address each time they are started. This is an automatic process and the address changes each time the servers are started. There is no option to have a static public IP address.
Host Names: Cloud server hostnames are assigned based on your username and the slot they are in. So the user 'testuser' with a server in slot 2 would have a hostname of testuser2.mylabserver.com. You can connect using the public hostname, however, it may not work immediately as DNS can sometimes take a while to propagate.
Private IP Address: Cloud servers each have a private IP address that allows them to communicate to the other cloud servers directly. This is persistent with each server and assigned when the server is created, not started. You can use this IP address and modify the /etc/hosts file to point a hostname to it for use with various services. The details are explained in all lessons where this is required.
Here are a few related FAQ articles that may be able to answer your questions as well:
- Starting a Cloud Server Firewall without blocking the Web Console
- Allow Web Console through Cloud Server Firewall after Firewall is installed
- I can't find my /dev/xvdb drive after adding it to my cloud server.