Finding All IP Addresses in Your AWS VPC with a Simple Bash Script

MORE Cursor magic!

When managing AWS infrastructure, it’s often crucial to have a clear overview of all IP addresses and endpoints within your Virtual Private Cloud (VPC). With literally just one simple prompt, Cursor created a helpful bash script that provides a comprehensive view of all network-related resources in a VPC.

Continue reading “Finding All IP Addresses in Your AWS VPC with a Simple Bash Script”

Automatically tag EC2 instances with OS

I was surprised that a blog post doesn’t already exist (or at least I didn’t find one), so, this post covers how to automatically add a tag to EC2 instances upon creation with OS of the instance. After the below components are deployed, EC2 instances should automatically have either a os:linux or os:windows tag.

  1. First, create a Lambda function with the following code. I called my function autoTagEC2OS. Use Python 3.12:

Continue reading “Automatically tag EC2 instances with OS”

Create a free website or blog at WordPress.com.

Up ↑