Automation code VM deployment