handle when instance doesn't have a public ip