create base dir for the instance