When a service refuses to start, the instinct is to blame the service. Usually, the service itself is fine, and something around it is broken. Day 9's dead MariaDB was a clean example of exactly that.

One Linux task, one AWS task. Bring a failed MariaDB service back to life by reading the logs rather than guessing, then enable termination protection for an EC2 instance so it cannot be deleted on a bad day. The tasks come from the KodeKloud Engineer platform, the same as the rest of this series.

MariaDB: read the logs, don't guess

A database that will not start feels opaque, and that is what makes it stressful. It is not actually opaque. MariaDB, like most services, tells you exactly why it failed if you look in the right place, so the discipline is looking before you start changing things.

# Where does it stand right now