Fail2ban and Web Services

One of the problems of running my own servers and hosting my own sites is that for some reason people like to hack them and try to guess passwords with SSH. Fail2ban solves this problem by allowing only a few failed login attempts before banning the offending server for a specified duration of time. This…

Own your own content

Reading this morning on Hacker News was this article on how the old Internet has died because we trusted all our content to Facebook and Google. While hyperbole abounds in the headline and there are plenty of internet things out there that aren’t owned by Google nor Facebook (including this AWS free blog) it is…

2019 Year in Review

Another ride around the sun comes to a close and a new adventure begins in just a few days. I like to take a few minutes at the end of each year and think about how this year went compared to what I thought would happen when I wrote this review 12 months ago. I…

Updating Facebook UTMs on Ads

One of the ways that advertisers measure the return on investment of advertising is tying ads to revenue. So for example, for every 1,000 clicks on an online digital Ads, how many of those people actually buy the product? The way this is tracked is that you put in what is called a UTM tag…

Cloudfront S3 static site hosting and index.html

This article I followed was a little outdated.  Things do change a lot in 3 years.  It’s mostly the same as the function seems to work but the implementation does not.  Following the hints here I was able to get this to work.  The big one was you need to refresh your browser.  I think…

KUBAM update

While working at Cisco I developed a project called KUBAM:  A simple bare metal provision tool for UCS.  I updated the kubam.io page and am now offering support for $500 / node per year.  I couldn’t do this at Cisco because I could never get it officially recognized by the powers that be.  That is…

Kubernetes Cron Job vs. AWS Glue

As I’ve been dealing with streaming data one of the architectural decisions I’ve had to make is how to run periodic batch jobs on the data as it comes in.  In the case of web traffic, it is logged into a database.  What my batch jobs do is take the data from the MariaDB MySQL…

Golang: AWS SDK, Cognito and API Gateway

The situation is as follows: Create an application with the serverless framework.  This uses API Gateway, Lambda, and all kinds of cool stuff. Authenticate on the application using Cognito. Write a client that can call the API created by API gateway in Go. Steps 1-2 are covered everywhere on the internet.  My favorite reference is…

Ingress on AWS

While looking for different options on how to run an ingress controller on AWS I found that EKS recently announced support for an open source project that creates an ALB ingress controller.  One of the advantages of an ingress rule is that I can have many services be reachable via one external load balancer.  In…

Book Review: Sapiens A Brief History of Humankind

If you ever want to get a real perspective on the destruction our species has done to the planet and most of the other species on this earth, this is a great read.  I was fascinated by the accounts of our ancestors spreading from Africa to the rest of the world.  I read in horror…