Make a Web Application from scratch with CURSOR – no development experience needed!

My awesome friend Dipto Biswas introduced me to the world of AI development – and I am totally hooked!

Anyone can make web applications, and so much more, using AI, with no programming / development experience required! And you can actually make stuff that’s useful – not just basic “hello world” type beginer tutorials.

In this video, I make an app that can summarize a list of all AWS resources in a particular AWS account. You can make whatever you want using the same process. Make a 3D Pong game. Make an app that can remove background from images. Make an app that shows what the stars look like on a particular night based on latitude and longitude. Or whatever else your imagination thinks of! Here are the tools and accounts you need:

Cursor – The AI Code Editor

Vercel

GitHub

Install WSL | Microsoft Learn

Install Ubuntu on WSL2 – Ubuntu WSL documentation

How To Install Node.js on Ubuntu 20.04 | DigitalOcean (I referred to this part as NPM in the video)

Go nuts!

List and Map AWS Resources A

AI based development is so cool. Two weeks ago I didn’t know what NextJS was. Today I made an app using Cursor – The AI Code Editor and Vercel in less than an hour that can list and map AWS resources in a particular account. All you have to do is provide the credentials.

You can access the app here: https://github.com/main-salman/list-and-map-aws-resources

Here is a quick video of the app in action here:

There’s more on the way!

Crossplane and ArgoCD on your own local machine on a KinD cluster – from scratch

A bunch of Crossplane/ArgoCD tutorials exist already – so why create another one? This one starts FROM SCRATCH, and takes you through all the way to creating resources on AWS.

Crossplane is not necessarily easy to get started with. But, once you get it going, it’s not much harder to use than Terraform, but with a whole lot more benefits.

If you’re new to Crossplane, these videos offer an excellent introduction. Now, are you ready to dive into the world of Crossplane?

Continue reading “Crossplane and ArgoCD on your own local machine on a KinD cluster – from scratch”

Delete Buckets and List Resources based on tags

Here is an easy couple of sets of commands to list all resources with a certain tag and delete all buckets with a certain tag. Certain beats manually deleting buckets with lots of contents. I got these little snippets from this AWS Workshop: https://workshops.aws/card/unauthorized

List resources with a certain tag:

aws resourcegroupstaggingapi get-resources --tag-filters Key=MY_TAG_KEY,Values=MY_TAG_VALUE --query 'ResourceTagMappingList[].ResourceARN'

Delete buckets with a certain tag:

aws resourcegroupstaggingapi get-resources --tag-filters Key=MY_TAG_KEY,Values=MY_TAG_VALUE --query 'ResourceTagMappingList[].ResourceARN' > buckets.json

((for bucket in {0..1}; do cat buckets.json |jq -r ".[$bucket]";done) |cut -d":" -f 6) > buckets-to-delete

while read line; do aws s3 rb s3://$line --force; done < buckets-to-delete

rm buckets.json

rm buckets-to-delete

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”

AWS Advanced Networking Specialty: Some Tips

I recently passed my AWS Advanced Networking Specialty Certification (ANS). Despite having two CCIEs and a number of other cloud and networking certifications, this was a VERY tough exam, and I JUST barely passed! I walked out of the exam thinking that I failed – as I felt that I was only able to confidently answer about 60% of the answers correctly.

In retrospect, I would recommend others to first go through multiple other AWS certifications and training before attempting ANS. Specifically, I would recommend AWS Solutions Architect Associate, AWS SysOps Administrator associate and may be even AWS Solutions Architect Professional as the ANS certification, based on all the questions I got during my certification exam, expects you to have somewhat deep knowledge of a large variety of AWS services.

Continue reading “AWS Advanced Networking Specialty: Some Tips”

Ansible vs Terraform

Ansible and Terraform are both amazing tools with different use cases, however, some of their use cases can overlap. For example, both Ansible and Terraform can be used to deploy and configure AWS, Azure, GCP, Cisco ACI or hundreds of other platforms. In most environments, especially mutli-cloud or hybrid environments, you could, and may be should use both tools to get best of both worlds. For example, you’d setup the Infrastructure-as-code (IAC) using Terraform, and then also use a Terraform “provisioner” to invoke an Ansible Playbook to do the required configuration.

Continue reading “Ansible vs Terraform”

Blog at WordPress.com.

Up ↑