Amazon S3 Upload Provider


I have my strapi in aws and currently the media is stored in EFS but it is very slow. I now found the S3 Upload provider. My question is if I install this how do you migrate the media to it? Or does that happen automatically?