Skip to content

Instantly share code, notes, and snippets.

@azharism
azharism / aws_resource_list.sh
Created March 14, 2025 14:07 — forked from iam-veeramalla/aws_resource_list.sh
Script to automate the process of listing all the resources in an AWS account
#!/bin/bash
###############################################################################
# Author: Abhishek Veeramalla
# Version: v0.0.1
# Script to automate the process of listing all the resources in an AWS account
#
# Below are the services that are supported by this script:
# 1. EC2
@azharism
azharism / k8s-install.md
Created May 8, 2024 08:34 — forked from NotHarshhaa/k8s-install.md
k8s step-by-step installation guide on Ubuntu 20.04 from scratch

Certainly! Here's a step-by-step guide to installing Kubernetes (K8s) on Ubuntu 20.04 from scratch. This guide will walk you through the process of setting up a basic Kubernetes cluster using kubeadm, kubelet, and kubectl.

Prerequisites:

  1. Ubuntu 20.04: You should have a clean installation of Ubuntu 20.04 on the machines where you plan to set up your Kubernetes cluster.

  2. Minimum 2 Nodes: For a basic Kubernetes cluster, you need at least two nodes - one for the master and one or more for worker nodes.

  3. Network Configuration: Ensure that your nodes can communicate with each other over the network. You should have a static IP address for each node.

@azharism
azharism / calculator.py
Created November 18, 2022 20:08 — forked from complxalgorithm/calculator.py
Simple Python calculator program.
# Program make a simple calculator that can add, subtract, multiply and divide using functions
# define functions
def add(x, y):
"""This function adds two numbers"""
return x + y
def subtract(x, y):
"""This function subtracts two numbers"""