prod-web-server-01

Infrastructure Documentation • Generated 2024-03-15 14:30:00

Operating System

Ubuntu 22.04.3 LTS

CPU Cores

8

Memory

32Gi

Services

8

System Information

Hostname

prod-web-server-01

Kernel

5.15.0-91-generic

Uptime

up 2 weeks, 3 days, 14 hours

Timezone

Time zone: Europe/Berlin (CET, +0100)

Storage

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       100G   45G   50G  48% /
/dev/sdb1       500G  280G  195G  59% /var/www
/dev/sdc1       200G   85G  105G  45% /var/lib/mysql
tmpfs            16G  2.1G   14G  14% /run

Network Interfaces

lo               UNKNOWN        127.0.0.1/8 ::1/128
eth0             UP             10.0.1.25/24 fe80::a00:27ff:fe4e:66a1/64
eth1             UP             192.168.100.10/24

Running Services

nginx.service              loaded active running   A high performance web server
mysql.service              loaded active running   MySQL Community Server
redis-server.service       loaded active running   Advanced key-value store
ssh.service                loaded active running   OpenBSD Secure Shell server
ufw.service                loaded active running   Uncomplicated firewall
networkd-dispatcher.service loaded active running  Dispatcher daemon for systemd-networkd
systemd-resolved.service   loaded active running   Network Name Resolution
cron.service               loaded active running   Regular background program processing daemon

Security Configuration

SSH Configuration

Port 22
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes

Firewall Status

Status: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere
80/tcp                     ALLOW       Anywhere
443/tcp                    ALLOW       Anywhere
22/tcp (v6)                ALLOW       Anywhere (v6)
80/tcp (v6)                ALLOW       Anywhere (v6)
443/tcp (v6)               ALLOW       Anywhere (v6)

Performance

Load Average

0.45, 0.38, 0.32

Top CPU Processes

USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
mysql       9012  2.5  8.3 2847892 1347536 ?   Ssl  Feb28  89:23 /usr/sbin/mysqld
www-data    5678  1.2  3.1 584932 506848 ?     S    Feb28  45:12 nginx: worker process
www-data    5679  1.1  3.0 583920 505792 ?     S    Feb28  44:58 nginx: worker process
redis       3456  0.8  0.5 65536  82944 ?      Ssl  Feb28  28:45 /usr/bin/redis-server
root           1  0.0  0.1 169420  18432 ?      Ss   Feb28   1:23 /sbin/init