Skip to content

Instantly share code, notes, and snippets.

View tarunsinghaldotme's full-sized avatar
👓

Tarun Singhal tarunsinghaldotme

👓
View GitHub Profile
@tarunsinghaldotme
tarunsinghaldotme / infrastructure-components.csv
Created April 4, 2025 02:54
Choosing the Right AWS Infrastructure Components
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 7 columns, instead of 3 in line 6.
Feature,Regions,Availability Zones,Edge Locations,Local Zones,Wavelength Zones,Outposts
Primary Purpose,Geographic isolation,High availability within a region,Content delivery and DNS,Low latency for metropolitan areas,Ultra-low latency for 5G applications,AWS in your data center
Typical Latency,Varies by distance,<2ms between AZs,<50ms to end users,<10ms to metropolitan area,<10ms for 5G users,Local network speed
Services Available,All AWS services,Most AWS services,CloudFront/Route 53,Subset focused on compute/storage/databases,Limited subset (EC2/EBS/VPC),Subset of AWS services
Data Residency Control,Regional,Regional,Global caching network,Metro area with connection to parent region,Telecom provider facilities,Your data center
Best For,Compliance/global presence,Mission-critical production workloads,Content-heavy websites/global audiences,Interactive applications in specific metros,Mobile edge computing/AR/VR,Strict data sovereignty/hybrid deployments
Cost Consideration,Standard AWS pricing,Inter-AZ data
@tarunsinghaldotme
tarunsinghaldotme / GTWvsIntEP.csv
Last active March 21, 2025 01:43
Gateway vs Interface Endpoints
Feature Gateway Endpoints Interface,Endpoints
Supported Services Only S3 and DynamoDB Most AWS services
Cost Free ~$0.01/hour per endpoint + data charges
Access from on-premises No Yes
Access from peered VPCs No Yes
Implementation method Route table entries ENIs in your subnets
IP addresses consumed None One per AZ per endpoint
Regional/Zonal failure impact Regional Zonal (can be mitigated with multi-AZ)
@tarunsinghaldotme
tarunsinghaldotme / TOGAFvsAWF.csv
Last active March 17, 2025 18:44
TOGAF vs AWS Well-Architected Framework
Feature TOGAF AWS Well-Architected Framework
Scope Enterprise-wide architecture across business, data, application, and technology domains Specific to AWS cloud environments with a technology focus
Primary Focus Aligning IT with business goals, enabling digital transformation Optimizing cloud workloads for performance, cost, security, and reliability
Vendor Approach Vendor-neutral, suitable for multi-vendor environments AWS-specific, designed for AWS services
Level of Detail Highly prescriptive with detailed process steps Principles-based with practical recommendations
Starting Point Business vision driving technology decisions Technology capabilities supporting business requirements
Implementation Time Months to years for full implementation Can be applied immediately to individual workloads
@tarunsinghaldotme
tarunsinghaldotme / URL
Created September 17, 2019 08:45
Kubernetes
https://docs.bitnami.com/kubernetes/how-to/configure-rbac-in-your-kubernetes-cluster/
@tarunsinghaldotme
tarunsinghaldotme / Ansible-server-hardening-ubuntu.yml
Last active September 9, 2017 17:43
This is an Ansible Playbook is to harden your server and reduce security risk. It is for ubuntu/Debian based server.Run this playbook as a root because it requires various configuration changes and Installation.
---
## This is an Ansible Playbook is to harden your server and reduce security risk. It is for ubuntu/Debian based server.
## Run this playbook as a root because it requires various configuration changes and Installation.
- hosts: servers
gather_facts: false
vars_files:
- vars.yml ## files where varaible should be mentioned which are using in this playbook.
tasks:
- name: Installing Python-apt ## This will install ansible dependencies for aptitude module
apt:
@tarunsinghaldotme
tarunsinghaldotme / wordpress-command-line-installation-guide.md
Last active September 9, 2017 17:52
Wordpress Installation, Configuration and Management using Command line

Wordpress Installation, Configuration and Management using Command line


There is a command line utility called wp-cli

  • To Install wordpress please follow following commands

  • Download wp-cli via curl