Skip to content

mschenck/lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab

Overview

Lab is designed to be a modular baseline for setting up a Platform for experimenting with technologies and workflows.

Lab is broken out into Tiers, which build upon each other. A "tier" is a platform layer that has a clear boundary of responsibility and a capability set to build subsequent "tiers" upon.

Lab Tiers edit

  1. Terraform State: Deploy a container for storage shared terraform state
  2. Orchestration: Deploy the minimum set of resources for all subsequent automation
  3. Runtimes: Support n number of "runtimes" where a "runtime" is an environment (production level + location) for running "services"

Getting started

Start by cloning this Git repository.

TerraformState (Tier 0)

For shared Terraform state, start by deploying 0-TerraformState:

  1. Copy stack/0-TerraformState/settings.auto.tfvars-TEMPLATE to stack/0-TerraformState/settings.auto.tfvars
  2. Edit stack/0-TerraformState/settings.auto.tfvars
  3. deploy Tier 0:
    cd stack/0-TerraformState
    terraform init
    terraform apply
  1. (Optional) Migrate 0-TerraformState to shared state. The directions will be presented in outputs from terraform apply.