Energy-aware resource selection for asynchronous replicated system in utility-based computing environments