hostname generation and use
fix cast and assignment for name generation
include the name of cloud in the generated name to reduce hostname overlaps across clouds