Skip to main content

Recently Updated Pages

Debugging

AWS Lambda

Cannot find package 'uuid' imported from /var/task/index.mjs If your Lambda Layer contains @types...

Updated 1 month ago by Ahmad

Export Layer

AWS Lambda

1. Get the Layer ARN Ensure you have the full ARN of the Lambda Layer. It typically looks like: a...

Updated 1 month ago by Ahmad

Logging Data Backup Simulation with Docker

Logging Management with Grafana

1. Prerequisites Install Docker and Docker Compose: Install Docker Install Docker Compose 2....

Updated 1 month ago by Ahmad

MinIO as Storage

Logging Management with Grafana

1. What is MinIO? MinIO is a high-performance, distributed object storage system that is compati...

Updated 1 month ago by Ahmad

Logging Storage

Logging Management with Grafana

1. Loki Storage Backend Loki stores logs in a backend system that is configured when Loki is depl...

Updated 1 month ago by Ahmad

Running Services

Logging Management with Grafana

Kubernetes What It Does: Kubernetes manages the deployment, scaling, and operation of containe...

Updated 1 month ago by Ahmad

Table Indexing

PostgreSQL Tips

1. What is Indexing? An index is a data structure that allows the database to find and retrieve s...

Updated 1 month ago by Ahmad

Bash Script to Delete Log Files Inside Pods Based on Retention Days with Different Target Folders

Managing Pods

#!/bin/bash # Retention days for log files (delete files older than this many days) RETENTION_DA...

Updated 1 month ago by Ahmad

Build and Run a Container

Docker Commands

Build the Docker image docker build -t <image-name> . Run the container: docker run -d --name <c...

Updated 1 month ago by Ahmad

Cannot Log in to an Instance via SSH

Error Debugging

Eventhough port for SSH, port 22, has opened, the connection to the instance is still failed. One...

Updated 1 month ago by Ahmad

Bash Script to Delete Log Files Inside Pods Based on Retention Days

Managing Pods

#!/bin/bash # Retention days for log files (delete files older than this many days) RETENTION_DA...

Updated 1 month ago by Ahmad

Managing CronJobs List

Managing Pods

List all CronJobs in the current namespace: kubectl get cronjobs This will display a list of a...

Updated 1 month ago by Ahmad

Add a New CronJob

Managing Pods

Option 1: Create a CronJob Using a YAML Manifest 1. Create a new cronjob.yaml file: apiVersion: b...

Updated 1 month ago by Ahmad

CronJobs

Linux Commands

Command Format # Example of job definition: # .---------------- minute (0 - 59) # | .-----------...

Updated 1 month ago by Ahmad

Database Structure

Creating Database Importer with NodeJS ...

This database helps AWS Lambda to index importing tasks. Tables Date Indexing Table CREATE TABLE ...

Updated 1 month ago by Ahmad

Activating SSL for BookStack Application

Running BookStack in aaPanel Using Docker

Add New Site This following code is the original nginx setup. server { listen 80; server_...

Updated 1 month ago by Ahmad

Running BookStack in aaPanel Using Docker

Running BookStack in aaPanel Using Docker

Create Docker compose in YAML file Write this following code: version: '3.8' services: booksta...

Updated 1 month ago by Ahmad

Nginx Server Configuration

Running Django Framework API on aaPanel

server { listen 80; server_name investment.introvesia.com; index index.php index.html...

Updated 1 month ago by Ahmad

UWSG Configuration

Running Django Framework API on aaPanel

INI File [uwsgi] module = introvesia.wsgi:application master = true processes = 4 socket = /var/w...

Updated 1 month ago by Ahmad

Handler Function

Creating Database Importer with NodeJS ...

Handler function is a function that will be invoked by AWS Lambda when the trigger is activated. ...

Updated 1 month ago by Ahmad