Topic: What is the best way to tag resources on Aws , I have thousands of EC2 instances, etc to tag. Should I use bash or powershell or python??
What is the best way to tag resources on Aws , I have thousands of EC2 instances, etc to tag. Should I use bash or powershell or python??
Author: ALLINO
HARSHA
Why don't you try AWS CLI?
ALLINO
What's the advantage over powershell?
HARSHA
Not that I suggest but the documentation is pretty neat.
ALLINO
Basically I need to tag resources with name, department, .... ,Etc. Some tags have already been defined therefore I don't want to overwrite instead I want to log the ones already exist
JOSEPH
Try cloud custodian
https://github.com/capitalone/cloud-custodian
SURYA
If you have access to the AWS console, you can use Tag editor: https://docs.aws.amazon.com/.../latest/gsg/tag-editor.html
SHALINI
If you have dynamic tags that depends on content inside of instance do you can use system manager to run script using aws cli to get and set tags.
ALLINO
We want to do this in a automated way as there are 1000's of resources. Console access will take too long