SonarQube cannot be started

I am trying to install SonarQube 7.9 on production server (AWS EC2 instance) with following prerequisites,
• Java(Oracle JRE 11)
• 2GBof RAM to run efficiently and 1GB of free RAM for the OS
After installation I am trying to run SonarQube , but it’s getting failed to start because of SonarQube is waiting for ElasticSearch to run but Elasticsearch is not running which is default one comes with SonarQube zip file.
​This will happened to all versions which is higher than 6v
Can you help me to resolve this issue as soon as possible.

Could you please post the logs of Elasticsearch? Should be in logs/es.log.

[root@ip-172-31-7-1 logs]# tail es.log
at org.elasticsearch.cli.Command.mainWithoutErrorHandling( 24) ~[elasticsearch-cli-6.8.0.jar:6.8.0]
at org.elasticsearch.cli.Command.main( ~[elasticsearch-c li-6.8.0.jar:6.8.0]
at org.elasticsearch.bootstrap.Elasticsearch.main( ) ~[elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.bootstrap.Elasticsearch.main( ~[elasticsearch-6.8.0.jar:6.8.0]
Caused by: java.lang.RuntimeException: can not run elasticsearch as root
at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.jav a:103) ~[elasticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.bootstrap.Bootstrap.setup( ~[ela sticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.bootstrap.Bootstrap.init( ~[elas ticsearch-6.8.0.jar:6.8.0]
at org.elasticsearch.bootstrap.Elasticsearch.init( ) ~[elasticsearch-6.8.0.jar:6.8.0]
… 6 more

Caused by: java.lang.RuntimeException: can not run elasticsearch as root

Can you try running ES with another user?