Is there a way to distinguish between EC2 sets of instances?
My use case is that I have a bunch of machines for the web tier and a bunch of machines of the search tier; currently, the only way to keep track of what each instance does is use a directory with rolls of your own resource, such as LDAP or a database.
Ideally, I would like to define the role of the machine from the metadata available from the AWS API.
Currently, the only approach I came up with is to have different roles in different security groups (even if this is not strictly required). Is there a better way?
source
share