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.

feita há 2 anos261 visualizações
1 Resposta
0
Resposta aceita

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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas