The relaunch of my website was also an exploration into some different technology for deploying web applications.
My website had just been a static site generated with Jekyll and hosted with nginx. That setup worked great, but it had become a pain to keep Jekyll updated, mostly because of the custom plugins and configuration I’d made. Also, I really just want to be able to write and manage posts in a web browser.
Through work, I’ve recently spent a lot of time working with Docker and have really become interested in it. Along with that, I’ve been hearing more and more about CoreOS and systemd. I was really curious to try out a setup that would mix all these components together.
So, with that background, here is the basic structure of my website architecture:
- 3 running Docker containers
- a Docker image that runs some Ruby to take database snapshots and upload them to Amazon S3 for safe keeping
- CoreOS host operating system at DigitalOcean
- systemd managing the processes, keeping them running, starting after reboot, and using a timer to trigger postgres backups
There is a lot more to come in this series examining the tech behind my website relaunch. Check back soon!
Want to stay up-to-date?
Check out the archive for an idea as to what I send.
No spam. Powered by TinyLetter.