You want to store your local files/images to AWS S3 server? Just use this code.