def start(): ## Generate unique identifier. id = UNIQUE_NAME + '-' + str(uuid1()) ## Create persistent disk. print instances.create_disk(id) ## Start instance. print instances.start(id, id)
def count(): return instances.count()