This file contains hidden or 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
########## Sample elasticsearch.yml ################ | |
cluster.name: < Your Cluster Name > | |
node.name: < Identified which is generated on installing cluster > | |
path.data: /data/elasticsearch | |
path.logs: /var/log/elasticsearch | |
node.master: false #### < Value Depends on type of node > | |
node.data: true #### < Value Depends on type of node > |
This file contains hidden or 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
### Sample Helper Code to Launcg Elasticsearch cluster preconfigured Instance | |
from troposphere import Ref, Join | |
from troposphere import autoscaling, policies, Base64 | |
from magicdict import MagicDict | |
class EC2_MASTER(MagicDict): | |
def __init__(self, parameters): |
This file contains hidden or 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
### Sample Template Generation Code | |
from troposphere import GetAtt, Output, Template | |
from parameters import Parameters | |
from ec2_master import EC2_MASTER | |
from loadbalancer import LoadBalancer | |
from mappings import Mappings |