Lightweight Infrastructure Management for Virtual Machines