I'm using CDK (via the Typescript lib) to setup my network infrastructure on ECS. There are some background workers that often report errors to a Slack channel and I'd like to assign random hostnames based on their names, something like worker-<generated-name>.internal
or web-<generated-name>.internal
.
These don't have ELB or anything, they're internal services with no exposure to the web. But I still would like to have better names than ip-10-10-10-10.internal
on my monitoring tools.