You don’t have to worry about s3 endpoint if you’re using aws S3 it is only relevant if you’re using something s3 compatible (e.g. DO Spaces)
To migrate existing uploads to S3 bucket you have to run a rake task rake uploads:migrate_to_s3
And this task requires you to set the S3 parameters through ENV variables.