Deployment management

GroupKelompok
Product and service management
LifecycleLifecycle
TransitionBuild
Reading timeWaktu baca
9 min9 menit
Purpose in one sentenceTujuan dalam satu kalimatMove new or changed hardware, software, documentation, processes or any other component to live environments, and to other environments such as testing.Memindahkan hardware, software, dokumentasi, proses, atau komponen lain yang baru atau diubah ke lingkungan produksi, dan ke lingkungan lain seperti pengujian.

Deployment is the hands-on technical step of getting components where they need to be. In many organizations it used to be a stressful, manual job done at night by one expert. Modern teams automate it so deployments are repeatable, fast and, ideally, boring.

Deployment adalah langkah teknis langsung untuk menempatkan komponen di tempat yang seharusnya. Di banyak organisasi, dulu ini adalah pekerjaan manual yang menegangkan, dilakukan malam hari oleh satu orang ahli. Tim modern mengotomasinya agar deployment bisa diulang, cepat, dan idealnya membosankan.

Key ideasKonsep kunci

  • Environments. Development, test, staging and production. The more alike they are, the fewer surprises in production.
  • Different approaches. Big bang, phased, pull (users download it) or continuous delivery. Choose per situation.
  • Automate with pipelines. CI/CD pipelines make every deployment follow the same tested steps and leave an audit trail.
  • Always have a way back. Every deployment needs a rollback or roll-forward plan, tested before you need it.
  • Know what is where. Update configuration records so everyone knows which version runs in which environment.
  • Lingkungan. Development, test, staging, dan production. Semakin mirip satu sama lain, semakin sedikit kejutan di production.
  • Pendekatan yang berbeda. Big bang, bertahap, pull (pengguna mengunduhnya), atau continuous delivery. Pilih sesuai situasi.
  • Otomasi dengan pipeline. Pipeline CI/CD membuat setiap deployment mengikuti langkah teruji yang sama dan meninggalkan jejak audit.
  • Selalu punya jalan kembali. Setiap deployment butuh rencana rollback atau roll-forward, yang sudah diuji sebelum dibutuhkan.
  • Ketahui apa ada di mana. Perbarui catatan konfigurasi agar semua orang tahu versi mana yang berjalan di lingkungan mana.

Key activitiesAktivitas kunci

A typical flow. Real work loops back and skips steps when it makes sense.

Alur yang umum. Dalam praktik, pekerjaan bisa kembali ke langkah sebelumnya atau melewati langkah tertentu bila masuk akal.

  1. PreparePackage the components and choose the target.
  2. Check the targetIs the environment ready and healthy?
  3. DeployRun the automated, repeatable steps.
  4. VerifyCheck health signals and smoke tests.
  5. Roll back if neededUse the tested way back, without debate.
  6. RecordUpdate configuration records and the change.
  1. MenyiapkanKemas komponen dan tentukan lingkungan tujuan.
  2. Memeriksa tujuanApakah lingkungannya siap dan sehat?
  3. Melakukan deploymentJalankan langkah otomatis yang bisa diulang.
  4. MemverifikasiPeriksa sinyal kesehatan dan smoke test.
  5. Rollback bila perluGunakan jalan kembali yang sudah diuji, tanpa perdebatan.
  6. MencatatPerbarui catatan konfigurasi dan change terkait.

How to measure itCara mengukurnya

MetricMetrikWhat it tells youApa yang ditunjukkanWatch out forPerhatikan
Deployment frequencyFrekuensi deploymentHow easily changes reach environmentsSeberapa mudah perubahan sampai ke lingkungan tujuanCounting deployments with no real changeMenghitung deployment tanpa perubahan nyata
Change failure rateTingkat kegagalan changeHow often deployments cause problemsSeberapa sering deployment menimbulkan masalahFailures fixed quietly and not recordedKegagalan diperbaiki diam-diam dan tidak dicatat
Time to restore after a failed deploymentWaktu pemulihan setelah deployment gagalHow good your way back isSeberapa baik jalan kembali AndaNo tested rollback at allTidak ada rollback yang teruji sama sekali
Lead time from commit to productionLead time dari commit ke productionSpeed of the delivery pipelineKecepatan pipeline pengirimanFast pipelines with no testsPipeline cepat tanpa pengujian
% of deployments automated% deployment yang terotomasiRepeatabilityKemampuan untuk diulangAutomation that only one person understandsOtomasi yang hanya dipahami satu orang

What each level looks likeGambaran setiap level

Use these descriptions as a quick self-check before running the full assessment. Level 3 is a strong, realistic target for most teams.

Gunakan deskripsi ini sebagai pengecekan cepat sebelum menjalankan asesmen lengkap. Level 3 adalah target yang kuat dan realistis bagi sebagian besar tim.

  1. L1InitialManual deployments by one expert, from memory, often late at night.
  2. L2RepeatableWritten steps exist but vary between people, and environments differ, so surprises are common.
  3. L3DefinedStandard, scripted deployments with rollback plans for all main systems, and records are updated.
  4. L4MeasuredMost deployments are automated, deployment metrics are tracked, and failures are reviewed.
  5. L5OptimizedFully automated pipelines with built-in tests, gradual rollout and automatic rollback.
  1. L1InitialDeployment manual oleh satu orang ahli, berdasarkan ingatan, sering larut malam.
  2. L2RepeatableSudah ada langkah tertulis tetapi berbeda antarorang, dan lingkungannya tidak sama, sehingga kejutan sering terjadi.
  3. L3DefinedDeployment standar berbasis skrip dengan rencana rollback untuk semua sistem utama, dan catatan diperbarui.
  4. L4MeasuredSebagian besar deployment terotomasi, metrik deployment dipantau, dan kegagalan ditinjau.
  5. L5OptimizedPipeline terotomasi penuh dengan pengujian bawaan, peluncuran bertahap, dan rollback otomatis.

Assess deployment management in the wizardNilai deployment management di wizard →

Using AIMemanfaatkan AI

  • Generate scripts and pipeline configuration, ready for review.
  • Post-deployment analysis of logs and metrics to spot anomalies quickly.
  • Failure prediction based on the size and history of similar deployments.
  • Pipeline failure summaries that explain what broke in plain words.
  • Membuat skrip dan konfigurasi pipeline, siap ditinjau.
  • Analisis pascadeployment atas log dan metrik untuk segera menemukan anomali.
  • Prediksi kegagalan berdasarkan ukuran dan riwayat deployment serupa.
  • Ringkasan kegagalan pipeline yang menjelaskan apa yang rusak dengan bahasa sederhana.
Keep a human in the loopTetap libatkan manusiaNever let AI push to production without the same checks a person would face, and scan generated scripts for secrets and security issues.Jangan biarkan AI melakukan deployment ke production tanpa pemeriksaan yang sama seperti untuk manusia, dan pindai skrip buatan AI dari kebocoran rahasia dan masalah keamanan.
Key ideaInti materiThe best deployment is repeatable and reversible: the same steps every time, and a tested way back.Deployment terbaik bisa diulang dan bisa dibatalkan: langkah yang sama setiap kali, dan jalan kembali yang sudah diuji.
Real-world example: a public service portalContoh kasus: portal layanan publik3 min3 menit

A government agency’s public service portal is deployed manually by a single vendor engineer on Friday nights. Each deployment means about three hours of downtime, and twice a year something goes badly wrong.

Portal layanan publik sebuah instansi pemerintah di-deploy secara manual oleh satu engineer vendor setiap Jumat malam. Setiap deployment berarti sekitar tiga jam layanan tidak tersedia, dan dua kali setahun terjadi masalah serius.

They introduce a pipeline with blue-green deployment: the new version runs alongside the old one, and traffic switches over in seconds. Rolling back means switching back. Downtime drops to almost zero, and deployments move to normal working hours.

Mereka memperkenalkan pipeline dengan blue-green deployment: versi baru berjalan berdampingan dengan versi lama, dan lalu lintas dipindahkan dalam hitungan detik. Rollback cukup dengan memindahkannya kembali. Waktu layanan tidak tersedia turun hampir nol, dan deployment dipindah ke jam kerja normal.

Common pitfallsJebakan umum

  • Test environments that look nothing like production.
  • Deploying without a tested rollback.
  • Depending on one hero who knows all the steps.
  • Not updating configuration records afterwards.
  • Lingkungan pengujian yang sama sekali tidak mirip production.
  • Melakukan deployment tanpa rollback yang teruji.
  • Bergantung pada satu "pahlawan" yang tahu semua langkahnya.
  • Tidak memperbarui catatan konfigurasi setelahnya.

Related practicesPractice terkait

PracticePracticeHow they connectBagaimana keterkaitannya
Release managementDecides when deployed features become available to users.Menentukan kapan fitur yang sudah di-deploy tersedia bagi pengguna.
Change enablementAuthorizes deployments to live environments.Mengotorisasi deployment ke lingkungan produksi.
Infrastructure and platform managementProvides and manages the target environments.Menyediakan dan mengelola lingkungan tujuan.
Software development and managementBuilds the components that get deployed.Membangun komponen yang akan di-deploy.
Beginner tipsTips untuk pemula
  • Write down every step of your next deployment as you do it. That list is your first script.
  • Automate the most error-prone step first, not the easiest one.
  • Practice a rollback in your test environment before you ever need one in production.
  • Tulis setiap langkah deployment berikutnya saat Anda mengerjakannya. Daftar itu adalah skrip pertama Anda.
  • Otomasi langkah yang paling rawan kesalahan lebih dulu, bukan yang paling mudah.
  • Latih rollback di lingkungan pengujian sebelum Anda benar-benar membutuhkannya di production.

The practice name and purpose follow ITIL. KPIs, level descriptions, AI uses and pitfalls are practical guidance written in our own words, not official ITIL text.Nama dan tujuan practice mengikuti ITIL. KPI, deskripsi level, pemanfaatan AI, dan jebakan umum adalah panduan praktis yang ditulis dengan kata-kata sendiri, bukan teks resmi ITIL.