create an ap for deployment