We show that a group acts properly and effectively on a locally compact and -compact metric space if and only if there exists a compatible -invariant Heine-Borel metric on such that is homeomorphic to a closed subgroup of the group of isometries .