How to continuously upgrade everything (including some Debian distro release) in a distro in a safe way?
Why I ask this question
I ask this question since I feel like I'm doing something wrong when my Nginx environment installation scripts become larger and larger, and take more and more time to maintain.
Maintaining the scripts is something I can and love to handle with because of learning, practice, and communal sharing, even though I must go out to work as an employee soon and will have less time to maintain these. Given these circumstances I always have this fears like:
-- What if my current distro LTS is no longer supported.
-- Even if it's Debian stable and not something else I might have security breaches because of an old Distro just a few months forward but not more than that.
-- What if a well configured
unattended-upgradeswon't suffice giving me security quiet because the distro got old and so forth.
As for now I pay 5 USDs on a droplet in DigitalOcean and I really don't know what's the best solution for me to have a LEMP stack with these characteristics:
- Freely accessible Bash.
- CSF-LFD, and Maldet.
- Certbot-handled webapp confs.
- Immediate and automated cron backups as I have created in cron (available in my scripts).
- Automatic distro upgrades (say from Ubuntu 16.04 to 18.04 and from 18.04 to 20.04 at the time and so forth), without me moving the data manually, even with
- WordPress websites
- All in not more than 10 USDs for VPS.
I'm not sure Ansible or Salt are the answer (Ansible doesn't seem to me very easy to learn even though it is marketed and rumored to be easy to learn and I'm afraid I don't have the time to study it in depth in the next 3 months).
I'm not sure Azure is the answer (only because of price, I understand an environment like I desire would cost at least 15USDs in Azure).
Maybe I need a distro with continuous delivery in every basic aspect (assuming there is one).
That's the story basically.