Created
July 5, 2012 05:26
-
-
Save cloudartisan/3051546 to your computer and use it in GitHub Desktop.
Want to define a different security group for each server range
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node /^tcsearch(0[1-9]|10)\.deskstaging\.com$/ inherits staging { | |
include elasticsearch | |
} | |
node /^tcsearch2[0-9]\.deskstaging\.com$/ inherits staging { | |
include elasticsearch | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These two search clusters would run in tandem for a period of time. They run in different security groups. The security groups are used for discovery -- that is, all nodes in the same security group form the cluster. I have a templated configuration file (elasticsearch.yml.erb) and want to use a different security group depending on the node range.
E.g.,
Where search_security_group could be tcsearch-group-01-10 or tcsearch-group-20-29.