0%

Book Description

Despite the size or scale of your production environment, your organization can gain significant value by adopting DevOps practices. Yet most organizations today still deploy application code and packages manually. To facilitate your adoption of DevOps-style practices, this hands-on guide shows you how to automate your IT operations using HashiCorp Terraform and VMware.

DevOps is as much a people and process change as it is a technology change. Terraform and VMware provide the automation infrastructure, so you can focus on acquiring and adapting DevOps skills and processes. Eric Wright, technology evangelist at Turbonomic, shows architects and administrators how to build and operate VMware vSphere virtual machines and infrastructure using the Terraform CLI.

With this report, you will:

  • Learn how to codify virtual infrastructure step-by-step
  • Understand how DevOps processes apply to VMware infrastructure
  • Easily build VMware virtual machines and applications as Terraform resources
  • Perform lifecycle management and immutable concepts using Terraform and VMware

Table of Contents

  1. Foreword
    1. DevOps Automation with Terraform and VMware
    2. How Do You Manage Your Infrastructure Today?
  2. 1. Infrastructure as Code and Immutable Infrastructure Concepts
    1. Terraform Terminology and Component Descriptions
    2. Why DevOps and IaC?
    3. Immutable Concepts and Capabilities with Terraform
    4. Terraform Features of the VMware vSphere Provider
    5. Operational Practices for Terraform
      1. Using Environment Variables for Configuration Parameters
    6. Storing Secrets
    7. Terraform Process Flow
    8. Why Terraform for VMware?
  3. 2. Deploying and Configuring Virtual Machines
    1. Configuring Your Terraform Environment
      1. Setting Up Your Variables
      2. Setting Up Your VMware Provider
      3. Setting Up Your Data Sources
    2. Building a Simple Virtual Machine Resource from a Template
      1. Modifying Your VM Resource
      2. Destroying the Virtual Machine Resource
    3. Running Tasks and Scripts after VM Deployment
      1. Inline Script Example
      2. Script from File Example
    4. Controlling and Using Snapshots
    5. Terraform Taint and Untaint
    6. What We Learned
  4. 3. Managing vSphere Host and Cluster Resources
    1. Creating vSphere Clusters
    2. Adding Hosts to a vSphere Cluster
  5. 4. Next Steps in Your Terraform for VMware vSphere Journey
    1. Transitioning from Local Files to Version Control
    2. Centralizing and Collaborating
3.149.234.230