How to add a cron job in Linux?

How to add a cron job in Linux?

Every day we perform chronic tasks, akin to Unix Cron jobs that automate recurring tasks on a schedule. Users define jobs in a 'crontab' with a specific syntax, utilizing special characters for precise timing. An example job to run hourly is "0 * * * * /opt/aggregator/job.sh". To add a job, edit 'cronjob1' with a text editor, then load it using 'crontab cronjob1'. Verify it with 'crontab -l'. Monitoring cron jobs is crucial for SREs, a topic for a future post.
How to access JMX port of Docker container from outside?

How to access JMX port of Docker container from outside?

JMX is a Java API for managing Java applications, used for monitoring and performance control. The post details steps to containerize a Spring Boot application including setting up the JMX port within a Docker container. Additional parameters in `Dockerfile` and `management.properties` are provided, and instructions are given for building the image, running the container, exposing ports via the Linux firewall, and connecting with JMX clients, with a note that while the web port is accessible, JMX client connection issues are pending resolution.
3 Steps to containerize your Spring Boot Application

3 Steps to containerize your Spring Boot Application

Spring Boot's popularity stems from its ease of creating standalone, production-ready applications and its support for container environments, featuring auto-configuration and embedded web servers. Moreover, a large developer community offers support. The post demonstrates containerizing a simple Spring Boot app using Docker in three steps: creating a Dockerfile, building a Docker image, and running a Docker container. The process includes setting up the Java environment, exposing ports, and specifying runtime commands. The successful deployment allows access to the application via port mapping between the host and the container.
Docker installation on Linux

Docker installation on Linux

Docker is a platform that uses containers to streamline app development and deployment. This guide details Docker installation on Linux, comparing containerization to KVM, a full virtualization solution. While Docker Desktop requires KVM, Docker CE on servers does not. The tutorial concludes by demonstrating a successful Docker installation with a 'hello-world' test.
getting started with observability

Getting started with observability

This tutorial explains monitoring cloud infrastructure using eG Innovations' SaaS, detailing steps from signing up for a trial to monitoring AWS cloud instances. The process, utilizing a remote agent, covers discovering cloud resources, installing agents for converged monitoring (Metrics, Events, Logs, Traces), and receiving alerts for anomalies. Observability without writing scripts through Metrics-Events-Logs-Traces (MELT) is emphasized, with the promise to later discuss different monitoring methods.
5-steps-to-monitor-Amazon-LightSail-VM-with-AWS-CloudWatch

5 Steps to Monitor Lightsail VM using Amazon Cloud Watch

Amazon Cloud Watch and Azure Monitor are native cloud monitoring tools that can be bundled with cloud subscriptions, sparking debate over their sufficiency for full observability and SRE MELT goals. The post details a five-step process for monitoring AWS Lightsail VMs using Amazon Cloud Watch, covering installation and configuration of the AWS CLI and CloudWatch agent. This process is vital as Lightsail VMs do not natively include AWS CloudWatch agents. Additional metrics, such as memory and network consumption, can also be monitored, though troubleshooting may be necessary for some metrics to appear.