[Fixes #49226313] set hostname of newly launched EC2 instance