Add logging on chef errors; remove some old AWS client usage.