By using AWS re:Post, you agree to the Terms of Use

naming instance during the instance creation using user data


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 3 months ago36 views
1 Answer
Accepted Answer


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].

answered 3 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.

Guidelines for Answering Questions