Tracking EC2 Instances used by EKS with AWS CLI
Scott S. Lowe Blog
by
1w ago
As a sort of follow-up to my previous post on using the AWS CLI to track the specific Elastic Network Interfaces (ENIs) used by Amazon Elastic Kubernetes Service (EKS) cluster nodes, this post focuses on the EC2 instances themselves. I feel this is less of a “problem” than tracking ENIs, but I wanted to share this information nevertheless. In this post, I’ll show you which AWS CLI command to use to list all the EC2 instances associated with a particular EKS cluster. If you read the previous post on tracking ENIs used by EKS, you might think that you could use a very similar AWS CLI command (aw ..read more
Visit website
Tracking ENIs used by EKS with AWS CLI
Scott S. Lowe Blog
by
1w ago
I’ve recently been spinning up lots of Amazon Elastic Kubernetes Service (EKS) clusters (using Pulumi, of course) in order to test various Cilium configurations. Along the way, I’ve wanted to verify the association and configuration of Elastic Network Interfaces (ENIs) being used by the EKS cluster. In this post, I’ll share a couple of AWS CLI commands that will help you track the ENIs used by an EKS cluster. When I first set out to find the easiest way to track the ENIs used by the nodes in an EKS cluster, I thought that AWS resource tags might be the key. I was right—but not in the way I exp ..read more
Visit website
Technology Short Take 176
Scott S. Lowe Blog
by
1M ago
Welcome to Technology Short Take #176! This Tech Short Take is a bit heavy on security-related links, but there’s still some additional content in a number of other areas, so you should be able to find something useful—or at least interesting—in here. Thanks for reading! Networking Lee Briggs (formerly of Pulumi, now with Tailscale) shows how to use the Tailscale Operator to create “free” Kubernetes load balancers (“free” as in no additional charge above and beyond what it would normally cost to operate a Kubernetes cluster). Ivan Pepelnjak dives deep on DHCP relaying on a Linux host. I also ..read more
Visit website
Technology Short Take 175
Scott S. Lowe Blog
by
2M ago
Welcome to Technology Short Take #175! Here’s your weekend reading—a collection of links and articles from around the internet on a variety of data center- and cloud-related topics. I hope you find something useful here! Networking The good folks over at Packet Pushers have compiled a list of open source networking projects. Security I attended a local meetup here in the Denver metro area a short while ago and was introduced to sops. AMD processors have been discovered to have multiple security flaws; more details available here. The Linux kernel project has become a CVE Numbering Authority ..read more
Visit website
Technology Short Take 174
Scott S. Lowe Blog
by
2M ago
Welcome to Technology Short Take #174! For your reading pleasure, I’ve collected links on topics ranging from Kubernetes Gateway API to recent AWS attack techniques to some geeky Linux and Git topics. There’s something here for most everyone, I’d say! But enough of my rambling, let’s get on to the good stuff. Enjoy! Networking I want to be Ivan Pepelnjak when I grow up. Why? Read this article on his response to someone wanting to use NSX to create availability zones. Nico Vibert has a tutorial that takes readers through using Cilium’s Gateway API functionality to do L7 traffic management (HTT ..read more
Visit website
Using SSH with the Pulumi Docker Provider
Scott S. Lowe Blog
by
3M ago
In August 2023, Pulumi released a version of the Docker provider that supported SSH-based connections to a Docker daemon. I’ve written about using SSH with Docker before (see here), and I sometimes use AWS-based “Docker build hosts” with my M-series Macs to make it easier/simpler (and sometimes faster) to build x86_64-based Docker images. Naturally, I’m using an SSH connection in those cases. Until this past weekend, however, I hadn’t really made the time to look deeper into how to use SSH with the Pulumi Docker provider. In this post, I’ll share some details that (unfortunately) haven’t yet m ..read more
Visit website
Technology Short Take 173
Scott S. Lowe Blog
by
3M ago
Welcome to Technology Short Take #173! After a lull in links to share last time around, it looks like things have rebounded and folks are in full swing writing new content for me to share with you. I think I have a decent round-up of links for you; hopefully you can find something useful here. Enjoy! Networking This article on running WireGuard in Docker may prove useful if that’s an approach I decide to adopt for my AWS lab infrastructure. Natalie Marek educates readers on VPC endpoints. Russ White laments some of the issues facing network engineering. Servers/Hardware Alex Ellis provides ..read more
Visit website
Technology Short Take 172
Scott S. Lowe Blog
by
3M ago
Welcome to Technology Short Take #172, the first Technology Short Take of 2024! This one is really short, which I’m assuming reflects a lack of blogging activity over the 2023 holiday season. Nevertheless, I have managed to scrape together a few links to share with readers. As usual, I hope you find something useful. Enjoy! Networking Via this blog post, I learned that Ivan Pepelnjak has a GitHub repository of hands-on examples for learning public cloud networking (including both AWS and Azure). Ivan’s materials are always excellent, so if you’re looking for resources to help with expanding y ..read more
Visit website
Selectively Replacing Resources with Pulumi
Scott S. Lowe Blog
by
4M ago
Because Pulumi operates declaratively, you can write a Pulumi program that you can safely run (via pulumi up) multiple times. If no changes are needed—meaning that the current state of the infrastructure matches what you’ve defined in your Pulumi program—then nothing happens. If only one resource needs to be updated, then it will update only that one resource (and any dependencies, if there are any). There may be times, however, when you want to force the replacement of specific resources. In this post, I’ll show you how to target specific resources for replacement when using Pulumi. Here’s an ..read more
Visit website
Dynamically Enabling the Azure CLI with Direnv
Scott S. Lowe Blog
by
4M ago
I’m a big fan of direnv, the tool that lets you load and unload environment variables depending on the current directory. It’s so very useful! Not too terribly long ago, I wanted to find a way to “dynamically activate” the Azure CLI using direnv. Basically, I wanted to be able to have the Azure CLI disabled (no configuration information) unless I was in a directory where I needed or wanted it to be active, and be able to make it active using direnv. I finally found a way to make it work, and in this blog post I’ll share how you can do this, too. First, you’ll need both direnv and the Azure CLI ..read more
Visit website

Follow Scott S. Lowe Blog on FeedSpot

Continue with Google
Continue with Apple
OR