cd ../writing ←

deep dive · 2024-06-06 · 4 min · #automation · #developer-life-cycle · #web-hosting

Hosting a Personal Site on the Cheap

Most software engineers want to host their own personal website. A site that has their resume, social handles, something that distinguishes them from others, and possibly even a blog. Personal websites have become quite the norm for developers these days, but where is the bes...

Most software engineers want to host their own personal website. A site that has their resume, social handles, something that distinguishes them from others, and possibly even a blog. Personal websites have become quite the norm for developers these days, but where is the best place to start? This blog post series will be walking through the creation and hosting of my very own personal site (jamesebentier.com) from ideation, to management.

Pre-requisites

So first things first when looking to host your own personal site. You need to know a couple of things at a basic level before being able to manage and maintain a personal site yourself.

  1. You need to have an understanding of how to build a webpage using HTML and CSS
  2. A basic understanding of source control and automation using GitHub

With these two already under your belt, we'll move forward breaking down what the options are for hosting a personal site, their estimated costs, and eventually the implementation of my personal site as a tutorial.

The Options

There are a lot of hosting solutions out there when it comes to building a site ranging from 100% self-hosting to using a site builder like Webflow. What we're looking for here is a solution that will check the following boxes:

  1. The site must be tied to a custom domain
  2. Be easy to maintain
  3. Be secure
  4. Keep costs as low as possible while not sacrificing convenience
  5. The configuration and setup should show off your skillset as a developer

So with this in mind let's look at three of the different options

Webflow

If you haven't heard of Webflow yet, you probably will in the near future as it is one of the top no-code site builders out there right now. So let's get into the pros and cons of using something like Webflow.

Pros
Cons

Cost: ~ $15/month

Hosted WordPress

Wordpress is the oldest and most extensively used website and personal blog framework. It's written in PHP, has strong community support, lots of extensions, and many different sites that will host and secure Wordpress installations for you.

Pros
Cons

Cost: ~$10/month

AWS S3

Amazon Web Services (AWS) has an object store product called S3 that is most commonly used as static file storage. What many don't know is that with that, also comes the ability to host a website using S3 alone. All you need to do is build or compile your HTML/CSS and Javascript source files, and upload them to your personal S3 storage. Then using the built-in support for static web hosting, your site is hosted and away.

Pros
Cons

Cost: ~$1/month

Conclusion

Because we're looking for the cheapest solution, and, even if we want to host a blog, there is no need to have dynamic user content through the form of comments on the posts, I went ahead and chose to go with hosting on AWS S3. In order to keep this solution management I used the combination of the following technologies:

Stay tuned for more blog posts where I'll go over the implementation details and walk you through just how this was achieved.

# subscribe

Occasional writing on systems & craft — no spam.

Keyboard bindings

Default NORMAL mode, from a hardware keyboard:

h j k l
Scroll left / down / up / right
g g
Scroll to top
G
Scroll to bottom
g + h/w/p/l
Jump to home / writing / projects / lab (lab has no page yet)
t
Cycle theme
f
Hint-jump -- label every on-screen link; type its label to open it
:
Enter COMMAND mode
/
Enter SEARCH mode -- n/N steps through results, Enter opens the highlighted one
?
Toggle this guide
Esc
Return to NORMAL from any mode, or close this guide

COMMAND mode (:) -- v1 commands. The registry is extensible: future commands (e.g. metrics queries) appear below automatically once registered, no template change required.