Elasticsearch使用AWS配置堆大小OpsWorks
问题描述:
有没有办法配置opsworks来在启动实例时设置elasticsearch堆大小? 我正在使用这本食谱https://github.com/elastic/cookbook-elasticsearch/和自定义json似乎没有任何属性堆大小。Elasticsearch使用AWS配置堆大小OpsWorks
我发现allocated_memory
elasticsearch_configure
是我需要修改但不确定是否可以在自定义json中完成或者不创建我自己的配方。
答
我可以在自定义JSON指定 elasticsearch: { allocated_memory: '512m' }
: https://github.com/elastic/cookbook-elasticsearch/issues/380