Query EC2 tags from within instance

前端 未结 14 1779
暗喜
暗喜 2020-12-02 05:57

Amazon recently added the wonderful feature of tagging EC2 instances with key-value pairs to make management of large numbers of VMs a bit easier.

Is there some way

14条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-02 06:31

    Download and run a standalone executable to do that.

    Sometimes one cannot install awscli that depends on python. docker might be out of the picture too.

    Here is my implementation in golang: https://github.com/hmalphettes/go-ec2-describe-tags

提交回复
热议问题