الانتقال من S3 إلى Spaces

أحاول تحديد استراتيجية منخفضة المخاطر للانتقال من AWS S3 إلى مساحات DO (DO Spaces) للنسخ الاحتياطي والرفع. في البداية، أفكر في القيام بذلك بالطريقة ‘الطويلة’، أي:

نقل الملفات المرفوعة إلى الجهاز المحلي
إزالة إعدادات S3 القديمة
إضافة إعدادات مساحات DO الجديدة
الانتقال إلى مساحات DO

البديل هو تشغيل حاوية بديلة وإعدادها لاستخدام مساحات DO، لكنني أعتقد أن استيراد نسخة احتياطية إليها سيعيد الكتابة على الإعدادات ويربطها بـ S3 مرة أخرى.

لكنني فضولي لمعرفة ما إذا كانت هناك طريقة مختصرة للقيام بذلك باستخدام أداة مثل S3CMD لنقل الأصول من S3 إلى DO، مع تغيير الإعدادات فقط للربط بـ DO؟

هل لديك أي أفكار حول ذلك؟ ما هي المخاطر المحتملة؟

Bhanu, what’s your driver for moving?

Experimentation primarily

Then cost effectiveness.

My AWS free tier comes to an end soon … need to think about these things too!

Mine has expired recently so Iooking for some cost cutting.

Did you try How To Migrate from Amazon S3 to DigitalOcean Spaces with rclone | DigitalOcean first?

I have in past migrated data from S3 to Spaces using S3CMD and I assume it will go through just fine with rclone as well! What I’m more concerned about is rewrites here! Specifically because currently I’m using S3 in addition with CloudFront but I plan to switching to Google Cloud CDN or fastly once my assets have been migrated.

Update: I Moved uploads to local today and the first thing that I’ve come across is that assets (despite being migrated from s3 to local) are taking a long time to be served locally. I don’t want to risk breaking things so presumably I’ll have to wait a few hours until all the uploads are being served from my forum then only I can proceed to setting up DO Spaces!

It doesn’t look like digitalocean is very good at running ceph (the software that they use for spaces). Their ams3 data center’s cluster is pretty broken now. Backups fairly regularly time out. I was very hopeful about this product but am not recommending it at right now.

Agreed, I’d recommend S3 over Spaces for sanity reasons too. I’ve had latency issues with DO Spaces which isn’t the case where I use the S3+CloudFront set up that powers our forum.