본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)40k · #7216

gem-devops-guidelines

하는 일

이 도구는 컴퓨터 프로그램이 출시되고 업데이트되는 방식을 계획하고 검토하도록 돕습니다. 프로그램을 빌드하는 방법부터 잘 실행되는지 확인하고, 문제가 생기면 되돌릴 수 있는지까지 다룹니다.

사용하는 경우

  • ✓새 프로그램의 출시를 계획할 때.
  • ✓서비스 중단 없이 기존 프로그램을 업데이트하는 방법을 정할 때.
  • ✓자동 테스트와 배포 과정을 설정할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/gem-devops-guidelines/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/gem-devops-guidelines/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“'canary' 전략을 사용해 새 애플리케이션을 안전하게 출시하려면 어떻게 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 배포 단계를 분석합니다. 예를 들어 이전 버전을 점진적으로 새 버전으로 교체하는 방식(롤링)이나 환경을 복제하는 방식(블루-그린)입니다. 또한 상태 확인 같은 중요한 설정과 문제가 생겼을 때 이전 버전으로 되돌리는 방법도 점검합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

DevOps Guidelines

Apply only sections relevant to workload/provider/environment/acceptance criteria. Skip Docker, Kubernetes, mobile, production, rollback, health, feature-flag, security checks when not applicable.

Deployment strategy

  • Rolling (default): gradual, zero-downtime replacement.
  • Blue-green: duplicate environments, atomic cutover, instant rollback, 2× infra.
  • Canary: route small % first; requires traffic splitting.

Docker

  • Pin base-image tags (node:22-alpine); NEVER :latest.
  • Multi-stage builds + non-root user. Copy deps first for caching.
  • .dockerignore: node_modules, .git, tests. Define HEALTHCHECK + resource limits.

Kubernetes

Configure startup, readiness, liveness probes with workload-appropriate initial delays/thresholds.

CI/CD

  • PR: lint -> typecheck -> unit -> integration -> preview.
  • Main: build -> staging -> smoke -> production.

Health and shutdown

  • Simple: GET /health -> { "status": "ok" }.
  • Detailed: dependencies, uptime, version.
  • Services MUST expose meaningful health + gracefully handle SIGTERM when workload requires it.

Configuration

Use environment variables (Twelve-Factor), separated by environment. Validate at startup + fail fast. NEVER commit secrets or hard-code NODE_ENV=production.

Rollback

  • Kubernetes: kubectl rollout undo.
  • Vercel: vercel rollback.
  • Docker: redeploy previous pinned image.

Feature Flags

  • Lifecycle: create -> enable -> 5% -> 25% -> 50% -> 100% -> remove flag + dead code.
  • Every flag MUST have owner, expiration, rollback trigger. Remove within two weeks.

Checklists

  • Pre-deploy: passing tests, code review, env vars, migrations, rollback plan.
  • Post-deploy: healthy, monitored, old pods terminated, outcome documented.
  • Production: passing tests; no hardcoded secrets; JSON logs; meaningful health; pinned versions; validated env vars; resource limits; TLS; CVE scan; CORS; rate limiting; CSP/HSTS/X-Frame-Options; tested rollback; runbook; on-call.
  • Apply security/CVE checks to executable or security-sensitive workloads.

Mobile Deployment

  • EAS: eas build:configure; eas build -p ios|android --profile preview; eas update --branch production; --auto-submit.
  • Fastlane: iOS match/cert/sigh/pilot; Android Gradle/supply.
  • Credentials in env/secret storage, never Git. Automate iOS signing with fastlane match; use keytool + Google Play App Signing for Android.
  • TestFlight: internal instant; external 90 days/100 testers. Google Play: internal/beta/production. Expect 1–7 days review.
  • Rollback: EAS eas update:rollback; native release -> revert build; store release -> reduce phased rollout.
자주 묻는 질문

'롤링 배포'란 무엇인가요?

이전 버전을 점진적으로 새 버전으로 교체해 프로그램을 업데이트하는 방식이며, 서비스가 멈추지 않도록 합니다.

'블루-그린 배포'란 무엇인가요?

동일한 환경 두 개를 두는 기법입니다. 하나(블루)는 현재 서비스 중이고 다른 하나(그린)는 트래픽을 받을 준비가 되어 있습니다. 전환은 즉시 이루어지므로 필요하면 빠르게 되돌릴 수 있습니다.

Docker에서 ':latest' 태그를 쓰면 안 되는 이유는 무엇인가요?

':latest'를 쓰면 혼란이 생기고, 정확히 어떤 버전을 쓰고 있는지 또는 어떤 버전으로 되돌려야 하는지 파악하기 어려워집니다. 'node:22-alpine'처럼 구체적인 태그를 쓰는 편이 낫습니다.

상세 정보

작성자의 원본 설명

Design or review infrastructure, deployment, CI/CD, Docker, Kubernetes, health checks, rollback, feature flags, production readiness, and mobile release workflows. Use for DevOps, platform, container, pipeline, or release tasks.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7216
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬