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

Backup prod env for testing BCP #6157

Merged
merged 27 commits into from
Jan 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f0c1e3a
changes from older backup-production
AmitPhulera Oct 25, 2023
cd89408
Replace us-west-1 with us-east-2 in backup env
AmitPhulera Oct 25, 2023
4a7156b
remove elasticache from terraform.yml in backup env
AmitPhulera Oct 25, 2023
b233710
remove unused cache_parameter_group from backup env
AmitPhulera Oct 25, 2023
b1829dd
Make backup env use the dimagi-terraform bucket
AmitPhulera Oct 25, 2023
714f963
update terraform version in backup env
AmitPhulera Oct 25, 2023
f594cef
update redis version in backup env
AmitPhulera Oct 25, 2023
05950cb
add us-east-2 in aws_elb_account_map
AmitPhulera Oct 25, 2023
f5d2059
make changes to public.yml
AmitPhulera Oct 27, 2023
bb122ad
update app-processes.yml
AmitPhulera Oct 27, 2023
27f4748
update terraform.yml with values that made sense
AmitPhulera Oct 27, 2023
746adc6
replace bionic with jammy on all the machines
AmitPhulera Oct 27, 2023
d37c9a1
fix typo
AmitPhulera Oct 30, 2023
bc6515c
set monitoring interval to 0 for all rds instances
AmitPhulera Oct 30, 2023
ff17685
remove ubuntu pro from os list
AmitPhulera Oct 31, 2023
b66895c
run aws-fill-inventory
AmitPhulera Nov 2, 2023
f5d2272
add defaults for route table
AmitPhulera Nov 10, 2023
6576fde
Merge remote-tracking branch 'origin/master' into ap/backup-prod
AmitPhulera Nov 13, 2023
8536ba8
updated local hosts
AmitPhulera Nov 13, 2023
8b12cd8
Remove CDN from bakcup prod env config
AmitPhulera Nov 14, 2023
ee38400
update es data hosts to 5 in backup-production env which matches prod…
AmitPhulera Nov 17, 2023
5104782
run aws-fill-inventory
AmitPhulera Nov 17, 2023
5e15b01
remove hardcoded es memory conf from backup prod env
AmitPhulera Nov 17, 2023
659c8fe
Use seperate repeaters db in backup-production (just like in production)
dannyroberts Nov 17, 2023
21bc17b
remove unnecessary comment
AmitPhulera Nov 29, 2023
51ab09d
Merge branch 'master' into ap/backup-prod
AmitPhulera Jan 4, 2024
50bd45d
Merge remote-tracking branch 'origin/master' into ap/backup-prod
AmitPhulera Jan 9, 2024
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
3 changes: 3 additions & 0 deletions environments/backup-production/app-processes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ celery_processes:
celery,export_download_queue,reminder_rule_queue,case_import_queue,case_rule_queue:
concurrency: 1
flower: {}
beat: {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually specifically do not want this to ever be running on the backup. Probably worth leaving a comment about that. That is because celery beat triggers scheduled events like sending SMS's and such, and we don't want those to get kicked off on the backup environment when we restore the data.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same reason we don't have management_commands above defined. Those contain various enqueuing / scheduling mechanisms that we also don't want to run.


pillows:
pillow_a000:
Expand All @@ -44,6 +45,8 @@ pillows:
num_processes: 1
LedgerToElasticsearchPillow:
num_processes: 1
SqlSMSPillow:
num_processes: 1
UpdateUserSyncHistoryPillow:
num_processes: 1
UserCacheInvalidatePillow:
Expand Down