Rally: Taking a Preventative Approach to Cloud Security