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??
Aug 14, 2021 06:42 9 Replies 938 Views ALLINO

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?? 
 

Prev Next
Topic Replies (9)
  1. 1
    idnkx user

    HARSHA

    Why don't you try AWS CLI?

    1
    idnkx user

    ALLINO

    What's the advantage over powershell?

    1
    idnkx user

    HARSHA

    Not that I suggest but the documentation is pretty neat.

    1
    idnkx user

    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

    1
    idnkx user

    JOSEPH

    Try cloud custodian

    https://github.com/capitalone/cloud-custodian

    1
    idnkx user

    SURYA

    If you have access to the AWS console, you can use Tag editor: https://docs.aws.amazon.com/.../latest/gsg/tag-editor.html

    1
    idnkx user

    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.

    1
    idnkx user

    ALLINO

    We want to do this in a automated way as there are 1000's of resources. Console access will take too long

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect