def stop_instance(instance_id)
        response = @conn.servers.get(instance_id)
        abort "InstanceId Not found :#{instance_id}" unless response
        abort 'Instance should be in running to stop it' if response.state != 'running'
        response.stop