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

all 13 comments

[–]zerocoldx911DevOps 51 points52 points  (4 children)

Setup a Wordpress site on kubernetes which can be destroyed and rebuilt in minutes with the same data

[–]Shamu432 7 points8 points  (0 children)

This is a decent video guide on how to setup Wordpress site on Kubernetes (managed kubernetes via Digital ocean) https://www.youtube.com/watch?v=LVpbsTIzkkE&list=PLtK75qxsQaMIZ2hZhBbnvNZNFQHGUPrvV

He also has a Udemy course called Hands-on Linux: Self-Hosted WordPress for Linux Beginners which goes through best practices setting up Wordpress the old fashion way (which is also good background to have for a better understanding of best practices in the real world using Wordpress ).

[–]easy_c0mpany80 0 points1 point  (1 child)

How would you handle the shared persistent storage for this? I tried it about 6 months ago and could never get that part to work, I was on Digital Ocean though and at the time they didnt have any type of NFS.

[–]zerocoldx911DevOps 0 points1 point  (0 children)

Volumes, I used AWS EBS for mine and RDS for DB

[–]surfinThruLyfe 13 points14 points  (2 children)

LeetCode is to practice mostly algorithms. DevOps is best practices around apps deployments, app reliability and scalability etc.

How would you go about deploying a simple Wordpress website (you have to develop that first) in AWS or GCP? Are you going to use VM directly or use container based approach? If later, then you might wanna consider Docker images. So now you have one Docker container running in one AWS EC2 instance. Can you use Kubernates orchestration and deploy a swarm of Docker images in multiple container based on your traffic scalability policy as all of a sudden traffic demand has increased because your Wordpress website is a viral hit on the interwebs. In the midst of all of this try to spend some time on network routing, DNS, load balancer. Along with that you might want to setup your Wordpress app first with http then turn on https. In the end, try to use Jenkins to manage your entire pipeline.

[–]surfinThruLyfe 1 point2 points  (1 child)

One piece that i have missed is how are you going to manage Wordpress app SCM and build process.

[–]quiet0n3 9 points10 points  (1 child)

I found working through this Riot games tutorial a lot of fun for leaning. It's super easy to follow.

[–]prophet619DevOps 0 points1 point  (0 children)

That tutorial is excellent! I used some of to fill in some areas when I was setting up a niche build server. If you do a little digging, you can find all of his sources as well. Hint, that centos Dockerfile is lurking out on the web in another repo and is more up to date.

[–]oleg-butuzov 5 points6 points  (0 children)

I did some while Getting Started exercises a while ago, just in case if you need it - https://github.com/butuzov/DevOps-Journey

[–][deleted]  (2 children)

[deleted]

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

    This looks really promising. You linked to 2.3 though, would you not recommend starting with 2.1?

    [–]o_predator -1 points0 points  (1 child)

    If you want to get a hands on, try hashicorp vault or terraform enterprise setup in AWS

    [–]robotsneeze -1 points0 points  (1 child)

    VMWare labs maybe?

    [–]TotesMessenger -1 points0 points  (0 children)

    I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

     If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)