Corporate · onsite · online training worldwide
contact@DevOpsSchool.com· +91 99057 40781·
> Image Building & Immutable Infrastructure · DevOpsSchool Trainer

Packer Trainer

Private corporate batches, live online cohorts and 1-on-1 mentoring in identical machine images built once from a single template and shipped to every platform — taught by a practitioner who runs it in production.

20 years across DevOps, SRE and Security · 10,000+ engineers trained · Trained teams at JPMorgan Chase, Verizon, Nokia and the World Bank

DeliveryOnline · Onsite · Hybrid
FormatsCorporate · 1-on-1 · Cohort
AgendaCustomisable
Batch size8–30 engineers
Engineers we've trained work at
JPMorgan ChaseBank of AmericaWells FargoVerizonNokiaWorld BankGE HealthcareVMwareOracleQualcommMercedes-BenzAirbusDatadogSplunkDeloitteInfosysWiproCapgemini
# who teaches it

Your Packer trainer

Rajesh Kumar

Principal DevOps Engineer & Architect

Build & release engineeringPipeline designMulti-org CI estates20 years in productionPrincipal / architect roles10,000+ engineers trainedM.Tech BITS Pilani25+ certifications

Rajesh teaches Packer as the build stage of an immutable pipeline rather than as a CLI — HCL2 source and build blocks, plugin pinning with packer init, variables and locals, and parallel builds that emit an AMI, an Azure image and a Vagrant box from one set of provisioning steps. Sessions cover what makes an image pipeline trustworthy: provisioner choice between shell and a configuration management tool, hardening a base image and proving it with automated checks, manifest post-processors that hand the image ID to Terraform, and the debug and breakpoint workflow for a build that fails on a machine that no longer exists.

Twenty years across DevOps, SRE and Security, in principal and architect roles at PayPay, SoftwareAG, ServiceNow, JDA Software, Intuit, Adobe and others. He has trained engineers at JPMorgan Chase, Verizon, Nokia, the World Bank, VMware, Oracle, Mercedes-Benz and Airbus — more than 10,000 people personally. He teaches what he runs, not what he reads.

One practitioner, not a bench

You are booked with a named engineer, and that is who turns up. Marketplaces and larger providers rotate whoever is free, so the person who sold you the agenda is rarely the person teaching it.

The same trainer is available for the next engagement, which matters when a team builds on what it learned last time.

18,000+certified learners
500+corporate batches delivered
50+countries served
100+certification programmes
# faculty

Who delivers Packer engagements

Your batch is assigned a named trainer before it starts, and that is who teaches it. See the full faculty.

How your Packer trainer is chosen

Engagements are matched on the tool, not the calendar. For Packer that means a trainer who has run it in production — identical machine images built once from a single template and shipped to every platform — rather than whoever is free that week. You are told who is teaching before you commit, and that person is on the discovery call that shapes the agenda.

Where a batch is large enough to need a second trainer, the pairing is declared up front. The lead trainer stays accountable for the syllabus and the assessment either way.

Rajesh Kumar

Principal DevOps Engineer & Architect

India20 yrsLead trainer

Twenty years across DevOps, SRE and Security in principal and architect roles at PayPay, SoftwareAG, ServiceNow, JDA Software, Intuit, Adobe, IBM/Emptoris, Ness, MindTree and Accenture. He has trained more than 10,000 engineers personally, at organisations including JPMorgan Chase, Verizon, Nokia, the World Bank, VMware, Oracle, Mercedes-Benz and Airbus. He teaches what he runs, not what he reads.

Anil Kumar

IndiaInstructorCoach

Balachandran Anbalagan

IndiaInstructorCoach

Durga Prasad

IndiaInstructorCoach

Gaurav Aggarwal

IndiaInstructorCoach

Harsh Mehta

IndiaInstructorCoach

Kapil Gupta

IndiaInstructorCoach

Kunal Jain

IndiaInstructorCoach

Nikhil Gupta

IndiaInstructorCoach

Pranab Kumar

IndiaInstructorCoach

Rohit Ghatol

IndiaInstructorCoach

Amit Agarwal

IndiaInstructorCoach

# how to engage

Four ways to work with this trainer

Private corporate batch

Teams of 8–30

Custom agenda, your timezone, onsite or online, NDA-friendly.

Request a quote

1-on-1 mentoring

Individual engineers

A private instructor and a curriculum built around your goal.

₹99,999

Live & Interactive cohort

Individuals who want peers

Scheduled batch, max 8 to 10 hours of live instruction.

₹34,999

Self-paced video

Self-starters

Full LMS access — 20+ courses and 50+ tools included.

₹833/mo
# private batches

Private Packer training for your team

A private batch starts with a discovery call. We look at the stack you actually run — the CI system, the cloud, the constraints — and map the agenda onto it, so examples use your topology rather than a generic one.

Delivery is onsite at your premises, live online, or hybrid, scheduled around your release calendar rather than ours. Batches run 8 to 30 engineers.

Every attendee leaves with recordings, slides, lab repositories and a completion certificate. You receive an attendance and assessment report. Invoicing supports PO and GST.

Talk to us about a private Packer batch

What you provide vs what we bring

  • You: the room or the call, and the engineers
  • Us: trainer, agenda, labs, assessment, certificates
  • Labs: we guide your team through provisioning their own free-tier cloud environment — the skill goes with them
# the technology

What is Packer?

Packer is a tool for building machine images from a single source template. You declare a source — an AWS AMI, an Azure managed image, a VMware or VirtualBox virtual machine, a Docker image, a GCP image — and a set of provisioning steps, and Packer starts a temporary instance, runs the provisioners against it, captures the result as an image and destroys the instance. The output is an artefact you can boot repeatedly and identically, which is the foundation of immutable infrastructure: servers stop being configured in place and start being replaced.

Modern Packer templates are written in HCL2. A `source` block describes where the image comes from and what it is built on; one or more `build` blocks attach provisioners to sources; variables, locals and `packer init` with `required_plugins` give the template the same parameterisation and dependency pinning Terraform users already recognise. Because build blocks can reference several sources at once, one template can produce an AMI, an Azure image and a Vagrant box from the same provisioning steps in parallel — which is what makes multi-cloud parity achievable rather than aspirational.

Packer deliberately does not do configuration management. It delegates: shell and PowerShell provisioners for straightforward steps, and Ansible, Chef, Puppet or Salt when the image should be built by the same code that manages running fleets. Post-processors handle what happens after the image exists — writing a manifest, tagging, converting formats, uploading to a registry. That division of labour, plus `packer fmt`, `validate` and `inspect`, is what lets an image build sit safely inside a CI pipeline.

Why this skill matters now

The bake-versus-configure argument has largely settled. Autoscaling groups, spot instances and Kubernetes nodes all need machines that come up ready in seconds, and a node that must run a fifteen-minute configuration pass before it can serve traffic is not a node you can scale on. Pre-baked images move that work to build time, where it can fail safely and be tested, rather than to boot time, where it fails under load.

Security and compliance push the same direction. A golden image built from a hardened base, scanned once and promoted through environments is a far easier control to evidence than an estate of long-lived servers patched in place. When a CVE lands, replacing images and rolling instances is a bounded, repeatable operation; patching a thousand running hosts is not. Organisations with a real audit obligation increasingly require that images come from a pipeline, not from a person.

The practical driver is Terraform. Terraform provisions from an image ID, and the quality of that image determines how much the Terraform code has to compensate for. Teams that adopt Terraform without an image pipeline end up doing configuration management inside user-data scripts, which is the worst of both worlds. Packer is the piece that makes the immutable story complete, which is why the two skills are usually hired together.

Packer training
# outcomes

What your team can do afterwards

Write HCL2 Packer templates with source and build blocks, variables, locals and pinned required_plugins
Build machine images for AWS, Azure, GCP, VMware, VirtualBox and Docker from one template
Choose between shell provisioning and a configuration management tool, and justify the choice for a given image
Harden a base image and prove the hardening with automated verification rather than assertion
Run parallel builds that emit multiple artefacts with identical provisioning
Use post-processors and manifests to hand image identifiers to Terraform and downstream jobs
Debug a failing build with packer build -debug, breakpoints and on-error handling
Validate, format and lint templates so a broken template fails in CI rather than after a twenty-minute build
Design an image pipeline with versioning, promotion across environments and a deprecation policy
# curriculum

7 modules. Live demos in a real lab, not slides.

01Immutable infrastructure and the Packer workflowLive & Interactive5 hrs · 2 assignments · 1 capstone

Why baking images beats configuring at boot, and where that argument breaks down. The Packer execution model — temporary instance, provision, snapshot, destroy — and the component vocabulary: sources, builders, provisioners, post-processors and plugins. Installation and the CLI surface, including the commands that matter before build: init, fmt, validate and inspect.

Topics: Bake versus configure at boot, and the honest trade-offs · What Packer is and what it deliberately does not do · Installing Packer and managing versions · The Packer workflow: temporary instance to artefact · Components: sources, builders, provisioners, post-processors · The Packer CLI: init, fmt, validate, inspect, build · Plugins and the plugin ecosystem · Where Packer sits relative to Terraform and configuration management

  • Assignments: (1) Install Packer and run init, fmt, validate and inspect against a supplied template; (2) Write a one-page argument for or against pre-baked images for a specific workload
  • Capstone: Produce a decision note on image baking for a named estate, naming the builders in scope
02HCL2 templates: sources, builds, variablesLive & Interactive5 hrs · 2 assignments · 1 capstone

The template language in full. The packer block with required_plugins and version constraints; source blocks and their builder-specific arguments; build blocks that attach provisioners to one or more sources; input variables, defaults, validation and variable files; locals for computed values; and the functions and expressions HCL2 provides.

Topics: The packer block, required_plugins and version pinning · source blocks and builder configuration · build blocks and the sources argument · Input variables, types, defaults and validation · Variable files, environment variables and CLI overrides · Sensitive variables and keeping secrets out of logs · locals and computed values · HCL2 functions, expressions and templating · Migrating legacy JSON templates to HCL2

  • Assignments: (1) Parameterise a hard-coded template so region, instance type and base image are all variables; (2) Convert a legacy JSON template to HCL2 and prove the output is equivalent
  • Capstone: Write a fully parameterised template with validated inputs that produces a named, versioned artefact
03Building your first cloud imageLive & Interactive5 hrs · 2 assignments · 1 capstone

An end-to-end AMI build on AWS, done properly. Selecting a base AMI with a source_ami_filter rather than a pinned ID that goes stale, IAM permissions and credentials for the build, VPC, subnet and security group configuration, SSH communicator settings, AMI naming with a version and timestamp, tagging, and sharing or encrypting the resulting image.

Topics: Selecting a base image with source_ami_filter · IAM permissions required for a Packer build · Credentials handling and instance profiles · VPC, subnet, security group and temporary key configuration · Communicator configuration: SSH and WinRM · AMI naming, versioning and tagging · Region copying, sharing and encryption · Build variables and the timestamp pattern · Cleaning up when a build fails midway

  • Assignments: (1) Build and boot a working web-server AMI from a filtered base image; (2) Deliberately fail a build and confirm no orphaned instances, keys or security groups remain
  • Capstone: Deliver a tagged, versioned, encrypted AMI that boots and serves traffic without further configuration
04ProvisionersLive & Interactive5 hrs · 2 assignments · 1 capstone

Getting software onto the image. Shell and shell-local provisioners, the file provisioner and upload semantics, PowerShell for Windows images, then the configuration management provisioners — Ansible, Ansible Local, Chef, Puppet and Salt — with the judgement call this module exists for: when a shell script is genuinely sufficient, and when reusing production configuration code is worth the complexity.

Topics: Shell and shell-local provisioners · Inline scripts, script files and script ordering · The file provisioner and upload directories · PowerShell and windows-restart provisioners · The Ansible and Ansible Local provisioners · Chef, Puppet and Salt provisioners · Provisioner ordering, only and except targeting · pause_before, timeouts and reboot handling · Choosing between shell and configuration management, honestly

  • Assignments: (1) Provision a web server with shell, then reimplement the same image with Ansible and compare; (2) Handle a mid-build reboot correctly so provisioning resumes afterwards
  • Capstone: Build the same image twice, once with shell and once with a configuration management tool, and write up which you would ship and why
05Multi-platform builds, post-processors and artefactsLive & Interactive5 hrs · 2 assignments · 1 capstone

One template, many outputs. Attaching several sources to a single build block so AWS, Azure, VMware and Vagrant artefacts are produced in parallel from identical provisioning; source-specific overrides where platforms genuinely differ; then post-processors — manifest, compress, checksum, vagrant, docker-tag and docker-push — and how the manifest becomes the handoff to Terraform.

Topics: Attaching multiple sources to one build block · Parallel builds and build isolation · Source-specific overrides with the override block · Azure, GCP, VMware, VirtualBox and Docker builders · The manifest post-processor and machine-readable output · compress, checksum and format-conversion post-processors · The vagrant post-processor and box output · docker-tag and docker-push post-processors · Handing an image ID to Terraform

  • Assignments: (1) Produce an AMI and a Vagrant box from one template in a single run; (2) Write a manifest post-processor output and consume the image ID in a Terraform data source
  • Capstone: Build one template that emits equivalent artefacts on two cloud platforms plus a local Vagrant box
06Hardened images, testing and debuggingLive & Interactive5 hrs · 2 assignments · 1 capstone

An image nobody has verified is a liability. Building from a hardened base, applying a benchmark with configuration management modules, and proving the result with automated checks — InSpec, Goss or a serverspec suite — run inside the build so a non-compliant image never becomes an artefact. Then the debugging workflow for builds that fail on a machine that no longer exists.

Topics: Starting from a hardened or minimal base image · Applying a benchmark with Ansible or Chef modules · Verifying an image with InSpec, Goss or serverspec · Failing the build on a failed control · Vulnerability scanning an image before promotion · packer build -debug and step-through builds · Breakpoint provisioners · on-error=ask and keeping the instance alive to inspect it · PACKER_LOG and reading build logs · Secrets hygiene: keeping credentials out of the image and the log

  • Assignments: (1) Harden an image against a real benchmark and prove it with an automated control suite; (2) Debug a build that fails at the third provisioner using breakpoints and on-error
  • Capstone: Produce a hardened, automatically verified image where a single failing control blocks the artefact
07Image pipelines in CI/CDLive & Interactive5 hrs · 2 assignments · 1 capstone

Making image builds a system rather than a laptop task. A pipeline that formats, validates and lints on every commit, builds on merge, tests the artefact, records the manifest, and promotes through environments — with versioning, image metadata, deprecation and cleanup, plus HCP Packer for registry-based tracking of which image is current where.

Topics: Validating and linting templates as a fast pipeline gate · Building images from CI and handling long-running jobs · Credential management for automated builds · Testing the artefact after the build · Recording and publishing the manifest · Image versioning and naming conventions · Promotion across dev, staging and production · Image deprecation, cleanup and cost control · HCP Packer registry, channels and image tracking · Triggering downstream Terraform runs from a new image

  • Assignments: (1) Build a pipeline that validates on every commit and builds only on merge; (2) Implement an image deprecation job that removes superseded artefacts safely
  • Capstone: Deliver a complete image pipeline: commit, validate, build, test, publish manifest, promote and trigger deployment

Need this mapped to your stack?

We rebuild the agenda around the tools you actually run.

Request a custom agenda
# hands-on

Labs and capstones your engineers actually build

LAB · TEMPLATE

From hard-coded to parameterised

Take a brittle template with a pinned base image ID and hard-coded region, and rebuild it in HCL2 with validated variables, locals and pinned plugin versions.

hcl2variablespacker init
LAB · AMI

A web-server image that just boots

Build a tagged, versioned AMI from a filtered base image, boot it, confirm it serves traffic with no post-boot configuration, then prove a failed build leaves nothing behind.

awsamicleanup
LAB · PROVISIONERS

Shell versus configuration management

Build the same image twice — once with shell scripts, once with Ansible — measure build time and maintainability, and defend which one you would ship.

shellansibleprovisioners
LAB · MULTI-PLATFORM

One template, three artefacts

Produce an AMI, an Azure image and a Vagrant box in parallel from a single build block, with source-specific overrides only where the platforms genuinely differ.

parallel buildspost-processorsvagrant
LAB · HARDENING

The image that fails its own audit

Harden a base image against a real benchmark, verify it with InSpec or Goss inside the build, then break one control and confirm no artefact is produced.

hardeninginspecverification
CAPSTONE · PIPELINE

Commit to promoted image

Wire a pipeline that validates on commit, builds on merge, tests the artefact, publishes a manifest, promotes across environments and triggers a Terraform deployment from the new image ID.

cimanifestterraform
# ecosystem

The tools Packer sits next to

Terraform
Ansible
Vagrant
AWS
Azure
GCP
Docker
Jenkins
GitLab CI
InSpec
HCP Packer
Git
Chef
Kubernetes

Who this is for

  • DevOps and platform engineers building golden images for autoscaling fleets
  • Cloud engineers standardising base images across AWS, Azure and GCP
  • SREs replacing in-place patching with image replacement and instance rolling
  • Security engineers who need hardened, verified, auditable base images
  • Build and release engineers wiring image builds into CI/CD
  • Terraform practitioners whose provisioning is being held back by weak base images

Pre-requisites

  • Comfortable on a Linux command line — packages, services, users, systemd
  • An account on at least one cloud provider, free tier is sufficient
  • Basic understanding of virtual machine images, AMIs or equivalent
  • Familiarity with Git and a CI system, in any flavour
  • Some exposure to shell scripting or a configuration management tool
# pricing

Straightforward pricing

Every plan includes 1 year of full LMS access — not just this course, the entire DevOpsSchool LMS: 20+ courses, 50+ tools, videos, quizzes, assignments and projects.

Self-paced video

₹833/mo

Billed yearly at ₹9,996

Enroll now

1-on-1 mentorship

₹99,999

Full program, private instructor

Enroll 1-on-1

Corporate / private batch

8–30 engineers · custom agenda · onsite or online · PO and GST invoicing

Get a custom quote

Refunds. If we cancel or postpone a cohort, you get a full refund within 15 days. There is no money-back guarantee otherwise.

Terms. Course material remains licensed to the attendee. Read the terms.

Your data. We don't share it with third parties. Privacy policy.

Every attendee gets a verifiable certificate

  • Issued per attendee on completion
  • Verifiable at devopsschool.com/certificates
  • Hard copy available on request
  • Corporate batches receive an attendance and assessment report
DevOpsSchool

Packer Training

Certificate of completion

# feedback

What engineers say

4.4 / 5 from 26 reviews on Trustpilot.

★★★★★
I took Terraform training with the tutor named Mithilesh. I requested to tailor the course curriculum for my needs. He did an excellent job of showing me how to write the Terraform script per the instructions provided.
jason smith · Trustpilot
★★★★★
I was looking to improve my understanding of AIOps, and this training helped me achieve that goal. Rajesh Kumar explained the subject in a structured and practical manner. The sessions on different AIOps concepts were informative.
Sonali Tiwari · Trustpilot
★★★★★
I recently did a SRE Session with Rajesh Kumar from DevOps School and the session was great. Right from 1st day till day 15, we had a very interactive session. Rajesh clarified our doubts and the tool demos were excellent without any hiccups. He simplified the concepts while sticking to the content with a fine balance between theory and practice. Am convinced he is one of the best trainers for SRE & DevOps concepts.
chandrasekaran j · Trustpilot
★★★★★
The Rundeck developer session was excellent and highly engaging. I appreciated how well the session was structured, with the theoretical concepts explained clearly and in simple terms. What stood out most to me was the demo — it was both informative and enjoyable. I especially liked how Rajesh walked us through not only the happy path but also the sad path, showcasing common issues and sharing practical troubleshooting tips.
Raimy Roy · Trustpilot
★★★★★
Rajesh's experience and knowledge are exceptional and we learnt invaluable practical knowledge which we can apply in our production environment. Incredibly friendly and gave us a fantastic insight both in-depth and at a high level of the Rundeck product.
Fire Titan · Trustpilot
★★★★★
Great learning experience from a very knowledgeable instructor with well-prepared course notes. The lab exercises on AWS instance work well to learn the hands-on side of the course.
Ando Gg · Trustpilot
# comparison

Why a named practitioner beats a marketplace listing

What mattersYouTube + blogsGeneric online courseFreelance marketplaceDevOpsSchool
Named practitionerNoRarelyVaries per bookingYes — same trainer each time
Production experienceUnknownUnknownUnverified20 years, named employers
Custom agendaNoNoSometimesBuilt from your stack
Onsite deliveryNoNoSometimesYes
Lab environmentNoneSandbox that expiresVariesYour own cloud — skill goes with you
AssessmentNoneQuizRarelyAssignments + capstone per module
Per-attendee certificatesNoSometimesRarelyYes
Corporate invoicingNoLimitedVariesPO and GST
Post-training supportNoneForum, time-limitedNoneLifetime forum access
# questions

Frequently asked

Can the agenda be customised for our stack?
Yes — that is the normal case for a private batch. We start with a discovery call, look at your cloud platforms, base operating systems, configuration management tool and CI system, and rebuild the module list around them. Examples then use your images rather than a generic one.
Do you deliver onsite?
Yes. Private batches run onsite at your premises, live online, or hybrid. You provide the room and the engineers; we bring the trainer, agenda, labs, assessment and certificates.
What lab environment do we need?
Attendees provision their own environment — a free-tier AWS, Azure or GCP account, plus VirtualBox locally for the non-cloud builders — and we walk them through it. We deliberately do not hand out temporary sandboxes, because the environment they build is the one they keep.
Do you teach JSON templates or HCL2?
HCL2, as the primary language, because that is what new work should be written in. Legacy JSON templates are covered specifically as a migration exercise, so teams carrying an older codebase know exactly how to move it.
Do we still need configuration management if we use Packer?
Usually yes, and the course is direct about where the line falls. Packer bakes the stable layers; something still has to handle per-instance and per-environment configuration at boot, whether that is user-data, a configuration management run or a service-discovery lookup. Module 4 works through the trade-off with both options built.
How does this fit with Terraform?
Packer produces the image, Terraform consumes its ID. The manifest post-processor and the Terraform handoff are covered in modules 5 and 7, and a combined Packer plus Terraform private batch is a common request.
How long does a private Packer batch take?
Two days for Packer alone: templates, provisioners, multi-platform builds, hardening and the pipeline. Combined with Terraform it usually runs four to five days.
What size are batches?
Private corporate batches run 8 to 30 engineers. Public Live & Interactive cohorts are capped at 10 so everyone gets time with the trainer.
Do attendees get a certificate?
Yes — every attendee receives a completion certificate, verifiable at devopsschool.com/certificates. Corporate batches also receive an attendance and assessment report.
Do you cover Windows image builds?
Yes. The WinRM communicator, PowerShell and windows-restart provisioners, sysprep considerations and Windows-specific build timing are covered, and can be weighted heavier for a Windows-first estate.
What happens if someone misses a session?
Sessions are recorded and available in the LMS, and attendees keep LMS access for a year. For public cohorts, a missed session can be picked up in a later batch.
What is your refund position?
If we cancel or postpone a cohort, you receive a full refund within 15 days. There is no general money-back guarantee, and GST and gateway fees are not refunded.

Still deciding?

Tell us the team, the stack and the timeline. You'll get a straight answer, not a sales sequence.

Talk to an advisor
# ready when you are

Book a Packer trainer — or ask a question first.

  • No spam, no drip sequence
  • Syllabus in 60 seconds
  • A human reply within one business day

Prefer to call or email?

More ways to reach us on the contact page.

Talk to an advisorRequest a quote