I'm trying to figure out the best way to automatically restore the LATEST snapshot when ElasticSearch is launching (on AWS).
I have hundreds of snapshots - each snapshot taken daily.
The Intent is to figure out which was the last snapshot that was taken after elasticsearch service starts, and restore that snapshot and all its indices.
Right now we're doing this step manually after elastic comes up.
Any suggestions?