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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南