DR Process

decide which stack to launch and in which region if we wish to restore in any region except us-east-1 we first would need to enable the region within control tower

copy primary stack definition change region value remove cluster attribute we will not generally want to deploy multiple clusters within a dr region so do not append date string attributes to eks and helm resources

  1. use leapp to establish a terminal session to Palolo root account

  2. execute drup workflow

time atmos workflow up -f provision.yaml -s palolo-labs-us-east-1

real 55m47.187s
user 12m18.104s
sys 0m53.208s
  1. connect dr vpc to network hub
time atmos terraform apply vpc-peering -s palolo-network-us-west-2

real 5m3.527s
user 7m39.813s
sys 0m56.083s
  1. use leapp to establish a terminal session to Product deployment account (labs in this case)
  2. use klogin to authenticate to new cluster
klogin us-east-1
  1. restore database
time dbdr

real 4m45s
  1. apply helm dependencies to cluster
time atmos workflow helm -f provision.yaml -s palolo-labs-us-east-1

real 4m40.589s
user 3m13.503s
sys 0m10.705s

check/create overrides file for env/region add new cluster name to deployment workflow(s)

  1. use github actions to perform deployment to dr cluster
real 10m 0s

concerns

key improvements