Changed run_instance back to how it was, just with a sleep between the allocation and association steps (as per advice from AWS)