amazon deployment get right config