I'm trying to come up with an example of a metric space $(X,d)$ such that a subset $A \subset X$ is not compact, but is closed and bounded.
Essentially I want to find an example that shows that a subset of a metric space is compact iff it is closed and totally bounded.
$X=(0,1)$ with Euclidean metric. Then $X$ itself is closed and bounded yet not compact.