惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
V
V2EX
博客园 - 【当耐特】
T
Tailwind CSS Blog
Apple Machine Learning Research
Apple Machine Learning Research
量子位
MyScale Blog
MyScale Blog
Hugging Face - Blog
Hugging Face - Blog
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
月光博客
月光博客
I
InfoQ
WordPress大学
WordPress大学
Martin Fowler
Martin Fowler
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿
小众软件
小众软件
罗磊的独立博客
Recent Announcements
Recent Announcements
Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

Comments for JonahDevs

Building in Public: The Time, the Silent Exploit: The Unseen Enemy in Every Codebase The Mindful Coder From Dirty Dishes to Clean Code: How Household Chores Mirror Programming Team Dynamics You’re Closer Than You Think: The Only 6 DNS Concepts You Really Need You The Wasabi Method: Shocking Your Way Out of Anxiety Attacks Free Software: The New Nicotine? Big Tech Your Gut is Smarter Than Your Spreadsheet: The Art of Software Estimation The Subtract Day: Why Less Code Can Lead to More Success ESLint: Why We Actually Bother Understanding Nginx Part 1: The Power of Event-Driven Architecture Exercise Snacks: The Secret to All-Day Energy and Productivity How Important Clamping Is For Woodworking How to Fix Your Sleep Cycle Min/Maxing WordPress Hosting Min/Maxing My Internet Provider Min/Maxing My Internet Provider Everyone Uses Super Glue Wrong.
Min/Maxing WordPress Hosting
Jonah · 2024-06-02 · via Comments for JonahDevs

The Challenge

Getting as close to completely free self hosted wordpress by combining the cheapest tiers of AWS offerings.

I run two WordPress sites, JonahDevs.com and AussieBulkBricks.com. I thought why not use this as an opportunity to learn somethings about self hosting WordPress. Most importantly I was bound to save money on getting as close to fr by trying this.

My Hosting Journey – The Summary

  • AWS Lightsail free tier → then 5 USD per month.
  • AWS EC2 – Hell yeah lets save money and do this ourselves. They are selling us Lightsail on EC2 anyways, right?
  • Okay that was confusing – Many hours of work later
  • Move to VPS from BinaryLane.com.au – turns out AWS EC2 is still kind of expensive if you want more ram and CPU.

AWS Lightsail Free Tier

This one was simple enough, I followed the prompts and signed up to the free tier. Pointed my DNS records to Lightsail as instructed and I was up and running.

The Process of Setting Up AWS Lightsail for WordPress

Selecting the default option (Linux/Unix + WordPress) because it gets the Job done and doesn’t cost extra like running Windows as an OS would.

Selecting operating system for AWS Lightsail

Selecting $7 Per month as I wasn’t smart enough to use my Free credit to the max.

Selecting instance specs:
1 Gb memory
2 vCPUS
40 GB SSD Storage
2 TB Transfer
First 3 months free

Press the orange button

Login and follow the vanilla WordPress install prompts as usual.

Point your DNS records as described in the Lightsail docs and change the website name in WordPress settings to match your Domain Name. This part is really important.

The Pros

  • It kind of just works out of the box
  • Its free (to begin with)

The problems

I really couldn’t get CDN to work nicely via Cloudfront. I am sure I could by revisiting this but didn’t have the energy to push through after the initial easy setup set the bar for how easy I was expecting things to be moving forward. That bar definitely tripped me up here.

Why didn’t I settle for AWS Lightsail?

In short: Ego of a Software Developer and not having CDN working out the box irked me.

I’ll be honest, in hindsight I’m not entirely sure. It has something to do with the feeling of buying something that is ready out of the box. As a software developer I have such a strong gut instinct telling me that whatever resources are bundled up and sold as this package will have a great profit margin and that if only I was able to bundle those resources up myself I could save that difference.

Why Not Hetzner.com?

After a lot of research they really do seem to have great value VPS, If you are based anywhere near the European continent I would recommend going with them. Unfortunately I am half way around the globe from the nearest hosting locations that they offer (Germany / Finland / USA).

Hetnzer VPS pricing sheet, from 4.17 Euro all the way to 26,94 Euro for the


Why is this distance a dealbreaker for me? I like to edit files on my VPS directly via Visual Studio Code Remote extensions. The latency between your input and the file updating really slows things down when working for extended periods. Not to mention that the WordPress interface itself will be slow when updating posts, installing plugins and generally navigating around.

Maybe one day when I can afford to run my own private CDN nodes I will go back to them to serve my European traffic directly from my own server!