64 lines
1.7 KiB
Markdown
64 lines
1.7 KiB
Markdown
+++
|
|
date = '2025-05-29T17:49:34+02:00'
|
|
draft = true
|
|
title = 'Managing a VPS the easy way'
|
|
+++
|
|
|
|
Since I don't have direct access to internet, I can't expose easily services
|
|
from selfhosted on computers from home, this is why I started lending and
|
|
playing around with VPS last year.
|
|
|
|
So the goal is to selfhost services I could use on any of my devices, however,
|
|
it took me a while to find a setup I liked, since I required the
|
|
following :
|
|
|
|
* Easy management
|
|
* Easy monitoring
|
|
* Secure by default
|
|
* Lightweight
|
|
|
|
In this post, I'm not going to deep dive into the implementation, it will be a
|
|
description of the architecture from an higher level. However, I'm going to
|
|
share specific configuration for every parts in other posts, and add links to
|
|
them in this one.
|
|
|
|
## The VPS
|
|
|
|
The VPS I am lending is fairly cheap at 54€/year for the following specs :
|
|
|
|
* 8GB RAM
|
|
* 50GB Disk
|
|
* 8 vCPUs
|
|
|
|
The reason why this is so cheap is because the hardware is a little older, but
|
|
this is not an issue for me since my goal is to play around.
|
|
|
|
## The architecture
|
|
|
|
First things first, the OS. I'm going with Almalinux. And that's almost all, I
|
|
only installed the docker packages and a few libs here and there and that's all.
|
|
|
|
Most of the services I host are web services, and I use traefik as a reverse
|
|
proxy.
|
|
|
|
## Why Almalinux ?
|
|
|
|
I didn't know about Almalinux a year ago, and I think many people don't know it,
|
|
but it's actually a really good OS for a server.
|
|
|
|
This is a RedHat Enterprise Linux (RHEL) compatible open source and community
|
|
based OS. It's not usable for a desktop usage since the package manager offers
|
|
a small amount of softwares, but it's perfect for a server :
|
|
|
|
* Supports selinux by default
|
|
|
|
## Management
|
|
|
|
## Monitoring
|
|
|
|
## Secure
|
|
|
|
## Conclusion
|
|
|
|
|