Steps to find the AWS instance ID
Copy and paste the below link in a browser in your AWS server machine.
http://169.254.169.254/latest/meta-data/instance-id
Press
Enter.
This will return your AWS instance ID.