Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)48k Β· #4374

deployment-procedures

Fungsinya

Panduan ini mengajarkan prinsip-prinsip untuk menjalankan program komputer baru ke tahap produksi dengan aman. Fokusnya adalah cara berpikir tentang prosesnya, bukan perintah-perintah tertentu.

Kapan dipakai

  • βœ“Saat merilis versi baru website atau aplikasi Anda.
  • βœ“Saat Anda perlu memastikan bahwa kembali ke versi sebelumnya bisa dilakukan dengan cepat dan aman.
  • βœ“Untuk memahami langkah-langkah yang diperlukan sebelum dan sesudah pembaruan.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/deployment-procedures/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/deployment-procedures/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBagaimana caranya agar pembaruan website saya tidak menimbulkan masalah bagi pengguna?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI menjelaskan langkah umum dan titik keputusan untuk rilis yang aman, seperti memeriksa kode, membuat cadangan (backup), dan menyiapkan rencana untuk mengembalikan perubahan jika terjadi masalah.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Deployment Procedures

Deployment principles and decision-making for safe production releases. Learn to THINK, not memorize scripts.


⚠️ How to Use This Skill

This skill teaches deployment principles, not bash scripts to copy.

  • Every deployment is unique
  • Understand the WHY behind each step
  • Adapt procedures to your platform

1. Platform Selection

Decision Tree

What are you deploying?
β”‚
β”œβ”€β”€ Static site / JAMstack
β”‚   └── Vercel, Netlify, Cloudflare Pages
β”‚
β”œβ”€β”€ Simple web app
β”‚   β”œβ”€β”€ Managed β†’ Railway, Render, Fly.io
β”‚   └── Control β†’ VPS + PM2/Docker
β”‚
β”œβ”€β”€ Microservices
β”‚   └── Container orchestration
β”‚
└── Serverless
    └── Edge functions, Lambda

Each Platform Has Different Procedures

Platform Deployment Method
Vercel/Netlify Git push, auto-deploy
Railway/Render Git push or CLI
VPS + PM2 SSH + manual steps
Docker Image push + orchestration
Kubernetes kubectl apply

2. Pre-Deployment Principles

The 4 Verification Categories

Category What to Check
Code Quality Tests passing, linting clean, reviewed
Build Production build works, no warnings
Environment Env vars set, secrets current
Safety Backup done, rollback plan ready

Pre-Deployment Checklist

  • All tests passing
  • Code reviewed and approved
  • Production build successful
  • Environment variables verified
  • Database migrations ready (if any)
  • Rollback plan documented
  • Team notified
  • Monitoring ready

3. Deployment Workflow Principles

The 5-Phase Process

1. PREPARE
   └── Verify code, build, env vars

2. BACKUP
   └── Save current state before changing

3. DEPLOY
   └── Execute with monitoring open

4. VERIFY
   └── Health check, logs, key flows

5. CONFIRM or ROLLBACK
   └── All good? Confirm. Issues? Rollback.

Phase Principles

Phase Principle
Prepare Never deploy untested code
Backup Can't rollback without backup
Deploy Watch it happen, don't walk away
Verify Trust but verify
Confirm Have rollback trigger ready

4. Post-Deployment Verification

What to Verify

Check Why
Health endpoint Service is running
Error logs No new errors
Key user flows Critical features work
Performance Response times acceptable

Verification Window

  • First 5 minutes: Active monitoring
  • 15 minutes: Confirm stable
  • 1 hour: Final verification
  • Next day: Review metrics

5. Rollback Principles

When to Rollback

Symptom Action
Service down Rollback immediately
Critical errors Rollback
Performance >50% degraded Consider rollback
Minor issues Fix forward if quick

Rollback Strategy by Platform

Platform Rollback Method
Vercel/Netlify Redeploy previous commit
Railway/Render Rollback in dashboard
VPS + PM2 Restore backup, restart
Docker Previous image tag
K8s kubectl rollout undo

Rollback Principles

  1. Speed over perfection: Rollback first, debug later
  2. Don't compound errors: One rollback, not multiple changes
  3. Communicate: Tell team what happened
  4. Post-mortem: Understand why after stable

6. Zero-Downtime Deployment

Strategies

Strategy How It Works
Rolling Replace instances one by one
Blue-Green Switch traffic between environments
Canary Gradual traffic shift

Selection Principles

Scenario Strategy
Standard release Rolling
High-risk change Blue-green (easy rollback)
Need validation Canary (test with real traffic)

7. Emergency Procedures

Service Down Priority

  1. Assess: What's the symptom?
  2. Quick fix: Restart if unclear
  3. Rollback: If restart doesn't help
  4. Investigate: After stable

Investigation Order

Check Common Issues
Logs Errors, exceptions
Resources Disk full, memory
Network DNS, firewall
Dependencies Database, APIs

8. Anti-Patterns

❌ Don't βœ… Do

…

Pertanyaan umum

Apa itu 'rollback'?

Rollback adalah proses kembali ke versi program sebelumnya jika versi baru menimbulkan masalah.

Mengapa sebaiknya tidak deploy pada hari Jumat?

Deploy di akhir pekan bisa berisiko, karena jika terjadi masalah, bantuan cepat mungkin sulit didapat selama akhir pekan.

Apa itu 'feature flags'?

Feature flags adalah seperti sakelar yang memungkinkan Anda menyalakan atau mematikan fitur baru dalam program tanpa perlu melakukan deployment penuh.

Detail

Deskripsi asli dari pembuat

Production deployment principles and decision-making. Safe deployment workflows, rollback strategies, and verification. Teaches thinking, not scripts.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4374
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa