Data Querying
Published in

Data Querying

Hosting a Static Website

In 2021, here are some quick and efficient solutions to perform the Hosting.

These days serving a basic website should not take much time out of your way. Note that what worked for me does not necessarily means that this is the best for you and vice versa!

Here is what I tried lately:

Kubernetes and Let’s Encrypt

It is what has been done for gethue.com and all its services like demo.gethue.com, docs.gethue.com, cdn, helm… It is overkill but a great way to understand how services can be operated and also 100% self contained (SSL included, seamless auto upgrade after a change) which is very handy.

gethue.com

Google Cloud Storage

Similar to the AWS S3 public hosting (lot of other solutions in AWS too) and looked easy to try despite a non intuitive to setup. But there is no way to get HTTPS simply or for free for a custom domain name, so I dropped it (but it is good for a CDN).

Netlify

Should be one of the easiest. Indeed, it was very quick to sign-up, then even just drag & drop the files and transfer the domain transfer. It is famous for integrating with Github. Probably what I would recommend for an open source website.

Firebase

I did not know about it but the Google Storage docs mention it as an alternative for easy support of HTTPS and custom domain name.

And it was very easy to use:

firebase login
firebase projects:list
firebase init

And preview/deploy:

firebase emulators:start
firebase deploy

Next step will be to fully automate the push of the updates to the live Website. We will see how the Github Action performs in practice or re-poke at Netlify!

--

--

--

Modernizing & Simplifying how to Query Data

Recommended from Medium

WordPress: Manually add loading spinner to your site without using a plugin

Configure Azure Application Insights With Existing Application

AWS CloudFront — Basics

CCIE syn-ack.csco

It Doesn't Matter How Fast You Write Code

Custom Progress Indicator In Flutter

Database developer roadmap 2020

While Loop Break

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Romain Rigaux

Romain Rigaux

Adventuring & Smart Data Querying | getromain.com

More from Medium

Creating game logic in Mutate

Launching WordPress on AWS with RDS

EXIP Monthly Report | December, 2021

GKE WebSockets timeouts in a chat / voice web server running in production.