Redeploying Stateless Systems in Lieu of Patching
summary
Automated redeployment replaces monthly patching of stateless on‑prem VMs by rebuilding from updated Nutanix Packer images and reapplying Terraform via Private Terraform Enterprise, reducing drift and making collectors fungible. The reusable GitLab CI pipeline uses a config.json, Vault-supplied secrets, pre/health/post Python hooks, and a taint + targeted apply sequence (download workspace Terraform binary, taint VM, plan/confirm/apply) to recreate VMs while preserving names, IPs, DNS, AD and monitoring. End‑to‑end runs take about 20 minutes per trio.
AI-written summary · about
chapters (7)
- 0:00Intro
- 0:32Updating On-Premises Stateless Virtual Machines
- 2:15Packer Base Images for Nutanix
- 3:16Petco's Terraform for On-Premises Deployments
- 10:17Petco's Redeployment Framework
- 13:55Redeployment - BYO Scripts
- 18:45Redeployment Journey
related talks
27mCase Study: Re-Thinking Our Infrastructure Tooling
33mBuilding Automated Pipelines for Infrastructure Code with Terraform and Packer
06mIgnite - Blue Green Deployments Using Terraform + Packer + Jenkins
49mBuild, provision & deploy in the Cloud with Packer, Ansible & Terraform
27mAdvanced Multipurpose Infrastructure: A Self-Managed Cloud Environment with HashiCorp Terraform
29mMutability, Declarability, and Disposability, oh my!
29mEphemeral Cloud Infrastructure for Acceptance Tests with Terraform Enterprise & GitLab
19mSynchronization of Infrastructure Provisioning & Application Deployments
