Logstash needs tmp folder to be mounted with exec, can this be done through CFT

Hi,
I am launching an ec2 through cloudformation template and installing logstash on it, one thing i have found is that unless i run sudo mount -o remount,exec /tmp i cannot get logstash working..(https://github.com/elastic/logstash/issues/9288 someone else has logged that issue)

I know this directory can be changed in jvm.options, but it is very awkward for me to edit this file in my cloudformation template, I have 2 questions..

  1. if i change the folder to another in jvm.options what folder would you suggest?
  2. Is there a way to mount the tmp folder as exec through cft, i have ran the command in cft but it doesn't seem to work unless i ssh in and run it from there.

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.