enable elasticsearch and correct aws tasks