Refactored aws into utils for bucket logic #6443
Simple, untested, implementations of bucket management #6443