terraform/website/source/intro/hashicorp-ecosystem.html.ma...

3.2 KiB
Raw Blame History

layout page_title sidebar_current description
intro Terraform and the HashiCorp Ecosystem hashicorp-ecosystem Learn how Terraform fits in with the rest of the HashiCorp ecosystem of tools

Terraform and the HashiCorp Ecosystem

HashiCorp is the creator of the open source projects Vagrant, Packer, Terraform, Serf, and Consul, and the commercial product Atlas. Terraform is just one piece of the ecosystem HashiCorp has built to make application delivery a versioned, auditable, repeatable, and collaborative process. To learn more about our beliefs on the qualities of the modern datacenter and responsible application delivery, read The Atlas Mindset: Version Control for Infrastructure.

If you are using Terraform to create, combine, and modify infrastructure, its likely that you are using base images to configure that infrastructure. Packer is our tool for building those base images, such as AMIs, OpenStack images, Docker containers, and more.

Below are summaries of HashiCorps open source projects and a graphic showing how Atlas connects them to create a full application delivery workflow.

HashiCorp Ecosystem

Atlas Workflow

Atlas is HashiCorp's only commercial product. It unites Packer, Terraform, and Consul to make application delivery a versioned, auditable, repeatable, and collaborative process.

Packer is a HashiCorp tool for creating machine images and deployable artifacts such as AMIs, OpenStack images, Docker containers, etc.

Terraform is a HashiCorp tool for creating, combining, and modifying infrastructure. In the Atlas workflow Terraform reads from the artifact registry and provisions infrastructure.

Consul is a HashiCorp tool for service discovery, service registry, and health checks. In the Atlas workflow Consul is configured at the Packer build stage and identifies the service(s) contained in each artifact. Since Consul is configured at the build phase with Packer, when the artifact is deployed with Terraform, it is fully configured with dependencies and service discovery pre-baked. This greatly reduces the risk of an unhealthy node in production due to configuration failure at runtime.

Serf is a HashiCorp tool for cluster membership and failure detection. Consul uses Serfs gossip protocol as the foundation for service discovery.

Vagrant is a HashiCorp tool for managing development environments that mirror production. Vagrant environments reduce the friction of developing a project and reduce the risk of unexpected behavior appearing after deployment. Vagrant boxes can be built in parallel with production artifacts with Packer to maintain parity between development and production.