tusharmoradiya
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
@Space
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
Hello
I have shifted all media to production now. I have connected domain for Public access --> Domain is : vnt4r8t7zh9wq.tepnot.com. I can access the media which are shifted S3 to R2 publicly. but when i upload new media and trying to access publicly. i am getting error 404 not found but media is already available in R2.
Error I am getting is :
404 Not Found
Code: NoSuchKey
Message: The specified key does not exist.
Key: uploads/posts/image/C806CBEF-1512-45FA-B005-587F158069F9.jpg
RequestId: XM20S3HGPDJY1WFN
HostId: ZnGOve4/gwOLuJrR0BGP5QjxYMjfh/7ChAqJROfFhquBV94kLqhVrjy9TlbPW7CiIOzo4hpWMxw=
An Error Occurred While Attempting to Retrieve a Custom Error Document
Code: NoSuchKey
Message: The specified key does not exist.
Key: error.html
URL which i am accessing is :
https://vnt4r8t7zh9wq.tepnot.com/uploads/posts/image/C806CBEF-1512-45FA-B005-587F158069F9.jpg
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
and it's stored in server not in application
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
We are uploading to aws using poolid
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
Don't worry i have added security. and every users have not their own bucket
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
I have Android and iOS application and i use AWSs3transferutility through the swift package in iOS
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
they are uploading posts, stories, send media to chat all the things
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
let me do this
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
okay
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
it will copy whole data or only copy missed data?
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
yes, but my concern is while transfering the data. if new data is coming in s3 then what happend? that data also will transer or not?
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
yes
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
Yes, I have done transfer in staging. which we have started yesterday
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
after complete migration to r2. i will stop use s3 bucket. till complete i have to use s3 because application is live and live user uploading data on daily basis
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
I mean i can't upload to r2 from application before copied all media to r2. after shifting completely to r2. i will give the update of application to users. hope you understand my point
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
I have done it in staging environment. Now i want to do it in production environment. now i have one question. if i start copy and in between process some media added in S3 then that media will be copied or not?
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
@Space can i do it using incremental migration?
119 replies
CDCloudflare Developers
•Created by tusharmoradiya on 2/11/2025 in #r2
S3 to R2 Migration
rclone is fastest method to migrate the data? or any other method can you suggest?
119 replies