I have some old stuff transcoded to Real Audio, because why not? It’s like a magical hidden file-format from years past. Granted the streaming software is so old, it breaks with NAT, but there was an older playable RAM / … Continue reading →| Virtually Fun
Hiding my home IP address but still hosting my websites and services on my home server| thedabbler.patatas.ca
To learn more about HAProxy I decided to compile it from source and use it to load-balance traffic to louwrentius.com across two different web servers. I run HAProxy on a VPS based on Ubuntu 12.04 LTS. Let's dive right in. First, we need to download the source. Don't …| Louwrentius
Introduction This blog is aimed at beginners trying to learn the basics of PostgreSQL and HAProxy but already have some experience under their belt. For this tutorial, we will assume you have PostgreSQL correctly installed on Ubuntu. All of these steps were done using PostgreSQL 16 (development version) and HAProxy 2.6.9 on Ubuntu 23.04. We'll| Highgo Software Inc. - Enterprise PostgreSQL Solutions
Last week I gave myself the challenge to create something in a week. Not a mockup, but a complete usable solution with documentation and enough tests to make it feel solid. I have been looking at DigitalOcean for some time, and while browsing their documentation I came across a sample script that would help you set...| defer time.Sleep()
Hey, If you’ve ever wondered whether you can tie Access Control Lists (ACLs) with maps in HAProxy, the answer is: yes. Let’s tailor a scenario here: based on a map, decide whether a request to a given domain should be answered by the current frontend or not - in the negative case, forward the request to a different frontend. One application that can be thought from this is the case where some domains are meant to be served by both a plain HTTP frontend and a HTTPS frontend too, but some o...| ops.tips
Hey, This is a quick post for those who might need to perform HTTP health checks against a running HAProxy instance. From my perspective, three ways of doing it: using the monitor-uri directive (you should use this one); using a custom HTTP file with errorfile directive; using a lua script. While the first and seconds should work in any HAProxy installation, the third requires lua, which your HAProxy binary might have support or not. ps.: In the past, I wrote about how to install haproxy with...| ops.tips
Hey, This is a quick tip on how you can switch from using ACLs (access control lists) to use maps for selecting backends based on a request parameter. The usefulness of using maps instead of acls is that sometimes it might be easier to update the mappings rather than the ACLs (as well as allowing us to perform mutations on the maps without needing to spawn a new process due to the possibility of using the runtime api via unix sockets). Overview Selecting a backend using ACLs Selecting a backe...| ops.tips
Hey, Since 2016, a great Lua script has been used by many people deploying HAProxy instances that need to allow LetsEncrypt certificates generation: haproxy-acme-validation-plugin. I’ve even written about how to respond to HTTP requests right from HAProxy: Making HAProxy respond 200 OK to health checks. Many other scripts that extend HAProxy’s functionality have been made, but that’s not the point of this post. If you ever need (or want) to test this script in a MacOS machine (or any ot...| ops.tips
If you simply take the official HAProxy docker image, you’ll quickly see that your logs will not show. That’s because by default, HAProxy won’t log to stdout - you need to have a facility (rsyslog) that will take those logs and ship it to somewhere. A Dockerfile with RSYSLOG for HAProxy logging Although adding rsyslog is straightforward with the alpine-based image, we can go further with linking the generated haproxy.log from rsyslog to /dev/stdout such that whenever rsyslog writes HAPr...| ops.tips
This guide shows you how to run multiple webservers behind a single IP-address with TLS(HTTPS) by using HAProxy and Let's Encrypt.| ALEXSKRA
This weekend has seen a variety of systems being issued either of, or combination of, the following commands; yum -y update yum –enablerepo=kolab-16-updates-testing -y update puppet agent -t …| kanarip
This is Part 5 in the Replacing the AWS ELB series. Replacing the AWS ELB - The Problem Replacing the AWS ELB - The Challenges Replacing the AWS ELB - The Design Replacing the AWS ELB - The Network Deep Dive Replacing the AWS ELB - Automation (this post) Replacing the AWS ELB - Final Thoughts It goes without saying that anything that I have described in the previous posts can be accomplished - it is just a really tedious work to go through all the stages when you are doing this manually.| Technodrone
This is the last part in the Replacing the AWS ELB series. Replacing the AWS ELB - The Problem Replacing the AWS ELB - The Challenges Replacing the AWS ELB - The Design Replacing the AWS ELB - The Network Deep Dive Replacing the AWS ELB - Automation Replacing the AWS ELB - Final Thoughts (this post) If you haven’t already read the previous posts in the series - please take the time to go through them.| Technodrone
This is Part 3 in the Replacing the AWS ELB series. Replacing the AWS ELB - The Problem Replacing the AWS ELB - The Challenges Replacing the AWS ELB - The Design (this post) Replacing the AWS ELB - The Network Deep Dive Replacing the AWS ELB - Automation Replacing the AWS ELB - Final Thoughts So how do you go about using an IP address in a VPC and allow it to jump between availability zones?| Technodrone
This is Part 2 in the Replacing the AWS ELB series. Replacing the AWS ELB - The Problem Replacing the AWS ELB - The Challenges(this post) Replacing the AWS ELB - The Design Replacing the AWS ELB - The Network Deep Dive Replacing the AWS ELB - Automation Replacing the AWS ELB - Final Thoughts Now that you know the history from the previous post - I would like to dive into the challenges that I faced during the design process and how they were solved.| Technodrone
This is Part 4 in the Replacing the AWS ELB series. Replacing the AWS ELB - The Problem Replacing the AWS ELB - The Challenges Replacing the AWS ELB - The Design Replacing the AWS ELB - The Network Deep Dive (this post) Replacing the AWS ELB - Automation Replacing the AWS ELB - Final Thoughts Why does this whole thing with the network actually work? Networking in AWS is not that complicated - (sometimes it can be - but it is usually pretty simple) so why do you need to add in an additional IP...| Technodrone
This topic has been long overdue. This will be a series of posts on how you can replace the AWS ELB’s inside your VPC’s with a self managed load balancing solution. This will be too long for a single blog post so I decided it was best to split it up into parts. Replacing the AWS ELB - The Problem (this post) Replacing the AWS ELB - The Challenges Replacing the AWS ELB - The Design Replacing the AWS ELB - The Network Deep Dive Replacing the AWS ELB - Automation Replacing the AWS ELB - Fina...| Technodrone