helper to set aws url