Hacker News new | past | comments | ask | show | jobs | submit login

If you have boto installed, this is all you'll need to do

    import boto.ec2
    conn = boto.ec2.connect_to_region("us-east-1")
    conn.request_spot_instances('0.005', 'ami-2400984d',
                                instance_type='t1.micro', user_data='USERNAME')



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: