• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Terraform
  • Install
  • Tutorials
    • About the Docs
    • Configuration Language
    • Terraform CLI
    • Terraform Cloud
    • Terraform Enterprise
    • CDK for Terraform
    • Provider Use
    • Plugin Development
    • Registry Publishing
    • Integration Program
  • Registry(opens in new tab)
  • Try Cloud(opens in new tab)
  • Sign up
Terraform Home

Tutorials

Skip to main contentTutorials

Get Started

  • AWS
  • Azure
  • Docker
  • GCP
  • OCI
  • Terraform Cloud

Fundamentals

  • CLI
  • Configuration Language
  • Modules
  • Provision
  • State
  • Terraform Cloud

Use Cases

  • Applications
  • AWS Services
  • Azure Services
  • HashiCorp Products
  • IT/SaaS Providers
  • Kubernetes
  • Machine Images
  • Networking
  • Policy
  • Security

Certification Prep

  • Associate Prep (002)
  • Associate Prep (003)
  • Associate Tutorials (002)
  • Associate Tutorials (003)

Production

  • Automate Terraform
  • Enterprise Patterns
  • Terraform Enterprise

Integrations

  • CDK for Terraform
  • Community Providers
  • Custom Framework Providers
  • Custom SDK Providers
  • Secrets

  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  • Terraform Registry
    (opens in new tab)
  1. Developer
  2. Terraform
  3. Tutorials
  4. Provision

Provision Infrastructure

Install software, edit files, and provision machines created with Terraform. Use Packer or Cloud-Init to automatically provision SSH keys and a web server onto a Linux VM created by Terraform in AWS.

Start
6 tutorials
  •  
    5min
    Provision Infrastructure with Cloud-Init
    Deploy preconfigured infrastructure with Terraform using the Cloud-Init tool.
    • Terraform
  •  
    5min
    Provision Infrastructure with Packer
    Create an image with Packer, containing SSH keys, a new user, and a demo webapp, and deploy it with Terraform.
    • Packer
    • Terraform
  •  
    4min
    Set Up Terraform Cloud Run Task for HCP Packer
    Configure a Terraform Cloud run task for HCP Packer that helps enforce security and compliance best practices.
    • Packer
    • Terraform
  •  
    12min
    Identify Compromised Images with Terraform Cloud
    Use a Terraform Cloud run task to validate HCP Packer data source images and ensure that your Terraform configuration does not use revoked images.
    • Packer
    • Terraform
  •  
    15min
    Enforce Image Compliance with Terraform Cloud
    Associate a Terraform Cloud (TFC) run task with a TFC workspace for resource image validation. This validation warns you when your Terraform resources use revoked image iterations, or reference hard-coded or untracked image IDs.
    • Packer
    • Terraform
  •  
    18min
    Standardize Machine Images Across Multiple Cloud Providers
    Use Packer to build consistent machine images for multiple cloud providers and store metadata in HCP Packer. Deploy images to AWS and Azure with Terraform.
    • Packer
    • Terraform
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)