I currently host my forum at AWS and want to migrate to Digital Ocean.
At AWS I have 1 CDN setup and use local storage for all images. I want to migrate to DO and make a number of “upgrades” to the setup.
At DO I plan to setup the following:
Here is how I plan to do it.
Setup everything on DO with test.example.com
Ensure AWS and DO are running the same version of Discourse.
Backup Discourse on AWS
4)Update DNS and rename test.example.com
to live.example.com
per: Change the domain name or rename my Discourse?
Restore AWS backup to new DO server.
QUESTIONS:
I) Do these steps look correct?
II) When I restore the file, can I expect Discourse to upload the images to DO Spaces or will I need to run the following after restoring?
rake s3:upload_assets
1 Like
marianord
(Mariano Rodriguez)
June 22, 2020, 3:06pm
2
My understanding is that you’d need to manually copy all the assets in S3 to the new Spaces, because the uploads migration will not happen automagically.
1 Like
I was finally able to migrate from AWS to DO this weekend. Here were my final steps:
AWS = live.example.com
Setup Running DO Discourse at live2.eample.com
Both AWS and DO instances were on the same version of Discourse
Place live.example.com
into read only and took backup from GUI
SCP backup from AWS to DO server
On DO, change app.yml domain name to live.example.com
and then ./launcher rebuild app
Then restore backup from command line on DO server: Restore a backup from command line
Next update DNS to point live.example.com
to DO server.
At this point you have a running server.
Then I followed these instructions to setup S3 Uploads: Using Object Storage for Uploads (S3 & Clones)
Then I followed these instructions for full site CDN: Full site CDN acceleration for Discourse
4 Likes
RGJ
(Richard - Communiteq)
September 21, 2020, 1:00pm
4
Did you, at any point, transfer your existing uploads from AWS S3 to DO Spaces?
On AWS I was hosting uploads locally, not on S3. When I brought them over to DO, I did a restore to the local disk, and then migrated to DO Spaces and stackpath CDN. I had to run an upload and rake command after to push the images to S3.
1 Like
RGJ
(Richard - Communiteq)
September 22, 2020, 6:51am
6
Sorry, I misread your first post.
system
(system)
Closed
October 22, 2020, 6:57am
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.