title: How to assign a static hostname or IP-Address to Amazon ec2 machine?
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>So how can i use a simple static name to resolved IP-Address of machine even my IP get changed.</p>
  
  <p>#
  #
  #
  #
  #
  #
  #
  #
  #
  #
  #
  #
  #</p>
  
  <p>#
  #
  #
  #
  #
  #
  #
  #</p>
  
  <h2>#</h2>
  
  <p>#
  #
  #
  #
  #
  #
  #
  #
  #</p>
  
  <p>Thanks in advance. </p>