Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion analytics/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
Placeholder for:
https://github.com/dwyl/learn-devops/issues/91
https://github.com/dwyl/learn-devops/issues/91

Meanwhile, see:
https://github.com/dwyl/learn-analytics/tree/main/plausible
12 changes: 12 additions & 0 deletions cheatsheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Cheat Sheet

This [cheat sheet](https://en.wikipedia.org/wiki/Cheat_sheet)
helps us manage our `DevOps` _fast_.

## Update & Reboot Ubuntu Server

```sh
sudo apt update -y && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean -y && sudo apt autoclean -y && sudo reboot
```

The `alias` for this command on our servers is `upr`.
56 changes: 56 additions & 0 deletions hetzner/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<div align="center">

![hetzner-logo-banner](https://github.com/user-attachments/assets/5b3b5a63-33ae-41d6-bcff-6a25744db465 "Hetzner Logo")

We've made the switch to `Hetzner`,
we think you should too.

</div>

# Why?

After more than a decade using various "Cloud" providers
including all the _Big_ Tech (`AWS`, `Azure`, `GCP`, `DigitalOcean`, `Linode`)
and many PaaS such as Lambda, Fly.io, Heroku, Vercel, etc.
we've finally bitten the bullet and gone _back_ to our roots; Servers!

## Brief Aside on Motivation

There two types of motivation: towards and away.
**Toward** is the **_positive_** motivation such as getting fit/healthy.
**Away** motivation is when we want to _avoid_ something, like being unfit.
Both types of motivation have their place.
Some people are exclusively motivated by loss/pain/risk aversion,
while others are driven by gain/reward/returns and downplay the downside.
I go through phases of being super risk averse
and others when I'm happy to take calculated risks
that others who haven't done the math think are _crazy_.

In the case of self-hosting our web apps on **barebones servers**,
we have _plenty_ of experience from the _pre-AWS_ days.
Yes, this ages us, but the experience was formative.
And means I'm not afraid to dive in.

I'm motivated _away_ from the
[data loss](https://github.com/dwyl/auth/issues/325#issuecomment-1792297886)
we experienced on `Fly.io`
and _toward_ the high availability/affordability of `Hetzner`.
I know this will require some setup/config work,
but am undeterred;
that's why we write systematic & meticulous notes!

> “_Notes aren’t a **record** of my thinking process.
> They **are** my thinking process_.”
~ Richard Feynman


## Recommended Reading

+ Good summary including "incidents":
[wikipedia.org/wiki/Hetzner](https://en.wikipedia.org/wiki/Hetzner)
+ `Hetzner` "about" page:
[hetzner.com/unternehmen/ueber-uns](https://www.hetzner.com/unternehmen/ueber-uns/)
+ Sustainability report:
[hetzner.com/unternehmen/nachhaltigkeit](https://www.hetzner.com/unternehmen/nachhaltigkeit)
+ Finances:
[northdata.com/Hetzner](https://www.northdata.com/Hetzner%20Online%20GmbH,%20Gunzenhausen/Amtsgericht%20Ansbach%20HRB%206089)
Loading