Build an Elasticsearch index with Python APIs on AWS EC2. Search the Elasticsearch index with appropriate queries.