naming instance during the instance creation using user data

0

hi Guys, I'm trying to figure out how you can assign a Name to a new instance during the instance creation using the user data. I would like the see the Name of the new instance once it has finished creating it.

Thank you.

asked 2 years ago252 views
1 Answer
0
Accepted Answer

hello,

i understand that you are trying to figure out if it is possible to assign a name to a new instance during creation using user data script. Please correct me if i misunderstood you.

Unfortunately it is not possible to assign a new instance a name via user data script, however you can add tags to the instance using user data. Tags are metadata that can be used to categorize your AWS resources in different ways.

More information can be found on the listed AWS reference link [1].

I hope this helps.

References [1].https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html

steven
answered 2 years 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.

Guidelines for Answering Questions