I am using Amazon EC2 Machine, i am having running HDP on it with Hadoop and some other big data tools like hive, 
hbase, 
pig.

I use the machine name like ec2.1.1.1compute-1.amazonaws.com for Host Name, but when i reboot my machine its IP-Address get changed , so need to change Host Name.

So how can i use a simple static name to resolved IP-Address of machine even my IP get changed.

#
#
#
#
#
#
#
#
#
#
#
#
#

#
#
#
#
#
#
#
#

#
-

#
#
#
#
#
#
#
#
#

Thanks in advance.