Passaggio da S3 a Spaces

Sto cercando di capire una strategia a basso rischio per passare da AWS S3 a DO Spaces per backup e caricamenti. Inizialmente, pensavo di farlo nel modo “lungo”, ovvero:

  • Spostare i caricamenti in locale
  • Rimuovere la vecchia configurazione S3
  • Aggiungere la nuova configurazione DO Spaces
  • Spostare i dati su Spaces

Un’alternativa potrebbe essere avviare un container alternativo e configurarlo per utilizzare DO Spaces, ma penso che importare un backup al suo interno sovrascriverebbe semplicemente le impostazioni e lo ricollegherebbe nuovamente a S3.

Tuttavia, sono curioso di sapere se esiste una scorciatoia per fare la stessa cosa utilizzando uno strumento come S3CMD per spostare gli asset da S3 a DO e semplicemente modificando le impostazioni per collegarsi a DO.

Avete qualche idea a riguardo? Quali potrebbero essere i potenziali rischi?

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!

Non sembra che DigitalOcean sia molto bravo a gestire Ceph (il software che utilizzano per Spaces). Il cluster del loro data center di AMS3 è piuttosto rotto al momento. I backup scadono regolarmente. Ero molto ottimista su questo prodotto, ma al momento non lo sto raccomandando.

Concordo, consiglierei S3 rispetto a Spaces anche per motivi di stabilità. Ho avuto problemi di latenza con DO Spaces, cosa che non si verifica con l’architettura S3+CloudFront che alimenta il nostro forum.