C.W.K.
Stream
Lesson 01 of 13 · published

왜 self-hosted runner

~10 min · self-hosted, decisions, tradeoffs

Level 0Apprentice
0 XP0/101 lessons0/10 achievements
0/120 XP to next level120 XP to go0% complete

직접 runner 가져올 정직한 이유

  1. 비용. 청구가 macOS 나 large runner 분에 지배되면 Mac mini 나 홈랩 박스 self-host 가 분기에 본전.
  2. 하드웨어. MLX 위한 Apple Silicon. 학습 위한 NVIDIA H100. 크로스 arch test 위한 ARM. 어느 것도 표준 hosted runner 아님.
  3. 네트워크 접근. Test 가 사설 네트워크 내 서비스 (DB, Vault, 내부 API) 와 대화 필요. Hosted runner 는 그거 못 닿음.
  4. Persistent cache. Filesystem level 의 run 간 살아남는 build cache — Docker layer cache, pip cache, conda env.
  5. 알려진 image 의 재현성. 팀의 정확한 OS / 패키지 세트, 이동 타겟 아님.

안 할 정직한 이유

  1. 작은 팀. 1-3 self-hosted runner 유지 OK; 30+ 유지는 자기 일이 됨.
  2. 보안 오버헤드. Self-hosted runner 는 신뢰 안 되는 코드 (contributor 의 PR) 실행. 기본 격리 약함 — 추가해야 함.
  3. 나열된 이유 중 어느 것도 실제 없음. '있으면 멋짐' 은 이유 아님.

결정 matrix

다섯 정직한 이유 중 하나라도 적용되면 self-host. 아니면 hosted runner 가 거의 항상 직접 운영하는 엔지니어링 시간보다 저렴.

Code

Self-hosted runner 타겟팅·yaml
  build-on-apple-silicon:
    runs-on: [self-hosted, macos, apple-silicon]

  train-on-h100:
    runs-on: [self-hosted, gpu-h100, linux-x64]

  internal-integration:
    runs-on: [self-hosted, internal-network]

External links

Exercise

Self-hosted 이유 아직 없으면 CI 비용 / 능력 통점 상위 3 나열. 5 정직한 이유 중 어느 것도 안 떠오르면 hosted 괜찮음 인정. 하나 떠오르면 roadmap.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.