title: Set computer name when starting an instance
body: <p>I'm using a windows AMI to start an instance that is hosting a java application. I'm using papertrail for logging which uses the name of the computer to display the system associated with a log stream. Right now computer's name is an auto-generated value, but I want to give it a specific value. How can I do this? </p>
  
  <p>Setting the name on the AMI is not an option since I'm using the same AMI to launch a number of instances that all must have different computer names.</p>
  
  <p><strong>Conclusion</strong></p>
  
  <p>In the end, since my main concern was to change the name for papertrail's sake, I can do that via <a href="http://help.papertrailapp.com/kb/configuration/java-logback-logging/" rel="nofollow">http://help.papertrailapp.com/kb/configuration/java-logback-logging/</a>
  Thank you all for your help</p>