get public IP from instance metadata

As this is going to be running on an instance, get the public IP from the instance metadata and save an external call.