Uptime Kuma
Uptime Kuma is a powerful open source web monitoring tool designed to track the availability and performance of your websites, services, and APIs. With a clean and intuitive interface, it offers real-time status updates, customizable alerts, and detailed performance metrics. Uptime Kuma supports multiple monitoring protocols, including HTTP, HTTPS, TCP, and DNS, making it a versatile solution for ensuring your online services remain operational. Its self-hosted nature gives you full control over your monitoring environment, while features like multi-user support, status pages, and integrations with popular notification services (e.g., Slack, Telegram, Discord) make it an ideal choice for teams and individuals alike. AWS Marketplace: Uptime Kuma
Note:
Please be aware that it can take 5-10 minutes for the system to be accessible.
SSH Into the server:
- Linux + MAC - add .pem key to
~/.ssh/id_rsa
# change permisisons
chmod 400 id_rsa
ssh core@ip-of-server
- If using putty or mobaxterm make sure to convert .pem using puttygen.
Uptime Kuma:
- How to access Uptime-Kuma > https://ip-of-server
- Follow instrucitons to create a new account.
- You now can easily add a website to monitor.
Portainer - Manage Docker:
- How to access Portainer to manage your containers > https://ip-of-server:9443
- Follow the instructions to create a new admin account.
- Caution - Portainer can timeout if you dont create an account fast enough
- If this happens you need to restart the container, ssh into the server, then run.
docker restart portainer
- Once logged into portainer, click get started and select local. You can manage docker from here.
Docker - Update Containers:
- Caution: Make sure to back up any data and test the update in a staging environment before running these commands on a production server.
- ssh into the server
cd .docker
/opt/bin/docker-compose down
/opt/bin/docker-compose pull
/opt/bin/docker-compose up -d
Manage Flatcar Linux:
- Optional: Manaully update Flatcar. Updates will happen automatically.
- If you want to manually check for updates run this command
sudo update_engine_client -update
References:
- https://docs.docker.com/
- https://docs.portainer.io/
- https://www.flatcar.org/docs/latest
- https://github.com/louislam/uptime-kuma