From 1d6bbaf2f837bc0731facb42529f52103ebf901f Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Thu, 11 Aug 2022 16:27:35 -0300 Subject: [PATCH 01/16] create_DR_stack --- .cloud66/manifest.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 529a0303..f207ea27 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -13,3 +13,10 @@ sandbox: staging: <<: *production + +disaster_recovery: + rack: + configuration: + custom_deploy_command: bin/rake db:migrate + operating_system: ubuntu2004 + ruby_version: 3.1.2 From 82bb8d8c445f5a2136133debdd46438088a4779a Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 15:22:54 -0300 Subject: [PATCH 02/16] add stack --- .cloud66/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index f207ea27..c111c6e2 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -17,6 +17,6 @@ staging: disaster_recovery: rack: configuration: - custom_deploy_command: bin/rake db:migrate + # custom_deploy_command: bin/rake db:migrate operating_system: ubuntu2004 ruby_version: 3.1.2 From 45fea5ce055ad27555734008f10a86d526d3e045 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 15:45:47 -0300 Subject: [PATCH 03/16] fix --- .cloud66/manifest.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index c111c6e2..0ba6c001 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -18,5 +18,13 @@ disaster_recovery: rack: configuration: # custom_deploy_command: bin/rake db:migrate - operating_system: ubuntu2004 + operating_system: ubuntu2204 ruby_version: 3.1.2 + server: + unique_name: cred-reg-DR + region: us-west-2 + vendor: aws + availability_zone: us-west-2c + size: t3a.medium + root_disk_size: 50 + From 42ce0fc8aba5bed4c0ef2aa8989c287bcdacee00 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 16:12:22 -0300 Subject: [PATCH 04/16] Update manifest.yml --- .cloud66/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 0ba6c001..17fa0450 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -14,7 +14,7 @@ sandbox: staging: <<: *production -disaster_recovery: +sandbox: rack: configuration: # custom_deploy_command: bin/rake db:migrate From dee8196f039a8dbe3527060c53b976c93f7acf1a Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 16:18:57 -0300 Subject: [PATCH 05/16] Update manifest.yml --- .cloud66/manifest.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 17fa0450..b17954aa 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -20,11 +20,15 @@ sandbox: # custom_deploy_command: bin/rake db:migrate operating_system: ubuntu2204 ruby_version: 3.1.2 - server: - unique_name: cred-reg-DR - region: us-west-2 - vendor: aws - availability_zone: us-west-2c - size: t3a.medium - root_disk_size: 50 - + server: + unique_name: cred-reg-DR + region: us-west-2 + vendor: aws + availability_zone: us-west-2c + size: t3a.medium + root_disk_size: 50 + environment_variables: + SOME_VARIABLE: value + ANOTHER_ONE: another_value + THIRD_ONE: AUTO_GENERATE + LONG_ONE: AUTO_GENERATE_15 From 89b8069f9ea01c1da97235cb3dae81e0161a9a68 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 16:53:06 -0300 Subject: [PATCH 06/16] Update manifest.yml --- .cloud66/manifest.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index b17954aa..40ce5d86 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -8,14 +8,11 @@ production: &production development: <<: *production -sandbox: - <<: *production - staging: <<: *production sandbox: - rack: + rails: configuration: # custom_deploy_command: bin/rake db:migrate operating_system: ubuntu2204 From db4f6921d896c3ddf746112facb851d22d53935e Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 16:55:24 -0300 Subject: [PATCH 07/16] Update manifest.yml --- .cloud66/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 40ce5d86..1e6c24a1 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -19,7 +19,7 @@ sandbox: ruby_version: 3.1.2 server: unique_name: cred-reg-DR - region: us-west-2 + region: us-east-2 vendor: aws availability_zone: us-west-2c size: t3a.medium From b0f6380adff1f273bff8def4f84ea53a1082f871 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 16:55:51 -0300 Subject: [PATCH 08/16] Update manifest.yml --- .cloud66/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 1e6c24a1..5b4d2090 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -11,7 +11,7 @@ development: staging: <<: *production -sandbox: +asandbox: rails: configuration: # custom_deploy_command: bin/rake db:migrate From fcf6b217956f16d502c30ab921b2681c639faf0c Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 16:57:36 -0300 Subject: [PATCH 09/16] Update manifest.yml --- .cloud66/manifest.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 5b4d2090..501a8437 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -11,12 +11,11 @@ development: staging: <<: *production -asandbox: +sandbox: rails: configuration: # custom_deploy_command: bin/rake db:migrate - operating_system: ubuntu2204 - ruby_version: 3.1.2 + ruby_version: 3.0 server: unique_name: cred-reg-DR region: us-east-2 From 4341d52d3c28008e69f28eb00692fb5cf4715dd5 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 16:58:23 -0300 Subject: [PATCH 10/16] Update manifest.yml --- .cloud66/manifest.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 501a8437..2e2c25be 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -14,7 +14,6 @@ staging: sandbox: rails: configuration: - # custom_deploy_command: bin/rake db:migrate ruby_version: 3.0 server: unique_name: cred-reg-DR From f373e6c2654cdc7ecfe32cfe4f0eb9f7d2d435e7 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 17:00:08 -0300 Subject: [PATCH 11/16] Update manifest.yml --- .cloud66/manifest.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 2e2c25be..cc5e2dd9 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -15,13 +15,14 @@ sandbox: rails: configuration: ruby_version: 3.0 - server: - unique_name: cred-reg-DR - region: us-east-2 - vendor: aws - availability_zone: us-west-2c - size: t3a.medium - root_disk_size: 50 + servers: + - server: + unique_name: cred-reg-DR + region: us-east-2 + vendor: aws + availability_zone: us-west-2c + size: t3a.medium + root_disk_size: 50 environment_variables: SOME_VARIABLE: value ANOTHER_ONE: another_value From bf4ce80ecc7746fe495dfb2dd2c0d11180268a01 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 17:02:21 -0300 Subject: [PATCH 12/16] Update manifest.yml --- .cloud66/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index cc5e2dd9..39285dfb 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -15,7 +15,7 @@ sandbox: rails: configuration: ruby_version: 3.0 - servers: + serversss: - server: unique_name: cred-reg-DR region: us-east-2 From e107425cfc4b6a963e6e532ffc069d6b7ff288e8 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 17:03:24 -0300 Subject: [PATCH 13/16] Update manifest.yml --- .cloud66/manifest.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 39285dfb..6087f0cc 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -13,18 +13,14 @@ staging: sandbox: rails: - configuration: - ruby_version: 3.0 - serversss: + servers: - server: - unique_name: cred-reg-DR - region: us-east-2 + unique_name: app vendor: aws - availability_zone: us-west-2c - size: t3a.medium - root_disk_size: 50 - environment_variables: - SOME_VARIABLE: value - ANOTHER_ONE: another_value - THIRD_ONE: AUTO_GENERATE - LONG_ONE: AUTO_GENERATE_15 + key_name: Default + region: us-east-1 + size: m3.medium + root_disk_size: 100 + root_disk_type: ssd + subnet_id: subnet-40000000 + availability_zone: us-east-1c From f7f283ccc9c96ff26cde13bb1b1f6008dd58ab45 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 17:04:18 -0300 Subject: [PATCH 14/16] Update manifest.yml --- .cloud66/manifest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index 6087f0cc..d211e55c 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -17,7 +17,7 @@ sandbox: - server: unique_name: app vendor: aws - key_name: Default + key_name: ariel region: us-east-1 size: m3.medium root_disk_size: 100 From 6a87198ee872f578aa34565dfea1ea4a79108ebd Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 17:04:56 -0300 Subject: [PATCH 15/16] Update manifest.yml --- .cloud66/manifest.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index d211e55c..ce3aed4f 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -17,7 +17,6 @@ sandbox: - server: unique_name: app vendor: aws - key_name: ariel region: us-east-1 size: m3.medium root_disk_size: 100 From 663bd5b1cfe45ed66a67a22896972360dca4d470 Mon Sep 17 00:00:00 2001 From: Ariel Rolfo <96243774+arielr-lt@users.noreply.github.com> Date: Fri, 12 Aug 2022 17:26:35 -0300 Subject: [PATCH 16/16] Update manifest.yml --- .cloud66/manifest.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.cloud66/manifest.yml b/.cloud66/manifest.yml index ce3aed4f..9996909d 100644 --- a/.cloud66/manifest.yml +++ b/.cloud66/manifest.yml @@ -1,25 +1,11 @@ -production: &production - rack: - configuration: - custom_deploy_command: bin/rake db:migrate - operating_system: ubuntu2004 - ruby_version: 3.1.2 - -development: - <<: *production - -staging: - <<: *production - -sandbox: +disaster_recovery: rails: servers: - server: - unique_name: app + unique_name: DR_app vendor: aws region: us-east-1 size: m3.medium root_disk_size: 100 root_disk_type: ssd - subnet_id: subnet-40000000 availability_zone: us-east-1c