CI/CD & GitHub Actions (50 Qs)•Part 1: CI/CD Fundamentals & GitHub Actions Core (Junior / Entry-Level)
What is the difference between GitHub-Hosted Runners and Self-Hosted Runners?
junior LevelMost AskedState ManagementCI/CD & DevOps
In Simple Words:
| Dimension | GitHub-Hosted Runners | Self-Hosted Runners |
|---|---|---|
| Management | Completely managed by GitHub (Azure VMs) | Managed and patched by your internal DevOps team |
| Clean Environment | Fresh, ephemeral VM for every single job run | Persistent VM or auto-scaled container pods |
| Network Access | Public IP addresses (restricted access to private VPCs) | Resides inside your private VPC/Data Center with internal access |
| Hardware | Standard 2-core / 4-core (custom large runners paid) | Custom CPU, GPU, Apple Silicon, large RAM |
| Cost | Metered per-minute consumption | Infrastructure hosting cost |