Quickstart
This takes you from an AWS account to a running platform. Budget roughly 45 minutes of mostly-unattended provisioning for the first apply.
Before you start
Section titled “Before you start”You’ll need:
-
An AWS account you can administer, reachable through an AWS SSO (Identity Center) profile.
-
An EC2 on-demand vCPU quota (
L-1216C47A) of at leastquotas.vcpu,256by default. A fresh account caps at about 32. Withquotas.autoRequeston (the default),rackctl applyfiles the increase and refuses to provision until AWS grants it, which takes minutes to days — so on a fresh account the first apply stops there. Re-run it once the increase is approved. -
The prerequisite tools on your
PATH. -
A GitHub account with
ghauthenticated (gh auth login) —rackctlforks theeks-gitopscatalog into your org.gh auth loginis enough on its own. If you setorg.gitops.tenantsRepo(whichcontrolPlane.portalrequires),rackctlalso registers a read-only deploy key on that repo, and the Terraform GitHub provider that does it readsGITHUB_TOKEN— a variablegh auth loginnever exports, because it stores the credential ingh’s own keyring.rackctlbridges the gap by askingghfor the token at apply time, so thegh auth loginpath works as written. Your login needsreposcope for the deploy key to register. If you’d rather be explicit, export it yourself andrackctluses that instead:Terminal window export GITHUB_TOKEN=$(gh auth token)
Confirm your environment first:
aws sso login --profile workload-devrackctl checkcheck asserts what is knowable before you spend: the tools are present, your AWS
identity resolves, and this install can succeed at all. Fix anything it flags before
continuing.
rackctl apply additionally runs a preflight gate that refuses to start when the
install could not succeed — including a missing GitHub credential when your config needs
one. It checks before spending anything, rather than failing an hour in.
1. Write a rackctl.yaml
Section titled “1. Write a rackctl.yaml”This is the whole platform as one declarative document. Start from the minimum and
grow it. cloud.region and environment are required; every other field you leave out
takes a default, and plan, apply and check list each one
they filled.
org: name: acme gitops: eksGitopsRepo: github.com/acme/eks-gitops # your fork of nanohype/eks-gitops
cloud: provider: aws accountId: "111111111111" region: us-west-2 profile: workload-dev # AWS SSO profile
environment: development
cluster: name: platform # required; the EKS cluster is <environment>-<name>
agentPlatform: enable: true bedrockModelFamilies: [anthropic, amazon-nova]
# optional smoke test — provisions a throwaway first tenantfirstTenant: name: blank persona: generic tenant: example monthlyBudgetUsd: 100The configuration reference documents every field. A fuller
example lives in the repo at
examples/rackctl.yaml.
2. Plan
Section titled “2. Plan”rackctl plan prints every phase and the commands a provision would run, and touches
nothing in the cloud. It does make read-only AWS calls — that is how the destructive
sweeps show you what they would select rather than restating their own filters.
rackctl plan -c rackctl.yamlRead the plan. This is your chance to catch a wrong account id, region, or profile before anything is created.
Want to watch it as a live progress view instead of a scrolling log? plan and apply
both take --tui:
rackctl plan -c rackctl.yaml --tui3. Apply
Section titled “3. Apply”When the plan looks right, provision for real:
rackctl apply -c rackctl.yamlrackctl walks the pipeline in order. If a phase fails while this run is
building the platform, it rolls back the completed phases and the failed one in reverse.
Rollback lists the cases that leave the platform standing instead,
including --no-clean-on-failure, which keeps resources in place for debugging.
4. Confirm
Section titled “4. Confirm”rackctl checkOnce the cluster is up, check also asserts the invariants of a provisioned platform —
that it is reachable, and that ArgoCD’s applications are present and syncing.
5. Hand off
Section titled “5. Hand off”From here, day-2 operations move to the portal (enable it with
controlPlane.portal: true). rackctl stays for lifecycle:
rackctl apply— re-runnable: it syncs the catalog fork and re-applies, so it is also the upgrade path.rackctl destroy— tear the platform down in reverse.
- Configuration — the full
rackctl.yamlschema. - Footguns — the sharp edges worth knowing before a production run.