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”

AWS WordPress Deployment with CloudFront using Terraform

I couldn’t find an existing repo with a simple way to deploy a WordPress site on AWS with CloudFront CDN integration, so I created this Terraform script to do it: main-salman/aws-wordpress-cloudfront-terraform: A WordPress deployment on AWS fronted by CloudFront CDN deployed using Terraform.

This is great to test out CloudFront CDN integration with WordPress on AWS. Bunch of other scripts I found required owning a domain name and other inputs. This is just a simple script to get you started. Just simply run “terraform init” and “terraform apply” and you’re good to go!

Before running the script, the only three things you need to provide are:

  1. AWS Access Key
  2. AWS Secret Key
  3. Key Pair Name

All the other variables are optional and you can change them to your liking.

Continue reading “AWS WordPress Deployment with CloudFront using Terraform”

Tool for testing globally deployed databases in three different AWS regions

My team is building an application that needs to scale to 10,000s of users – but not millions. Accordingly, we can’t necessarily follow SaaS models/best practices meant for scaling to millions of users as that would be overkill and not cost efficient.

One architecture we came up with involves compute in one region with serverless RDS databases deployed in different regions due to data residency/compliance requirements. Of course, generally, you never want applications to be too far away from their databases – definitely not continents apart! But that’s part of our literal requirement.

So to test to make sure our application will be able to have adequate database performance even with databases deployed literally in other continents, I built the Global DB Performance Tester using Cursor AI

Continue reading “Tool for testing globally deployed databases in three different AWS regions”

Create a free website or blog at WordPress.com.

Up ↑