Cargando…

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
Clasificación:Libro Electrónico
Autor principal: Boero, John (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2023.
Edición:1st edition.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
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