prole: add drain script
generalize aws templates a bit
update ci config, add deploy build