Swich Database after AWS failure