def start_instance(name):
    img = conn.get_image(vminfo[name][0])
    print "%s image = %s" % (name, img)
    print "%s location = %s" % (name, img.location)
    print 'running %s' % name
    reservation = img.run(key_name='lovejoykey', security_groups=['default'],
                          instance_type=vminfo[name][1])
    inst = reservation.instances[0]
    check_inst_state(name, inst, u'pending')
    return (img, inst)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.devtools/src/openmdao/devtools/test/tstboto.py/start_instance/original