BoltMCP Installation Docs

Terraform on AWS

Create an EKS cluster and install BoltMCP behind HTTPS with a single terraform apply.

The Terraform stack in the terraform/aws directory of the boltmcp repository:

  • creates a VPC and an EKS Auto Mode cluster
  • prepares the cluster: gp3 StorageClass, boltmcp namespace, image pull secret, and the three application Secrets with random values
  • serves BoltMCP over HTTPS through an Application Load Balancer, using a wildcard ACM certificate validated in Route 53
  • creates the DNS records for web., auth., server. and inspector.<domain> through external-dns
  • sets up Vault auto-unseal with an AWS KMS key
  • installs the BoltMCP Helm chart

Prerequisites

On the workstation you're installing from, you'll need:

  • terraform v1.9+ · Install Terraform
  • aws CLI, logged in to the target account (aws login). Terraform uses it to authenticate to the cluster. · Install aws
  • kubectl v1.28+, for the steps after the apply · Install kubectl
  • helm v3.12+ (optional, for troubleshooting) · Install helm
  • Your BoltMCP access key at keys/boltmcp-key.json in the boltmcp repository

Check you're logged in to the right account:

aws sts get-caller-identity

DNS

You need a public Route 53 hosted zone in the same AWS account that contains your BoltMCP domain. For example, the zone example.com for the domain boltmcp.example.com.

If your domain is hosted by another DNS provider, delegate just the BoltMCP subdomain to Route 53:

Create a hosted zone for the subdomain:

aws route53 create-hosted-zone \
  --name boltmcp.example.com \
  --caller-reference "boltmcp-$(date +%s)" \
  --query DelegationSet.NameServers

This prints the zone's four name servers.

At your DNS provider, add an NS record for boltmcp (the subdomain) in the example.com zone, with the four name servers as its values.

Wait until the subdomain resolves to the Route 53 name servers:

dig NS boltmcp.example.com +short

Then, when you configure the stack below, set route53_zone_name to the subdomain (boltmcp.example.com), the same as domain.

Configure

From the root of the boltmcp repository:

cd terraform/aws
cp terraform.tfvars.example terraform.tfvars

Edit terraform.tfvars:

terraform/aws/terraform.tfvars
region            = "eu-west-2"
domain            = "boltmcp.example.com"
route53_zone_name = "example.com"
admin_email       = "admin@example.com"
registry_key_path = "../../keys/boltmcp-key.json"
chart_version     = "0.6.3"
VariableDescription
domainBecomes the chart's global.domain. Recommended: the boltmcp subdomain of your company's domain.
route53_zone_nameThe hosted zone containing domain: example.com if Route 53 hosts your whole domain, or boltmcp.example.com if you delegated the subdomain. It holds the certificate validation records and the BoltMCP records.
admin_emailEmail of the first admin user. Must be a real address.
registry_key_pathPath to your BoltMCP access key, relative to terraform/aws.
chart_versionThe latest BoltMCP release you've been given.

EKS Auto Mode scales nodes to fit the pods, so there's no node count or machine type to choose. See the stack's README for every input, including how to use an existing VPC and pass extra chart values through helm_values.

Terraform generates the application Secrets, so their values are stored in Terraform state. For anything beyond an evaluation install, configure an encrypted, access-controlled remote backend before applying.

Apply

terraform init
terraform apply

The first apply takes about 15 minutes.

Expect roughly $8 per day in AWS charges while the stack is running. That covers the EKS control plane, one c7i-flex.large node, the NAT gateway, the load balancer, public IPs and storage. When you've finished testing, run terraform destroy to stop billing (see Uninstall).

Finish the install

Print the remaining steps:

terraform output next_steps
  1. Connect kubectl:

    $(terraform output -raw kubeconfig_command)
  2. Wait for every pod to show Running or Completed:

    kubectl get pods -n boltmcp -w
  3. Initialize and bootstrap Vault.

  4. Sign in. DNS records can take a few minutes to appear after the first apply.

On this page