wiki.getshifting.com

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


start

This is an old revision of the document!


SHIFT-WIKI - Sjoerd Hooft's InFormation Technology

This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation.


How to setup and configure Cloudwatch for an AWS Lightsail instance

Summary: This wiki page demonstrates setting up CloudWatch monitoring for a DokuWiki instance on AWS Lightsail, including CloudWatch agent installation with custom Apache log collection, Vector integration for systemd journal logs, and dashboard/alarm configuration.
Date: 14 July 2025

In my previous page I describe how I setup dokuwiki on an AWS lightsail instance. In this page I will describe how to setup Cloudwatch for monitoring the instance.

Overall, the following techniques are used:

  • Setup and install the Cloudwatch agent
  • Use the Cloudwatch configuration file to configure the collection of logfiles and metrics
  • Configure the Apache server to log to custom log files for Cloudwatch
  • Use Vector (by datadog) to send the systemd journalctl logs to Cloudwatch
  • Create and configure a Cloudwatch dashboard
  • Create and configure Cloudwatch alarms

→ Read more...

2025/07/14 04:32

How to setup and configure dokuwiki on AWS Lightsail

Summary: This wiki page shows how I host this wiki using dokuwiki on an AWS lightsail instance. We will setup dokuwiki on AWS Lightsail, and configured it to use git as the backend for the pages and media. We will also setup a certificate using AWS Certificate Manager, and create a CloudFront distribution to serve the dokuwiki pages securely.
Date: 14 July 2025

Overall, the following techniques are used:

  • Setup a lightsail instance in AWS
  • How to configure apache & php for dokuwiki
  • How to configure dokuwiki
  • Use git as a version control mechanism for the wiki pages and media. And because the data is part of a larger repository we'll use sparse checkout
  • Use Route53, certificate manager and cloudfront to setup a certificate for the wiki

→ Read more...

2025/07/14 04:32

Parse Bicep Output in Azure DevOps Pipeline

Summary: How to parse the output from bicep in an Azure DevOps pipeline
Date: Around 2023
Refactor: 13 July 2025: Checked links and formatting.

In Azure ARM deployment using Azure DevOps YAML Pipeline I already showed how to parse the output in a pipeline for ARM templates using Powershell. I now have a use case for parsing the output from BICEP in a pipeline using bash.

So we will first do a bicep deployment in which we will parse the output and then show how you can find the variable in the next task.

→ Read more...

2025/07/13 13:30
start.1752119809.txt.gz · Last modified: by sjoerd