I am trying to connect to the configured Elasticsearchservice instance in AWS from my machine and getting the following error. Any help is appreciated.

ven@ven:~$ sudo metricbeat setup

Exiting: Couldn't connect to any of the configured Elasticsearch hosts. Errors: [Error connection to Elasticsearch https://search-Ven-demo-sjlkajsdlkajsdasdas.us-east-2.es.amazonaws.com:9200: Get https://search-Ven-demo-sjlkajsdlkajsdasdas.us-east-2.es.amazonaws.com:9200: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)]

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB