Sha256: 2f2a174ee97a298c398559b412ce3a33d06883732e281720503f47948399cff1

Contents?: true

Size: 1.58 KB

Versions: 15

Compression:

Stored size: 1.58 KB

Contents

---
layout: "intro"
page_title: "Vagrant vs. Terraform"
sidebar_current: "vs-terraform"
description: |-
  Vagrant is a tool for managing virtual machines. Terraform is another open
  source tool from HashiCorp which enables infrastructure as code.
---

# Vagrant vs. Terraform

Vagrant and [Terraform][terraform] are both projects from [HashiCorp][hashicorp].
Vagrant is a tool focused for managing development environments and
Terraform is a tool for building infrastructure.

Terraform can describe complex sets of infrastructure that exists
locally or remotely. It is focused on building and changing that infrastructure
over time. The minimal aspects of virtual machine lifecycle can be reproduced
in Terraform, sometimes leading to confusion with Vagrant.

Vagrant provides a number of higher level features that Terraform doesn't.
Synced folders, automatic networking, HTTP tunneling, and more are features
provided by Vagrant to ease development environment usage. Because Terraform
is focused on infrastructure management and not development environments,
these features are out of scope for that project.

The primary usage of Terraform is for managing remote resources in cloud
providers such as AWS. Terraform is designed to be able to manage extremely
large infrastructures that span multiple cloud providers. Vagrant is designed
primarily for local development environments that use only a handful of
virtual machines at most.

Vagrant is for development environments. Terraform is for more general
infrastructure management.

[hashicorp]: https://www.hashicorp.com
[terraform]: https://www.terraform.io

Version data entries

15 entries across 11 versions & 3 rubygems

Version Path
vagrant-packet-0.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/website/source/intro/vs/terraform.html.md
vagrant-packet-0.1.2 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/website/source/intro/vs/terraform.html.md
vagrant-packet-0.1.2 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/website/source/intro/vs/terraform.html.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/bundler/gems/vagrant-04f7215b5e3f/website/source/intro/vs/terraform.html.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/bundler/gems/vagrant-04f7215b5e3f/website/source/intro/vs/terraform.html.md
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-04f7215b5e3f/website/source/intro/vs/terraform.html.md
vagrant-aws-detiber-0.7.2.pre.4 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/website/source/intro/vs/terraform.html.md
vagrant-aws-detiber-0.7.2.pre.3 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/website/source/intro/vs/terraform.html.md
vagrant-aws-detiber-0.7.2.pre.2 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-419afb4dcffe/website/source/intro/vs/terraform.html.md
vagrant-aws-mkubenka-0.7.2.pre.22 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-f3fdbf414272/website/source/intro/vs/terraform.html.md
vagrant-aws-mkubenka-0.7.2.pre.16 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-1ee58c40e3f5/website/source/intro/vs/terraform.html.md
vagrant-aws-mkubenka-0.7.2.pre.14 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/website/source/intro/vs/terraform.html.md
vagrant-aws-mkubenka-0.7.2.pre.11 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/website/source/intro/vs/terraform.html.md
vagrant-aws-mkubenka-0.7.2.pre.10 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/website/source/intro/vs/terraform.html.md
vagrant-aws-mkubenka-0.7.2.pre.9 vendor/bundle/ruby/2.3.0/bundler/gems/vagrant-5333e60e2d38/website/source/intro/vs/terraform.html.md