fix this to work with ec2 in addition to vmware/ovirt/libvirt