Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace production couch node 3 #6124

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions environments/production/aws-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ control4-production: 10.202.10.11
control4-production.instance_id: i-05a9ed9fd13fabd55
couch11-production: 10.202.42.190
couch11-production.instance_id: i-0aef627c2e6abe669
couch12-production: 10.202.40.52
couch12-production.instance_id: i-0e9aaeea3a117206e
couch_a0-production: 10.202.40.200
couch_a0-production.instance_id: i-0451df80fe9da4eef
couch_a1-production: 10.202.40.179
Expand Down
3 changes: 0 additions & 3 deletions environments/production/inventory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,6 @@ elasticsearch_data=false

[couch11]
10.202.42.190 hostname=couch11-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-0aef627c2e6abe669 datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws
[couch12]
10.202.40.52 hostname=couch12-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-0e9aaeea3a117206e datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws

[couch_a0]
10.202.40.200 hostname=couch-a0-production ufw_private_interface=ens5 ansible_python_interpreter=/usr/bin/python3 ec2_instance_id=i-0451df80fe9da4eef datavol_device=/dev/sdf datavol_device1=/dev/sdf is_datavol_ebsnvme=yes root_encryption_mode=aws
Expand All @@ -390,7 +388,6 @@ elasticsearch_data=false

[couchdb2:children]
couch11
couch12
couch_a0
couch_a1
couch_b0
Expand Down
2 changes: 0 additions & 2 deletions environments/production/inventory.ini.j2
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,13 @@ elasticsearch_master=false
elasticsearch_data=false

{{ __couch11__ }}
{{ __couch12__ }}

{{ __couch_a0__ }}
{{ __couch_a1__ }}
{{ __couch_b0__ }}

[couchdb2:children]
couch11
couch12
couch_a0
couch_a1
couch_b0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target_allocation:
- couch_a0,couch_a1,couch_b0:3
23 changes: 3 additions & 20 deletions environments/production/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,19 +165,6 @@ servers:
group: "couchdb2"
os: bionic

- server_name: "couch12-production"
server_instance_type: c6a.8xlarge
network_tier: "db-private"
az: "a"
volume_size: 90
volume_encrypted: yes
block_device:
volume_size: 3500
encrypted: yes
enable_cross_region_backup: yes
group: "couchdb2"
os: bionic

- server_name: "couch_a0-production"
server_instance_type: c6a.8xlarge
network_tier: "db-private"
Expand All @@ -204,17 +191,13 @@ servers:
os: jammy

- server_name: "couch_b0-production"
## Increase once ready for migration
# server_instance_type: c6a.8xlarge
server_instance_type: c6a.large
server_instance_type: c6a.8xlarge
network_tier: "db-private"
az: "b"
volume_size: 80
volume_encrypted: yes
block_device:
## Increase once ready for migration
# volume_size: 3150
volume_size: 1
volume_size: 3150
encrypted: yes
group: "couchdb2"
os: jammy
Expand Down Expand Up @@ -614,9 +597,9 @@ internal_albs:
target_port: 15984
health_check_interval: 30
targets:
- couch11-production
- couch_a0-production
- couch_a1-production
- couch_b0-production

elasticache_cluster:
create: yes
Expand Down
Loading