Simile or metaphor?
The house was as cold as an ice cube?
simile
metaphor
Sally was giraffe compared to the baby.