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.

已提问 2 年前261 查看次数
1 回答
0
已接受的回答

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
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则