Skip to content
Cybersecurity IBM 4 models

IBM HashiCorp

HashiCorp (IBM): Terraform for infrastructure automation, Vault for password and API key storage, Consul for service mesh. DevOps tools used by Netflix, Uber, Goldman Sachs.

Sales Representative
Łukasz Gil

Łukasz Gil

Sales Representative

Key Features

  • Terraform - infrastructure as code (IaC)
  • Vault - secure password and secrets storage
  • Consul - service discovery and service mesh
  • Boundary - Zero Trust server access
  • 3000+ Terraform providers (AWS, Azure, GCP)
Available now
Łukasz Gil

Łukasz Gil

Sales Representative

Send inquiry
Table of Contents

What is HashiCorp?

HashiCorp is a company that created popular DevOps tools - Terraform, Vault, Consul, Boundary. In 2024, IBM acquired HashiCorp. Products are open source (free) + paid Enterprise versions with additional features.

Four main products:

  1. Terraform - “infrastructure as code” - you create servers, networks, databases by writing configuration files instead of clicking in console
  2. Vault - secure storage of passwords, API keys, certificates
  3. Consul - service discovery and service mesh for microservices
  4. Boundary - Zero Trust server access (instead of VPN)

Terraform - Infrastructure as Code

What is it?

Instead of manually clicking in AWS/Azure/you write a file describing what you want:

# Example: create EC2 server in AWS
resource "aws_instance" "web" {
  ami           = "ami-0c55b159cbfafe1f0"
  instance_type = "t3.medium"

  tags = {
    Name = "web-server-prod"
  }
}

Then terraform apply - and server exists. Want 10 servers? Change one line.

Why?

  • Repeatability - dev, staging, prod environments from same code
  • Version control - infrastructure in Git, code review, change history
  • Automation - CI/CD for infrastructure
  • Documentation - code = documentation (you know what you have)

Terraform vs manual clicking

AspectManualTerraform
Creating 50 serversHours of clickingMinute (change count = 50)
“What do we have in AWS?”Need to checkVisible in code
Recovery after failureRemember how?terraform apply
Test environmentBuilt from scratchCode copy with different variables

Open Source vs Enterprise

FeatureOSS (free)Enterprise
Basic IaCYesYes
State in cloudNo (local/S3 manual)Yes (Terraform Cloud)
Policies (Sentinel)NoYes
SSO/RBACNoYes
Private module registryNoYes

Vault - Secrets Management

What is it?

Vault is a safe for passwords, API keys, certificates. Instead of keeping passwords in .env files or in code, applications retrieve them from Vault.

Problem it solves

# Typical problem:
.env file:
  DB_PASSWORD=supersecret123
  AWS_KEY=AKIA...

# Is this file in Git? On server? Who has access?
# How to change password without restart?
# Who used this password?

How does Vault work?

[Application] → "Need database password" → [Vault] → "Here's password (valid 1h)"

                                        Logging who, when, what

Key features:

  • Dynamic secrets - Vault creates password “on demand”, valid e.g. 1 hour
  • Encryption as a service - encrypt data via Vault API
  • PKI - automatic TLS certificate generation
  • Audit log - who, when retrieved which secret

Vault vs keeping passwords in files

Aspect.env filesVault
Who has accessEveryone with fileControlled (RBAC)
Password rotationManual, restartAutomatic
AuditNoneFull log
Dynamic secretsNoYes

Consul - Service Discovery and Mesh

What is it?

In microservices environment: “Where is payment service?”. Consul answers: “At 10.0.1.15:8080, is healthy”.

Service Discovery

[Order Service] → "Where is Payment Service?"

    [Consul]

"Payment Service is at 10.0.1.15:8080 and 10.0.1.16:8080"

Service Mesh

Consul can also encrypt communication between services (mTLS) and control who can talk to whom.

[Service A] ←─ mTLS encrypted ─→ [Service B]

              [Consul Mesh]

When Consul?

  • You have >10 microservices
  • You need service discovery (not hardcoded IPs)
  • You want mTLS between services
  • Multi-datacenter

Boundary - Zero Trust Access

What is it?

Boundary is modern alternative to VPN for administrative access. Instead of “connect VPN and access everything”, Boundary gives access to specific servers based on identity.

How does it work?

[Admin] → "Want to connect to prod-db-01"

[Boundary] → Checks: Who? Can they? What time?

"OK, here's SSH session to prod-db-01 (recording)"

Boundary vs VPN

AspectTraditional VPNBoundary
AccessTo entire networkTo specific server
AuthenticationVPN credentialsSSO/MFA
Session recordingNoYes
Just-in-time accessNoYes

For whom?

HashiCorp makes sense when:

  • DevOps/Platform team - Terraform is industry standard
  • Microservices - Consul for service mesh
  • Compliance/Security - Vault for secrets, audit
  • 50 servers - automation pays off

HashiCorp does NOT make sense when:

  • Small infrastructure (<10 servers) - overhead may be too large
  • No DevOps - requires skills

How much does it cost?

Open Source (free):

  • Terraform CLI - full core functionality
  • Vault - full core functionality
  • Consul - full core functionality

Enterprise/Cloud:

ProductModelApproximate price
Terraform CloudPer user/monthFrom $20/user
Vault EnterprisePer nodeFrom $50K/year
Consul EnterprisePer nodeFrom $40K/year
HCP (managed)Usage-basedPay-as-you-go

Specifications

ProductsTerraform, Vault, Consul, Boundary
DeploymentSelf-managed or HCP (SaaS)
PlatformsLinux, Windows, MacOS, Kubernetes
IntegrationsAWS, Azure, GCP, Kubernetes
OSS LicenseBSL (Business Source License)

FAQ

Is Terraform free? Yes. Terraform CLI is free. Terraform Cloud/Enterprise are paid add-ons (state management, policies, SSO).

Do I have to use all products? No. You can use only Terraform, only Vault, or any combination.

What changed after IBM acquisition? Not much yet. Products work the same. IBM announced Cloud Pak integration.

Does HashiCorp work with AWS/Azure/GCP? Yes. Terraform has 3000+ providers. Vault integrates with AWS IAM, Azure AD, GCP.

What is HCP? HashiCorp Cloud Platform - managed versions of Vault, Consul, Boundary. IBM hosts, you use.

Is Vault secure? Yes. Used by banks, fintech, healthcare. SOC 2, HIPAA compliance.

How long does Terraform deployment take? First environment: days. Migrating entire infrastructure: months.

Does nFlo deploy HashiCorp? Yes. Terraform for IaC, Vault for secrets, Consul for service mesh. Training, best practices.

Inquire about IBM HashiCorp

Contact your product specialist and get a custom quote.

Sales Representative
Łukasz Gil

Łukasz Gil

Sales Representative

Response within 24 hours
Free technical consultation
Custom quote and configuration

Providing your phone number will speed up contact.

Want to Reduce IT Risk and Costs?

Book a free consultation - we respond within 24h

Response in 24h Free quote No obligations

Or download free guide:

Download NIS2 Checklist