Last fall, I migrated my WordPress blog to Cloudflare Workers. I wrote a series of posts documenting the process start-to-finish. These walk throughs cover everything from the lift-and-shift of a WP blog to a serverless platform to automated deployments with GitHub.
Are you social distancing? Good! Me too. If you have some free time indoors now, this is a fun project that totals about 6 hours of work. Keeping a blog can also be a fun way to stay engaged with your community, to share stories and read others.
By the end of this course, youβll have a lightning-fast blog, that runs you (at most) $5 per month, and youβll learn more about serverless computing and automating deployments with GitHub.
Stop paying server bills and migrate a WordPress blog to a faster, more manageable, format and deploy to a global network.
Blog post walk through.
Topic | Notes |
---|---|
Time to complete: | ~1 hour |
Originally published: | October 1, 2019 |
Steps covered: | * Port a WordPress blog to Hugo * Use Wrangler to publish to Cloudflare Workers |
Keep your blog content safe in a GitHub repository and make it easy for others to contribute posts.
Blog post walk through.
Topic | Notes |
---|---|
Time to complete: | ~30 minutes |
Originally published: | December 1, 2019 |
Steps covered: | * Use GitHub as a serverless CMS * Maintain a blog that can easily publish guest posts |
Deploy staging versions of your blog with Wrangler and lock them down from the public Internet with Cloudflare Access.
Blog post walk through.
Topic | Notes |
---|---|
Time to complete: | ~1 hour |
Originally published: | October 8, 2019 |
Steps covered: | * Set staging deployment variables in Wrangler * Automatically protect staging deployments and require a login with Access |
Save yourself even more time by automating your deployment using GitHub Actions.
Blog post walk through.
Topic | Notes |
---|---|
Time to complete: | ~2 hours |
Originally published: | December 14, 2019 |
Steps covered: | * Configure GitHub actions for automated deployments * Configure staging deployments that trigger based on keywords |
This post focuses mostly on publishing a site with password-protected content, but you can skip the Access piece and just use Cloudflare Stream to add ad-free videos to your blog.
Blog post walk through.
Topic | Notes |
---|---|
Time to complete: | ~45 minutes |
Originally published: | March 1, 2019 |
Steps covered: | * Configure GitHub actions for automated deployments * Configure staging deployments that trigger based on keywords |
Do you have any questions? Please feel free to post them in the blog repository.