Skip to content

Instantly share code, notes, and snippets.

View vsathyak's full-sized avatar
🏠
Working from home

Vysakh Sathya vsathyak

🏠
Working from home
View GitHub Profile
@vsathyak
vsathyak / HashiCorp Certified: Terraform Associate 2021
Last active October 17, 2023 05:56
HashiCorp Certified: Terraform Associate 2021 by Zeal
Getting Started & Setting Up Labs : Choosing a right Infrastructure as Code tool
********************************************************************************
- Terraform
- CloudFormation
- Heat
- Ansible
- SaltStack
- Chef, Puppet and Others
@vsathyak
vsathyak / Python 3 (Udemy Zero to Hero)
Last active October 6, 2021 02:03
Python Bootcamp From Zero to Hero in Python
Course Materials
----------------
Github Link for Materials : https://github.com/Pierian-Data/Complete-Python-3-Bootcamp
Free Python Interpreter
-----------------------
>> jupyter.org/try
>> Google collab online notebooks
>> repl.it
>> Google search "Python Onine Interpreter"
Kubernetes Architecture
~~~~~~~~~~~~~~~~~~~~~~~
Nodes
-----
. A node is a machine, physical or virtual on which Kubernetes is installed.
. A node is a worker machine and that is where containers will be launched by Kubernetes.
- A worker node is also called as minions
Cluster
@vsathyak
vsathyak / Linux_Notes.txt
Last active June 22, 2024 16:45
Linux Notes
Common Network Ports and associated Applications
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT NUMBER PROTOCOL SERVER APPLICATION
22 SSH OpenSSH
23 TELNET telnetd
25 SMTP PostFix, Sendmail
53 DNS BIND, named, unbound
67 BOOTP dnsmasq, dhcpd
80 HTTP Apache, nginx
443 HTTPS Apache, nginx
@vsathyak
vsathyak / Docker.txt
Last active June 11, 2024 05:59
Docker Notes
Docker is primarly a container runtime, means that Docker is a piece of software that is designed to impliment and
support containers. (Rocket and containerd are some competitors.)
DOCKER INSTALLATION
=====================================================================================================================
Install Docker in CentOS
~~~~~~~~~~~~~~~~~~~~~~~~
Install all the packages needed to install docker
-------------------------------------------------
@vsathyak
vsathyak / Ansible: Playbooks Deep Dive
Last active February 6, 2023 18:33
Ansible Playbook Deep Dive
Ansible Playbooks
~~~~~~~~~~~~~~~~~
As ad-hoc commands are to bash commands, playbooks are to bash scripts. Playbooks run using 'ansible-playbook' command
and not the ansible command. Playbooks are written in YAML. It contain different elements called plays. Plays contain
list of host and at minimum one task.
You can use default host inventory or you can create a new inventory file.
>> sudo su - ansible
>> pwd ==> /home/ansible
@vsathyak
vsathyak / Ansible Ad Hoc Commands Deep Dive
Last active December 18, 2023 16:10
Ansible: Ad Hoc Commands Deep Dive
Ansible: Setup, Configure, and Ad Hoc Commands Deep Dive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ansible is an opensource tool that enables automate, configure and orchestrate your infrastructure.
How to install Ansible
----------------------
>> yum list epel-release
>> yum install epel-release(do it only if not installed)
>> sudo yum install ansible
>> sudo yum install git
Ansible Introduction and Architecture
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ansible is an automation engine that allows for agentless system configuration and deployment means it is simply a tool
that can execute tasks on remote or local system wherever you need to. It does this in a way that doesn't require any
real additional software outside of the ansible based binaries that you install on one server and runs Ansible modules
on remote system over SSH inorder to complete tasks.
Basic Components
----------------
Control Node : Any machine with Ansible installed. You can run commands and playbooks, invoking /usr/bin/ansible or