IT automation: where it really saves time
Published · 8 min read
Listen to the article · read by an AI voice

If your business runs its IT on the side, some tasks come back again and again and become expensive when someone forgets them: renewing a certificate, installing an update, checking that a backup has run. This article goes through where we at epicsoft automate with our own open-source tools and, for each task, what no longer happens by hand.
Two points apply to everything below. Automation does not remove the work of looking: it needs care and its own alarm, because it can fail quietly. And people keep the decisions.
What is worth automating
Worth automating are tasks that recur regularly, follow fixed rules and become expensive when someone forgets them. The tasks covered in this article fit that description:
- certificates
- changes to servers
- updates
- backups
- website builds
- security checks
Certificates
According to Let’s Encrypt, its certificates have been valid for 90 days. On 10 February 2027 the default profile switches to 64 days, and on 16 February 2028 to 45 days. Let’s Encrypt’s FAQ recommends renewing 90-day certificates every 60 days. It does not recommend manual renewal, because with shorter lifetimes it would have to be done more often. It has also ended its reminder emails about expiring certificates. Our article Shorter TLS certificates: what Let’s Encrypt’s 64 and 45 days mean for you covers the changes in detail.
Traefik can take over the renewal. Its documentation says that Traefik automatically tracks the expiry date of the certificates it generates. By default it manages 90-day certificates and starts renewing them 30 days before their expiry. Our websites are delivered by nginx behind Traefik. Our nginx image can watch certificates that are kept outside its configuration folder, so a renewed certificate is loaded without a restart.
Setting up and changing servers
Ansible describes its playbooks as a “repeatable, reusable, simple configuration management and multimachine deployment system”. A playbook is a written description of what should be done, and it is written in YAML with a minimum of syntax. Ansible works on a list of managed machines, called the inventory. Within each play, Ansible applies the same task directives to all hosts. So the change is written down once and applied to all servers on the list, instead of being repeated machine by machine.
We maintain an Ansible image for running and checking such descriptions in automatic build pipelines and on the command line, on any machine with Docker.
A change also has to be checked before it takes effect. Our nginx and HAProxy images reload their configuration automatically when it changes, without dropping connections. A broken configuration is refused, and the server keeps running the previous one. The container’s health check then reports the failed reload, so the server does not silently go on serving the old configuration. The reload command reports success only when the new configuration is actually running. That is why an Ansible step or a build pipeline can rely on it.
Keeping track of updates
We use version-control, an inventory of the versions an infrastructure runs. It records which version runs in which environment and where environments differ. It also shows where something newer is available, and when something was changed and why an update was postponed. It tracks the dates on which support ends. Once a day it reports what is new to a Telegram chat or by mail. On a day without news it sends nothing.
Before an upgrade, version-control lists every version between the running one and the target, each linked to its release notes. Reading those for breaking changes is the slow part of every update. If it has a database kept current by Dependency-Check, version-control also looks up known vulnerabilities of the recorded versions. An actively exploited one always becomes a task.
One point should be clear: version-control does not read the deployed versions by itself. They are entered in the same work step in which the component is upgraded. It is also not a deployment system.
Backups
Our dbbackup tool backs up MySQL, MariaDB, PostgreSQL and SQLite databases on a schedule. It compresses and encrypts the copy and uploads it to external S3 storage. It removes old copies by rules, and after a successful or a failed run it notifies another service (a webhook).
The health check of dbbackup reports a problem when the last run failed. It also reports one when the last successful backup is older than a set age, and that is the only rule that notices a schedule that has quietly stopped. A failed backup never deletes anything.
Websites
We build and deliver our websites in GitLab. As described in PHP2Shell: why static sites are not affected, every change passes a type, SEO and link check, and only the protected main branch is delivered. All sites are also rebuilt every week. The Lighthouse and SEO reports of our websites and the previews of new versions are protected by Gatekeeper, as we describe in Gatekeeper: a sign-in gate for websites behind nginx or Traefik.
There is one more task around a website: telling search engines about new content. IndexNow is a way for website owners to inform search engines at once about the latest content changes on their website. In its simplest form it is a ping that a URL has been added, updated or deleted. According to the IndexNow site, without IndexNow it can take days to weeks for search engines to discover a change, because they do not crawl every URL often. IndexNow has support from Microsoft Bing, Naver, Seznam.cz, Yandex and Yep.
Security checks on the side
Dependency-Check finds libraries with known vulnerabilities. Without an NVD API key, its updates are “extremely slow”. Our NVD mirror fetches only the changes every night and publishes the data as static files. Because of that, a run takes a few minutes. Details are in OWASP Dependency-Check: CVE updates in minutes with a static NVD mirror.
We check dependencies for known vulnerabilities and licences on every change and every week. Our Java images are rebuilt every week with the latest operating system security fixes.
Where AI helps
At epicsoft, AI drafts code and tests, checks configurations and dependencies for known vulnerabilities, keeps documentation up to date and translates texts into four languages. People set the goals, check the results and take responsibility for everything that goes into operation. How we work with it is described in Software development with AI: how we work and on our About us page.
Limits
Automation can fail quietly. Our article on TLS certificates gives an example: automation can fail after a server change, and monitoring of expiry is the second line of defence. That is why the tools described above have their own check and alarm. The health check of dbbackup reports a schedule that has quietly stopped. Our nginx and HAProxy images report a configuration that could not be loaded.
The README of dbbackup describes the risk for backups plainly: with a backup image, a silently changed behaviour is not noticed when it happens but when the backup is needed. Ansible, for its part, removes a host from the rotation for the rest of the playbook if a task fails on it. So a server can be left out of a change, and the result needs to be looked at.
The decisions stay with people. Anything that changes servers, DNS records or other systems happens only with a person’s approval. This is given case by case, or as a fixed rule for clearly defined routine. Updates are documented with their reason and a way back.
How epicsoft helps
With the hosting of epicsoft networks, updates are installed automatically, backups run regularly and monitoring reports when something is wrong.
Sources
- Shorter TLS certificates: what Let’s Encrypt’s 64 and 45 days mean for you: Let’s Encrypt lifetimes and dates, manual renewal, ended reminder emails, quiet failure and monitoring of expiry
- Let’s Encrypt: FAQ: 90-day certificates and the recommendation to renew them every 60 days
- Traefik: ACME certificates: tracking of expiry dates and renewal 30 days before expiry
- Ansible documentation: playbooks: description of playbooks, YAML, same tasks on all hosts, a failed host is removed from the rotation
- Ansible documentation: inventory: the inventory as a list of managed machines
- IndexNow: overview: what IndexNow is, the delay without it and the supporting search engines
- PHP2Shell: why static sites are not affected: nginx behind Traefik, build and delivery in GitLab, checks, weekly rebuild and dependency checks
- OWASP Dependency-Check: CVE updates in minutes with a static NVD mirror: Dependency-Check without an API key and the NVD mirror
- Gatekeeper: a sign-in gate for websites behind nginx or Traefik: protection of the reports and previews
- Software development with AI: how we work: approval for changes to servers and DNS records, documented updates
- About us: the use of AI at epicsoft
- Hosting: automatic updates, regular backups and monitoring
- epicsoft networks: home page: weekly rebuild of the Java images
- version-control on GitLab: inventory of versions, daily report, release notes, known vulnerabilities
- dbbackup on GitLab: scheduled backups, health check, notification and the README on changed behaviour
- ansible on GitLab: Ansible image for build pipelines and the command line
- nginx on GitLab: watching certificates and automatic reload of the configuration
- haproxy on GitLab: automatic reload of the configuration and refusal of a broken one