Follow any tutorial out there for how to upload a folder full of images to S3 and host them as a public website.
The base URL of the images is expected to change. So use a tool like gctools find-replace to find and replace all mentions of the old base URL with the new base URL.