-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
Description
The AWS Ec2 Autoscaler currently does not let a user set the AWS tags on instances that it launches prior to launch. While tagging can be done by the user data, it would be easier in some cases to just have the RunInstances request set the tags. I currently have a fork of the ec2-extensions project that does this and it has been running without issue in our druid cluster for a few days now. If there is interest I'd be happy to make a PR to include this.
What this looks like functionally is that the EC2NodeData would gain an optional field called tags which would be a Map<String, String> of tags that would be set on the instance as part of the launch request.
Motivation
The reason for suggesting this change is that our infrastructure provisioning software requires certain AWS tags to be set on an instance before it starts.