Skip to content

Duplicate Qualys Vulnerabilities for Auto-scaled servers

0

Hi Friends , Is there a way from AWS perspective to launch Auto Scaled servers with unique host name each time those are launched.

1 Answer
1
Accepted Answer

A common practice is to include the EC2 instance ID in the hostname, which provide uniqueness since instance IDs are unique within a region for an AWS account. Another approach is to use a combination of ASG tags and other instance details (like IP addresses or a random hash) to generate unique and descriptive hostnames.

Since the scenario is using ASG, one method could be to create an AWS Systems Manager State Manager association that sets a custom hostname on the instances. In your Auto Scaling group launch configuration or launch template, specify the Systems Manager association to be applied during instance launch.

AWS
answered 2 years ago
AWS
EXPERT
reviewed 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.