# Linux & Git — Training Syllabus
Metgud TechHub · Learn • Build • Master

## Topics covered
1. Linux filesystem, users, permissions
2. Shell scripting basics
3. Package management (apt/yum)
4. Git branching, merge, rebase
5. GitHub/GitLab workflows & pull requests

---

# Linux & Git — Assignments
Metgud TechHub · Learn • Build • Master

## Tasks (submit screenshots / repo link to your mentor)
1. Write a shell script that backs up a folder daily via cron
2. Create a Git repo, make 3 branches, resolve a merge conflict
3. Set up SSH key login to a Linux VM

---

# Linux & Git — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. ls -la — list files with permissions
2. chmod 640 file ; chown user:group file
3. grep -rn 'text' /path — search inside files
4. find / -name '*.log' -mtime -1
5. ps aux | grep app ; top ; df -h ; free -m
6. systemctl status|start|stop|enable nginx
7. journalctl -u nginx -f
8. ssh-keygen -t ed25519 ; ssh user@host
9. git init ; git add . ; git commit -m 'msg'
10. git checkout -b feature ; git merge feature ; git rebase main
11. git log --oneline --graph

---

# Docker & Kubernetes — Training Syllabus
Metgud TechHub · Learn • Build • Master

## Topics covered
1. Images, containers, Dockerfile, Compose
2. Registries (Harbor/Nexus/JFrog)
3. Kubernetes pods, deployments, services
4. ConfigMaps, Secrets, Ingress
5. Helm charts

---

# Docker & Kubernetes — Assignments
Metgud TechHub · Learn • Build • Master

## Tasks (submit screenshots / repo link to your mentor)
1. Dockerize a Flask app with multi-stage build
2. Deploy it to Kubernetes with 3 replicas and a Service
3. Package the app as a Helm chart

---

# Docker & Kubernetes — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. docker build -t app:1.0 .
2. docker run -d -p 8080:80 --name web app:1.0
3. docker ps -a ; docker logs -f web ; docker exec -it web sh
4. docker compose up -d
5. kubectl get pods -A
6. kubectl describe pod <pod> ; kubectl logs <pod>
7. kubectl apply -f deploy.yaml
8. kubectl rollout status deploy/app ; kubectl rollout undo deploy/app
9. kubectl scale deploy/app --replicas=3
10. helm install app ./chart ; helm upgrade app ./chart ; helm rollback app 1

---

# CI/CD Pipelines — Training Syllabus
Metgud TechHub · Learn • Build • Master

## Topics covered
1. Maven build & release
2. Jenkins pipelines (Jenkinsfile)
3. GitHub Actions / GitLab CI
4. SonarQube quality gates
5. Artifact management & deployment strategies

---

# CI/CD Pipelines — Assignments
Metgud TechHub · Learn • Build • Master

## Tasks (submit screenshots / repo link to your mentor)
1. Build a Jenkins pipeline: checkout → build → test → Sonar → docker push
2. Add a quality gate that fails the build on bugs
3. Create a GitHub Actions workflow for the same app

---

# CI/CD Pipelines — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. mvn clean package ; mvn test
2. Jenkinsfile: pipeline { agent any; stages { stage('Build') { steps { sh 'mvn -B package' } } } }
3. GitHub Actions: workflow in .github/workflows/ci.yml, trigger 'on: [push]'
4. GitLab CI: stages [build, test, deploy] in .gitlab-ci.yml
5. sonar-scanner -Dsonar.projectKey=app
6. Deployment strategies: rolling, blue-green, canary

---

# Cloud (AWS / Azure) — Training Syllabus
Metgud TechHub · Learn • Build • Master

## Topics covered
1. IAM, VPC, subnets, security groups
2. EC2/VM, S3/Blob, RDS
3. Load balancers & autoscaling
4. Cloud cost basics
5. Azure DevOps & AWS CodePipeline

---

# Cloud (AWS / Azure) — Assignments
Metgud TechHub · Learn • Build • Master

## Tasks (submit screenshots / repo link to your mentor)
1. Launch a VM in a custom VPC and SSH into it
2. Host a static website on S3 / Blob with public access rules
3. Set up an autoscaling group behind a load balancer

---

# Cloud (AWS / Azure) — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. aws configure ; aws sts get-caller-identity
2. aws ec2 describe-instances
3. aws s3 ls ; aws s3 cp file s3://bucket/
4. az login ; az group list ; az vm list -o table
5. Use least-privilege IAM; keep databases in private subnets
6. Review spend in Cost Explorer / Azure Cost Management

---

# Terraform & Ansible — Training Syllabus
Metgud TechHub · Learn • Build • Master

## Topics covered
1. Terraform providers, state, modules
2. Remote state & workspaces
3. Ansible inventory, playbooks, roles
4. Packer images
5. GitOps with Argo CD

---

# Terraform & Ansible — Assignments
Metgud TechHub · Learn • Build • Master

## Tasks (submit screenshots / repo link to your mentor)
1. Provision a VM and network using Terraform
2. Write an Ansible role to install and configure Nginx
3. Bake an image with Packer and launch it

---

# Terraform & Ansible — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. terraform init ; terraform fmt ; terraform validate
2. terraform plan -out tf.plan ; terraform apply tf.plan
3. terraform state list ; terraform destroy
4. ansible all -i inventory -m ping
5. ansible-playbook -i inventory site.yml --check
6. ansible-galaxy init myrole
7. packer init . ; packer build image.pkr.hcl

---

# Monitoring & Observability — Training Syllabus
Metgud TechHub · Learn • Build • Master

## Topics covered
1. Metrics, logs, traces
2. Prometheus & exporters, PromQL
3. Time-series storage: InfluxDB & VictoriaMetrics
4. Grafana dashboards & alerts
5. ELK / Loki log pipelines
6. SLIs, SLOs, error budgets

---

# Monitoring & Observability — Assignments
Metgud TechHub · Learn • Build • Master

## Tasks (submit screenshots / repo link to your mentor)
1. Monitor a Linux host with node_exporter and build a Grafana dashboard
2. Create an alert for CPU > 80% for 5 minutes
3. Ship app logs to Loki and query them

---

# Monitoring & Observability — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. PromQL: up
2. rate(http_requests_total[5m])
3. 100 - (avg by(instance)(rate(node_cpu_seconds_total{mode="idle"}[5m])) * 100)
4. histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket[5m])) by (le))
5. LogQL (Loki): {app="web"} |= "error"
6. SLI = good events / total events ; SLO = target for the SLI ; error budget = 1 - SLO

---

# DevSecOps — Training Syllabus
Metgud TechHub · Learn • Build • Master

## Topics covered
1. Shift-left security
2. SAST / DAST / SCA
3. Secrets management
4. Container & image scanning
5. PCI DSS and CIS benchmark overview

---

# DevSecOps — Assignments
Metgud TechHub · Learn • Build • Master

## Tasks (submit screenshots / repo link to your mentor)
1. Scan a repo with SonarQube and fix 3 findings
2. Scan a Docker image and reduce vulnerabilities
3. Write a CIS hardening checklist for a Linux server

---

# DevSecOps — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. Shift-left: scan code, dependencies and images in CI
2. SAST analyses source; DAST tests the running app; SCA checks open-source libraries
3. trivy image app:1.0 — image vulnerability scan
4. Never commit secrets; use a secrets manager
5. Run containers as non-root and drop extra capabilities
6. CIS hardening: secure SSH, disable unused services, patch regularly

---

# AI / ML, RAG & Agentic AI — Training Syllabus
Metgud TechHub · Learn • Build • Master

## Topics covered
1. Python essentials
2. ML basics & model lifecycle
3. Embeddings and vector search
4. RAG pipeline architecture
5. Agentic AI workflows & prompt engineering

---

# AI / ML, RAG & Agentic AI — Assignments
Metgud TechHub · Learn • Build • Master

## Tasks (submit screenshots / repo link to your mentor)
1. Build a small Python script that calls an LLM API
2. Create a RAG chatbot over a PDF
3. Design an agent that triages alerts and suggests fixes

---

# AI / ML, RAG & Agentic AI — Cheat Sheet
Metgud TechHub · Learn • Build • Master

## Commands & snippets
1. python -m venv .venv ; source .venv/bin/activate ; pip install requests
2. An LLM call = prompt + parameters -> text; keep prompts specific and testable
3. Embedding: turn text into a vector and store it in a vector database
4. RAG: chunk documents -> embed -> retrieve top-k -> add to prompt -> answer with citations
5. Evaluate answers against the source documents
6. Agent = LLM + tools + a loop; add guardrails and human approval for risky actions

---

# Career — Resume & Interview Kit
Metgud TechHub · Learn • Build • Master

## Checklist
1. Keep resume to 1 page for freshers
2. List projects with tools used and outcomes
3. Publish projects on GitHub with a clear README
4. Practice: Linux, Git, Docker, Kubernetes, CI/CD fundamentals
5. Do 2 mock interviews per week with your mentor

---
