In our EKS Kubernetes cluster we want multiple AWS users to be able to use the kubectl command to examine resources and for now, they can even have admin access to a few select groups. The way I’ve always done this in the past is I create new stanza in the aws-auth configMap in the…
Prometheus Service Monitors
Prometheus is confusing. It’s such a great project and there is all kinds of information out there, but it’s taken me a bit of legwork to understand it. The first issue is: How are you going to install it? Since I’m running this on Kubernetes it makes sense to use whatever most people are doing….
AWS Client VPN SAML authentication with Google G-Suite
Note: Video for this Blog Post is Here. When dealing with cloud resources the two opposing needs are security and accessibility. When we often deploy resources in a private network inside of an AWS VPC that are not accessible directly from the outside. To access these resources, we can use a bastion server or VPN….
Lens and EKS
Lens is a really cool front end dashboard for Kubernetes clusters. One issue I ran into from connecting to the cluster was that I typically use different AWS Profiles for different clusters. Typically I’ll do something like: To set my user. To put this in Lens so that it can connect, we just add this…
Allowing Applications in AWS EKS to access other AWS services
I have an application that runs in a container. The application is pretty simple in that all it does is list the contents of a DynamoDB database I created. The code is here, as well as all the YAML files for deploying to EKS. The problem is, when we pull this up on a standard…
ARCoachingOverlayView and SwiftUI
These last few weeks I’ve been diving into Apple’s RealityKit for iPhone. I’ve chosen to use SwiftUI instead of UIKit as I like the similarities between it and ReactJS. I thought I’d start posting a few things I learn as I find Apple’s documentation is great if you already know what you’re doing. Unfortunately, if…
Building a Business
I’ve done many coding projects in my career but until this year I’ve never created a project that actually earns money. I have always had big aspirations to do this, and I’ve always talked about it, but until September of this year I had never done it. Well, I’ve done it! Humbly, but I’m still…
Javascript Unique Objects By Key
Suppose you have an array of objects in javascript: In the above contrived example 2 of the 3 objects have the same id value of a. We’d like to filter this array so that the result is: Javascript doesn’t have a built in unique function like other languages do. But we can use the filter…
React Hooks: useState with Arrays
I spent a good portion of the work day today trying to code up a simple form to accept a list of zip codes and put them in an array. The final form looks as follows: As you can see there are a few zip codes and then we can click the ‘Add Zip Code’…