[refactor] amazon credentials into environment variables and [refactor] logging for clarity