Setup
Setup steps for running a DevZero deployment on AWS.
Prerequisites
Requirements
Before setting up the Control and Data Planes, review these:
- Access to DevZero Self-Hosted Repository
- Custom EKS Nodes with DevZero AMI
- Custom domain - domain setup with wildcard (
*
) alternative name - EKS cluster (v1.29+)
- Storage - EBS or alternatives
Setup
If you have an existing cluster that meets the Requirements and have an environment that meets the Prerequisites, skip to directly deploy the Control and Data Planes.
If your company has an established way to create Kubernetes clusters, use that to create a cluster that meets these Requirements. By continuing, you will provision AWS infrastructure using DevZero's examples.
Update main.tf
Replace AWS_REGION in provider “aws”
in terraform/examples/aws/permission-helper/main.tf
with the target deployment region.
Update terraform.tfvars
Replace AWS_REGION, ACCOUNT_ID, CLUSTER_NAME in terraform/examples/aws/permission-helper/terraform.tfvars
.
Create an IAM user
Send the generated policies (step 6) to your AWS administrator. Then log in with that IAM user before proceeding to the next step.
Create AWS infrastructure using DevZero's examples
Set up the base cluster
Replace region
, cluster_name
and domain
in terraform/examples/aws/base-cluster/terraform.tfvars
.
Set up the cluster extensions
Replace the cluster_name
in terraform/examples/aws/cluster-extensions/terraform.tfvars
.
Deploy the DevZero Control and Data Planes.