When you first install Couchbase Server you can access using a default IP address. There may be cases where you want to provide a hostname for each instance of a server. Each hostname you provide should be a valid one and will ultimately resolve to a valid IP Address. This section describes how you provide hostnames on Windows and Linux for the different versions of Couchbase Server. If you restart a node, it will use the hostname once again. If you failover or remove a node from a cluster, the node you should configure the hostname once again.
In the Cloud (such as EC2, Azure, etc). For more information about handling IP addresses and hostnames, see Section 4.6.2, “Handling Changes in IP Addresses”.