Running your own CERA demo cluster
From forking.md in CERA monorepo
This doc assumes knowledge in stack architecture and technologies.
This runs in AWS. Manually (or have your IT team) create these resources.
- DynamoDB Table for TF lock (see providers.tf for name)
- S3 Bucket for TF State (see providers.tf for name)
- Registed Domain pointing to an empty R53 zone.
- a Seed IAM role you can login with rights to modify IAM (so you can create role and oidc)
THis uses a CCI Release Agent and Policy enforcement
- Note your CCI Org ID (neeed later to for OIDC provider and vault policies )
- Create a CCI Release Agent
- Add Token to a NEW CONTEXT as
TF_VAR_rt_token
(more details in release agent module repo)
- Determine Root Zone ID for Domain.
- When creating a new domain in AWS R53, a zone is automatically created.
- If existing domain, set a R53 record with those DNS servers and grab zone_id
- Create initial seed Role and OIDC Provider (see
global/templates/README.md
) - Import root dns from
global
moduleterraform import aws_route53_zone.demo_domain ZONEIDZXXXX
- Fill all values in
global/terraform.tfvars
Rename bucket, dyanmo, or region in all 3 root modules, global
,namer-eks
,namer-platforms
in both of 2 files providers.tf
and data.tf
TODO: See guide in dr-demo
repo
You need to import the intial IAM role and OIDC provier - we need to clean this process up.