HashiCorp packer in production efficiently manage sets of images for your digital transformation or cloud adoption journey

Set up automated workflows to keep systems and applications consistent globally, regardless of architecture, cloud, or container runtime Purchase of the print or Kindle book includes a free PDF eBook Key Features Automate building and modifying complex software images across multiple OSs and contain...

Descripción completa

Detalles Bibliográficos
Otros Autores: Boero, John, author (author), Dadgar, Armon, author
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England : Packt Publishing Ltd [2023]
Edición:1st ed
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009757131606719
Tabla de Contenidos:
  • Cover
  • Title Page
  • Copyright and Credit
  • Dedicated
  • Foreword
  • Contributors
  • Table of Contents
  • Preface
  • Part 1: Packer's Beginnings
  • Chapter 1: Packer Fundamentals
  • Technical requirements
  • Packer architecture
  • History of Packer
  • Who uses Packer?
  • Alternatives to Packer
  • Installing Packer
  • HCL versus JSON
  • Example legacy JSON
  • Example PKR.JSON
  • Example HCL
  • Summary
  • Chapter 2: Creating Your First Template
  • Technical requirements
  • Hello World template for a local VM
  • Breakdown of components, variables, and artifacts
  • Using an IDE to guide templates
  • Applying the VirtualBox builder
  • Summary
  • Chapter 3: Configuring Builders and Sources
  • Technical requirements
  • Simplifying your template with variables
  • Utilizing local system builders
  • Using VirtualBox builders - ISO, OVF, and VM
  • Using VMware builders - ISO, VMX, and vSphere clone
  • Using the QEMU builder
  • Adding cloud builders
  • Providing your cloud credentials
  • Using the AWS builders
  • Using the Azure builders
  • Using the GCP builders
  • Exploring other cloud builders
  • Building containers
  • Using the null builder
  • Summary
  • Chapter 4: The Power of Provisioners
  • Technical requirements
  • Configuring communicators
  • Injecting your config or artifacts
  • Seeding a file or directory into your image once booted
  • Using templates to populate configuration resources with variables
  • Running a script or job across all builders
  • Developing provisioners with the null builder
  • Summary
  • Chapter 5: Logging and Troubleshooting
  • Technical requirements
  • Managing stderr and stdout
  • Using environment variables for logging and debugging
  • Controlling flow and using breakpoints
  • Summary
  • Part 2: Managing Large Environments
  • Chapter 6: Working with Builders
  • Technical requirements.
  • Adding applications deployable from vSphere
  • Adding an AWS EC2 AMI build
  • Using HashiCorp Vault for credentials
  • Adding an Azure build
  • Adding a Google GCP build
  • Parallel builds
  • CI testing against multiple OS releases
  • Pitfalls and things to avoid
  • Summary
  • Chapter 7: Building an Image Hierarchy
  • Technical requirements
  • Starting with LXC/LXD images
  • Docker container image format
  • Podman plugin for the OCI container image format
  • Base image strategy
  • Aggregation and branching out multiple pipelines
  • Summary
  • Chapter 8: Scaling Large Builds
  • Technical requirements
  • Speeding up your builds with parallel processes
  • Preventing parallel processes from causing DoS
  • Troubleshooting logs in a parallel world
  • Using image compression
  • Selecting a compression algorithm for Packer images
  • Selecting the right storage type for the image lifecycle
  • Building delta and patch strategies
  • Summary
  • Part 3: Advanced Customized Packer
  • Chapter 9: Managing the Image Lifecycle
  • Technical requirements
  • Tracking image lifecycle
  • Using the manifest post-processor
  • Creating a retention policy
  • Summary
  • Chapter 10: Using HCP Packer
  • Technical requirements
  • Creating an HCP organization
  • Configuring HCP Packer in your templates
  • Using HCP ancestry
  • Consuming HCP Packer from Terraform
  • Exploring the HCP REST API
  • Summary
  • Chapter 11: Automating Packer Builds
  • Technical requirements:
  • Identifying common automation requirements
  • Exploring basic GitHub Actions support
  • Exploring GitLab CI pipeline support
  • Using HashiCorp Vault integration for automation
  • GitLab CI
  • GitHub Actions
  • Summary
  • Chapter 12: Developing Packer Plugins
  • Technical requirements
  • Basics of Go
  • Sample plugin source
  • Building and testing your plugin
  • Protecting Packer from bad plugins
  • Summary.
  • Grand conclusion
  • Index
  • Other Books You May Enjoy.