paraspahwa / kodekloud-engineer-1

KodeKloud Engineer solutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KodeKloud Engineer

Hi folks đź‘‹

  • This repository is my journey at KodeKloud Engineer, my solutions will be updated here.
  • I also updated the way to solve Linux problems, instead of doing some boring Linux commands, my solution will solve it by leveraging Ansible

Ranking

  • Update 24/09/2023: Promoted to Senior DevOps Engineer

Senior DevOps Engineer

SSH commands

Service Name Command
Nautilus App 1 ssh tony@172.16.238.10
Nautilus App 2 ssh steve@172.16.238.11
Nautilus App 3 ssh banner@172.16.238.12
Nautilus HTTP LBR ssh loki@172.16.238.14
Nautilus DB Server ssh peter@172.16.239.10
Nautilus Storage Server ssh natasha@172.16.238.15
Nautilus Backup Server ssh clint@172.16.238.16
Nautilus Mail Server ssh groot@172.16.238.17
Jenkins Server for CI/CD ssh jenkins@172.16.238.19

SSH to server with sshpass

sudo yum install sshpass -y

Server Name Purpose Command
stapp01 Nautilus App 1 sshpass -p Ir0nM@n ssh -o StrictHostKeyChecking=no tony@172.16.238.10
stapp02 Nautilus App 2 sshpass -p Am3ric@ ssh -o StrictHostKeyChecking=no steve@172.16.238.11
stapp03 Nautilus App 3 sshpass -p BigGr33n ssh -o StrictHostKeyChecking=no banner@172.16.238.12
stlb01 Nautilus HTTP LBR sshpass -p Mischi3f ssh -o StrictHostKeyChecking=no loki@172.16.238.14
stdb01 Nautilus DB Server sshpass -p 'Sp!dy' ssh -o StrictHostKeyChecking=no peter@172.16.239.10
ststor01 Nautilus Storage Server sshpass -p Bl@kW ssh -o StrictHostKeyChecking=no natasha@172.16.238.15
stbkp01 Nautilus Backup Server sshpass -p H@wk3y3 ssh -o StrictHostKeyChecking=no clint@172.16.238.16
stmail01 Nautilus Mail Server sshpass -p Gr00T123 ssh -o StrictHostKeyChecking=no groot@172.16.238.17
jenkins Jenkins Server for CI/CD sshpass -p 'j@rv!s' ssh -o StrictHostKeyChecking=no jenkins@172.16.238.19

Getting Started

Jump server information

  • Jumphost: CentOS 8

    • user: thor
    • password: mjolnir123
  • Nautilus App Servers: CentOS 7

How to solve Linux problems

  • Clone the repository: git clone https://github.com/ntheanh201/kodekloud-engineer.git
  • Go to folder: cd kodekloud-engineer
  • Install Ansible: ./install_ansible.sh
  • Solve Linux tasks by running Ansible playbook

Test environment

ansible-playbook -i test-environments curriculum/<module_name>/<task>/<level>/solution.yaml

Nautilus environment

ansible-playbook -i environments curriculum/<module_name>/<task>/<level>/solution.yaml

Curriculum

Linux (automated with Ansible)

Level 1

Level 2

Level 3

Kubernetes

Level 1

Level 2

Level 3

Level 4

Ansible

Level 1

Level 2

Level 3

Level 4

Docker

Level 1

Level 2

Level 3

Level 4

Git

Level 1

Level 2

Level 3

Level 4

Jenkins

Level 1

Level 2

Level 3

Cloud (AWS) - Coming Soon

Cloud (Azure) - Coming Soon

Cloud (GCP) - Coming Soon

Projects - Coming Soon

About

KodeKloud Engineer solutions


Languages

Language:Dockerfile 51.9%Language:PHP 23.1%Language:Shell 7.8%Language:Python 7.8%Language:JavaScript 6.6%Language:Jinja 2.2%Language:HTML 0.6%