Get EC2 Server Name Is Running In Java

 

Get log of tomcat and ec2 server.