How to secure ES API access deployed as docker on AWS

Lately we deployed ES docker in our AWS account and currently we are figure out how can we secure the API access considering the fact we are using basic licence of ES.
We are using version 7.2

Best Regards,
Nir Sharabi

Have you checked ?

Thanks for the reply.
I have already checked it and yet didn't find an answer to my question.
I am running with single ES node as follow:
docker run -d -p 9200:9200 -e "discovery.type=single-node" -v esdata:/usr/share/elasticsearch/data
and I am looking to add to this command the required credentials (user/pass).
BTW, when I added '-e ""' I got the following exception: "missing authentication credentials for REST request"