Run the following command to get the ID of this instance: curl -s http://169.254.169.254/latest/meta-data/instance-id