Getting Started¶
Hetzner Cloud¶
Create a project in Hetzner Cloud environment.
Create a local file with the name
provider_token =
Name | Description |
---|---|
provider_token | Cloud access token (https://console.hetzner.cloud/projects/ |
Azure¶
Create a subcription in Azure Cloud.
Create a Service Principal (https://www.terraform.io/docs/providers/azurerm/guides/service_principal_client_secret.html) - requires Azure CLI
az login az account list az account set --subscription="<SUBSCRIPTION_ID>" az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<SUBSCRIPTION_ID>"
Create a local file with the name
provider_token =
Name | Description |
---|---|
provider_token | Cloud access token (https://console.hetzner.cloud/projects/ |
Wasabi S3 Storage for Terraform state¶
Cloudflare¶
-
Create free plan
-
Change your nameservers
Log in to your registrar account - Replace with Cloudflare's nameservers: Registrars typically process nameserver updates within 24 hours. Once this process > completes, Cloudflare confirms your site activation via email.
Add the following parameters to the file
domain = email = dns_api_token =
Name | Description |
---|---|
domain | Domain |
Cloudflare login email | |
dns_api_token | Cloudflare Global API Key |
Kubernetes ArgoCD¶
Add the following parameter to the file
k8s_argocd_admin_pass =
Name | Description |
---|---|
k8s_argocd_admin_pass | ArgoCD password for admin user |
Concourse CI¶
Add the following parameters to the file credentials.yaml in ci folder.
terraform-backend-bucket: terraform-backend-access-key: terraform-backend-secret-key: terraform-environments-git-private-key: terraform-environments-git-crypt-key:
Name | Description |
---|---|
terraform-backend-bucket | Wasabi S3 bucket name |
terraform-backend-access-key | Wasabi S3 access key |
terraform-backend-secret-key | Wasabi S3 secret key |
terraform-environments-git-private-key | Git repo private key |
terraform-environments-git-crypt-key | git-crypt export-key -- - | base64 |
Start CI server
./ci.sh up <environment_name>
Stop CI server
./ci.sh down