I'm trying to run Elastic search in an Ubuntu EC2 machine (t2.medium).
But I'm getting the message:
max virtual memory areas vm.max_map_count  is too low, increase to at least 
How can I increase the vm.max_map_count?
Add this line to make it more persistent:
To reload the configuration with this new value, in your /etc/sysctl.conf, run this:
$ sudo sysctl -p