How do I assign a static hostname to a private Amazon EC2 instance running RHEL 7 or Centos 7?
Find more details in the AWS Knowledge Center: https://aws.amazon.com/premiumsupport/knowledge-center/linux-static-hostname-rhel7-centos7/
Ed, an AWS Cloud Support Engineer, shows you how to assign a static hostname to a private Amazon EC2 instance running RHEL 7 or Centos 7.
by Amazon Web Services
centos 8 openstack