Created most infrastructure to create ondemand instances