Circo.dev
Circo.dev
  • Projects
Browsing Category
AWS

Finding an EC2 Instance in an AWS Organization Member Account

2023-11-22 No Comments

How do I find an EC2 Instance in a large AWS organization?

I have recently faced the issue repeatedly: a server needs attention, and all info I get for it is a server name and that it’s hosted in AWS. No account ID, no region, no instance ID, not even the team responsible for it.

Since our organization has enough accounts with enough regions that it’s completely unfeasible to look for them manually, I’ve created a small python script that loops through all member accounts, loops through all regions, and grabs the EC2 instances with a specific tag.

Continue reading
Reading time: 4 min
Written by: Martin
Docker Homelab Media

Deep Dive into a Self-Hosted Media Management Platform for Beginners

2023-08-28 No Comments

What exactly are we building?

A fancy docker compose stack consisting of:

  • A built in VPN container, through which all other containers’ traffic is routed
  • Plex: A media library management tool that organizes and streams your media files.”
  • Tautulli: Companion software to Plex, fine-grained control for monitoring and managing your streams
  • Sonarr, Radarr, Lidarr, Bazarr: Automating the downloads of TV shows, movies, music, and subtitles (in that order)
  • Jackett: API-based management of indexers for the aforementioned list of download clients
  • QBittorrent: Torrent client
  • Watchtower: Tool to auto-update the containers
Continue reading
Reading time: 9 min
Written by: Martin
Encryption Linux Security Storage Technologies Utilities

Encrypt an empty partition with LUKS

2021-12-09 No Comments

LUKS encrypts block devices. It can be used both to encrypt individual partitions within a disk, or entire LVM volumes, in which case you can have multiple partitions under an encrypted container.

Continue reading
Reading time: 2 min
Written by: Martin
Grafana Homelab Linux Monitoring Projects Technologies

Grafana + InfluxDB: Bad Gateway

2021-06-08 No Comments

A Solution for “InfluxDB Error: Bad Gateway” in Grafana

I’ve been ecountering a weird issue with Grafana when trying to set up InfluxDB: even though the config for the data source is correct, when trying to test it it returns InfluxDB Error: Bad Gateway.

Continue reading
Reading time: 1 min
Written by: Martin
Homelab Linux Storage Utilities

Have multiple drives appear as one

2021-05-10 No Comments

In short:

  • The Problem: Managing multiple drives dedicated to media for my Plex server is annoying
  • The Solution: using mergerfs, a union file system to “merge” the drives and make storage management easier
Continue reading
Reading time: 2 min
Written by: Martin
ESPHome Home Assistant Home Automation

MagicHue and ESPHome

2021-05-09 No Comments

Flashing ESPHome onto a Magic Hue LED Controller and integrating it into Home Assistant

A while back I have ordered a cheap, 5m LED strip with Wi-Fi capabilities. The hardware was perfectly fine, but the Wi-Fi controls only worked through the manufacturer’s own, questionable Chinese app that I didn’t really want to keep around on my phone. I set out to modify and configure the controller to work with both Home Assistant for home automation as well as Apple HomeKit for easy voice control.

Continue reading
Reading time: 4 min
Written by: Martin
Homelab

Upgrading the CPU

2019-05-27 No Comments

The original CPU in my rickety home server was proving to be a little inadequate, but even the strongest supported CPU would have been such a small upgrade that I could not justify spending the money on it.

Continue reading
Reading time: 2 min
Written by: Martin
Homelab

Homelab

2019-05-09 No Comments

Related Articles

  • Deep Dive into a Self-Hosted Media Management Platform for Beginners
    by Martin
    2023-08-28
    What exactly are we building? A fancy docker compose stack consisting of: A built in VPN container, through which all other containers’ traffic is routed Plex: A media library management tool that organizes and streams your media files.” Tautulli: Companion software to Plex, fine-grained control for monitoring and managing your streams Sonarr, Radarr, Lidarr, Bazarr: Automating the downloads of TV shows, movies, music, and subtitles (in that order) Jackett: API-based management of indexers for the aforementioned list of download clients QBittorrent: Torrent client Watchtower: Tool to auto-update the containers
  • Grafana + InfluxDB: Bad Gateway
    by Martin
    2021-06-08
    Fixing Grafana’s weird issue with InfluxDB.
  • Have multiple drives appear as one
    by Martin
    2021-05-10
    Solving a slight annoyance with hours of research and risking all my data, because why not.
  • Upgrading the CPU
    by Martin
    2019-05-27
    The original CPU in my rickety home server was proving to be a little inadequate, but even the strongest supported CPU would have been such a small upgrade that I could not justify spending the money on it.
  • Homelab
    by Martin
    2019-05-09
    Related Articles
Continue reading
Reading time: 1 min
Written by: Martin

My name is Martin, and I'm a sysadmin. On this blog I'll be posting tutorials and personal anecdotes about my work in IT.

  • Finding an EC2 Instance in an AWS Organization Member Account2023-11-22
  • Deep Dive into a Self-Hosted Media Management Platform for Beginners2023-08-28
  • Encrypt an empty partition with LUKS2021-12-09
  • Grafana + InfluxDB: Bad Gateway2021-06-08
  • Have multiple drives appear as one2021-05-10

© 2023