This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting Started & Setting Up Labs : Choosing a right Infrastructure as Code tool | |
******************************************************************************** | |
- Terraform | |
- CloudFormation | |
- Heat | |
- Ansible | |
- SaltStack | |
- Chef, Puppet and Others | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |