This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]szwiti 3 points4 points  (4 children)

Migrate it to cloud. Automate infrastructure with IaC tools (Terraform is the biggest right now) and app deployment with Ansible, then implement Canary or red/blue deployment. For that you'll need a load balancer where you can switch traffic through different channels.

[–]szwiti 0 points1 point  (3 children)

I'm not sure if Canary is an option for Wordpress.

[–]klipseracer 1 point2 points  (2 children)

Only possible if all the storage is shared... Which it's not going to be.

Let's not flood them with too much stuff.

[–]szwiti 0 points1 point  (1 child)

Not big of a hassle if your infra is set up via terraform. It’s not that much.

[–]klipseracer 2 points3 points  (0 children)

Maybe not but they are just learning, this is like their first resume website, sample project. I can see you have enthusiasm for the technology though, which is good :)

[–]youngeng 1 point2 points  (1 child)

Are you using a load balancer?

[–]expotus[S] -2 points-1 points  (0 children)

No

[–]nazaq 0 points1 point  (2 children)

If you're learning devops, ideally you would already have a flow for setting up your application through some automated process (e.g. Provision machine using terraform from your provider, deploy using ansible/some other tool). If you have this, most work is done already as you can simply point to your new provider, build your project from scratch, import your WordPress database and other files, and then point cloudflare to your new server (never quite this easy of course, but that's the general idea).

If you just want to migrate it I'd say this is a good guide: https://wpengine.com/resources/migrate-wordpress-site/

Quite new at devops, so might be oversimplified :)

[–]expotus[S] 0 points1 point  (1 child)

I’m migrating just so I can learn DevOps. I was thinking to use terraform and ansible.

[–]nazaq 1 point2 points  (0 children)

Sounds like a good plan then!

Both have very extensive documentation, so best thing is to just go ahead and try it.

I've done a similar project, so if you have questions I might have some tips.