recovery shells script for aws server