Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Stokes 505889160b Merge branch 'master' into bug5963 2024-04-06 15:01:08 +02:00
Thomas Stokes fb7b06b1ff b5963: Add chown for robustness 2024-04-06 14:58:22 +02:00
Thomas Stokes 1e43c283ca b5963: Give identify_suitable_partition a more suitable name and change usage.
Fix variable name typo.
2024-04-06 14:57:58 +02:00
Thomas Stokes f52dacd760 Check args to catch errors early and skip unnecessary scp commands, etc. 2024-04-04 11:35:18 +02:00
Thomas Stokes ec81a8ac66 bug5963: Formatting. 2024-04-04 11:19:39 +02:00
Thomas Stokes fac6b0a226 Factor out repeated code 2024-04-04 11:12:05 +02:00
Thomas Stokes 1597f86557 Merge branch 'master' of ssh://sapsailing.com/home/trac/git 2024-04-03 17:30:30 +02:00
Thomas Stokes 7adc0937b9 Add readalso to creating-ec2-image-for-webserver 2024-04-03 17:30:06 +02:00
Thomas Stokes d3d3a8f060 Fix image display 2024-04-03 14:11:40 +00:00
Thomas Stokes 135d0ea073 Add httpd conf git automation to the wiki. 2024-04-03 14:14:10 +02:00
Thomas Stokes c27308e021 Merge branch 'master' of ssh://sapsailing.com/home/trac/git 2024-04-03 13:20:56 +02:00
Thomas Stokes f48ac53c10 Add reverse proxy healtcheck to the wiki. 2024-04-03 13:19:06 +02:00
Thomas Stokes 95a4413d43 Wiki: Move "Automating archive failover" to amazon-ec2; add procedure for spinning up a disposable reverse proxy. 2024-04-01 19:20:38 +02:00
Thomas Stokes 3ed2b8e7f9 Update to mention log rotations on the disposables. 2024-04-01 19:07:26 +02:00
Thomas Stokes e431fd0ad2 Start on disposable documentation and polish up crontab. 2024-04-01 09:53:18 +02:00
Thomas Stokes c8c7708cf7 Merge branch 'master' of ssh://sapsailing.com/home/trac/git 2024-04-01 09:39:57 +02:00
Thomas Stokes 689474250b Add image of disposable infrastructure 2024-04-01 09:39:45 +02:00
Thomas Stokes 2227d618b7 Add wiki explanation and update references to build-crontab-and... to the new function in imageupgrade_functions.sh 2024-03-31 19:26:31 +02:00
Thomas Stokes 2717226036 Merge branch 'master' of ssh://sapsailing.com/home/trac/git 2024-03-30 21:45:47 +01:00
Thomas Stokes 0aede730d2 Add details of automatic mailing list to the wiki. 2024-03-30 21:45:42 +01:00
Thomas Stokes 7d0cff9bab Document the keys_vault 2024-03-30 21:42:16 +01:00
Thomas Stokes 26d74eaba2 Formatting 2024-03-30 20:32:05 +00:00
Thomas Stokes 220f332b39 Add wiki documentation of AWS Backup 2024-03-30 21:25:33 +01:00
Thomas Stokes f506755877 Remove unused constants 2024-03-30 17:09:28 +01:00
Thomas Stokes be6336627e Improve description of bash function in disposable setup script. 2024-03-30 16:44:25 +01:00
Thomas Stokes 47f8ea045a Update the procedure for disposable setup 2024-03-30 15:39:06 +00:00
Thomas Stokes 02265610a3 In imageupgrade_functions, restart sshd after config + preserve hostname after restart. 2024-03-25 22:56:10 +01:00
Thomas Stokes 2339631bd9 Actually set current_time 2024-03-25 14:18:56 +01:00
Thomas Stokes 00e9331a05 Set default disposable reverse proxy name, when creating through the admin console. 2024-03-25 11:34:32 +01:00
Thomas Stokes 4def118857 Install nmap on disposables 2024-03-25 10:50:27 +01:00
Thomas Stokes e3b095cd4c Formatting 2024-03-22 14:38:07 +00:00
Thomas Stokes 22acff3719 Clarify GatewayPorts workings 2024-03-22 14:24:24 +00:00
Thomas Stokes 7d25c9719b Correct old Tokyo replica description to Paris dual-master 2024-03-22 09:37:29 +00:00
Thomas Stokes c575b94050 Merge branch 'master' into bug5979 2024-03-21 19:22:13 +01:00
Thomas Stokes 31be643c3d Merge branch 'master' into bug5979 2024-03-21 19:19:07 +01:00
Thomas Stokes f21f5ddb1d Correct script location 2024-03-21 17:49:38 +00:00
Thomas Stokes 70315a7c4e Update last backup date. 2024-03-21 16:26:48 +00:00
Thomas Stokes 5f73708a5c Minor update 2024-03-21 13:08:57 +00:00
Thomas Stokes 3c81453121 b5979: Reduce reverse proxy healthcheck unhealthy cache time. 2024-03-21 13:31:49 +01:00
Thomas Stokes 769e5c1b1a Merge branch 'master' into bug5979 2024-03-21 13:07:53 +01:00
Thomas Stokes 41e38c2cb9 Not the diff result + use chmod so all users can read the mailing list. 2024-03-21 13:02:55 +01:00
Thomas Stokes 1cdac2e549 Last port to try-with-resource 2024-03-21 13:00:40 +01:00
Thomas Stokes b5e066df32 Merge remote-tracking branch 'origin/master' 2024-03-21 12:47:25 +01:00
Thomas Stokes 43bdeb1b87 Use try-with-resource statement 2024-03-21 12:43:58 +01:00
Thomas Stokes a97f3044d4 Fix order of conflict checking 2024-03-21 12:26:04 +01:00
Thomas Stokes 65eca79cfc Push latest httpd git changes and any merge in main to the remote.
Check for error status after potential conflicts.
2024-03-21 11:16:08 +01:00
Thomas Stokes e562657a79 b5933: Remove backup 2024-03-20 18:59:49 +01:00
Thomas Stokes 66f6df16b8 Merge branch 'bug5933' of ssh://sapsailing.com/home/trac/git into bug5933 2024-03-20 15:00:27 +01:00
Thomas Stokes 31bf2a3d66 b5933: Simplify diff check, by removing brackets. 2024-03-20 14:43:37 +01:00
Thomas Stokes 7652c9f825 Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug5979 2024-03-20 14:24:51 +01:00
Thomas Stokes 9d80f15d51 b5979: Improve error/status messages. 2024-03-20 14:22:32 +01:00
Thomas Stokes cd9be0e54c b5933: Use diff in place of cat. 2024-03-20 10:27:32 +01:00
Thomas Stokes 9396b5b8be b5933: Fix atomicity issue 2024-03-19 21:41:41 +01:00
Thomas Stokes 5a0f5781a3 Utilise tags for register-deregister-from-nlb script, instead of target group name. 2024-03-19 21:00:00 +01:00
Thomas Stokes 2c71513138 b5933: Improve resilience of update mailing list script 2024-03-19 20:13:40 +01:00
Thomas Stokes 97fe2bfdf0 Improve sync-repo security 2024-03-19 19:48:22 +01:00
Thomas Stokes 37da087c38 Suffix "2" added to new target groups 2024-03-19 10:09:17 +00:00
Thomas Stokes a1dedee578 Add security group configuration for the central 2024-03-19 10:05:50 +00:00
Thomas Stokes bbd0a53847 b5979: Fix regex error. 2024-03-18 18:37:32 +01:00
Thomas Stokes 09dfdcd03b Add connect timeout to post-receive ssh command 2024-03-18 15:38:22 +01:00
Thomas Stokes b26e6e966e Update the variable name which stores the branch name variable 2024-03-18 15:04:27 +01:00
Thomas Stokes 661a18e28e Checkout disposable branch 2024-03-18 14:02:54 +01:00
Thomas Stokes 206492e065 Merge branch 'master' of ssh://sapsailing.com/home/trac/git into bug1873 2024-03-18 13:31:51 +01:00
Thomas Stokes c4d47f0a5c b1873: Minor fixes to remove redirect. 2024-03-18 13:31:23 +01:00
Thomas Stokes 90a35c5197 Merge branch 'master' into bug5979 2024-03-15 17:00:39 +01:00
Thomas Stokes 3c29293d80 b5979: Fix some formatting and bugs. Add randomisation to timeouts. 2024-03-15 16:57:23 +01:00
Thomas Stokes d347a77580 b5979: Add check for instance in the same az as the archive + usage of cleanup. 2024-03-15 16:54:54 +01:00
Thomas Stokes cab20406c3 b5979: Add timeout to the cache. 2024-03-15 14:36:28 +01:00
Thomas Stokes 75ce00af9a b5979: Setup the new structure for AZ comparison. 2024-03-15 13:24:32 +01:00
Thomas Stokes b12748629e b5979: Minor formatting 2024-03-15 10:23:18 +01:00
Thomas Stokes 9a2616da0c b5979: Cleanup method to clear caches on shutdown. 2024-03-15 10:14:38 +01:00
Thomas Stokes 3e4adfcf62 b5979: Fetch subnets without noInstanceDeployment tag. 2024-03-14 20:19:42 +01:00
Thomas Stokes 1a2dcc119b b5979: Write to location the apache user can access. 2024-03-14 20:10:19 +01:00
Thomas Stokes 99afb42c0e Revert "b1873: Reverse proxy healthcheck simplified."
This reverts commit a566eb8dbb.
2024-03-14 18:47:23 +01:00
Thomas Stokes 812a1ebbfe Revert "b1873: Fix status message"
This reverts commit e5503646d3.
2024-03-14 18:46:45 +01:00
Thomas Stokes 1a04367f88 b5978: Add reference in the disposable setup script. 2024-03-14 17:50:15 +01:00
Thomas Stokes 0f2744e377 b1873: Fix the 0 argument help msg. 2024-03-14 16:43:38 +01:00
Thomas Stokes 605971239c b1873: Alter post-receive and sync-repo scripts to the new git-branch approach for httpd config updates. 2024-03-14 16:39:39 +01:00
Thomas Stokes 6a8869fdd3 b1873: Migrate to checked out workspace for setting and removing redirects. 2024-03-14 16:16:24 +01:00
Thomas Stokes 58502038ae Revert "Add central-only httpd config files to the repo structure."
This reverts commit b900bc86fd.
2024-03-14 15:05:52 +01:00
Thomas Stokes 8b05bfaeef b1873: Ensure syntax check is green before running the cmd. 2024-03-14 15:04:17 +01:00
Thomas Stokes 1581bcaa69 b1873: Add the old healthcheck below. 2024-03-13 17:05:17 +01:00
Thomas Stokes c5a2fa5fba Merge branch 'master' into bug5978 2024-03-13 15:52:37 +01:00
Thomas Stokes 70a42fc9ba Fix image upgrade bug and add no-startup-command. 2024-03-13 12:33:26 +01:00
Thomas Stokes 1f40b7e450 Remove author warnings upon disposable httpd conf commits. 2024-03-13 10:35:19 +01:00
Thomas Stokes 1a8621b969 Merge branch 'bug5969' 2024-03-13 09:42:14 +01:00
Thomas Stokes 33949456cf b5969: Remove uneccessary logging statement. 2024-03-13 09:41:49 +01:00
Thomas Stokes 963948a39e Merge branch 'bug5969' 2024-03-13 09:36:00 +01:00
Thomas Stokes 550f98bb0c b5969: Tweak lambda parameter name. 2024-03-13 09:35:31 +01:00
Thomas Stokes cf2335943d b5978: Append settings to sshd config to improve resilience 2024-03-13 09:19:45 +01:00
Thomas Stokes 67cdfa55ee b5969: Add insightful comment. 2024-03-12 17:06:42 +01:00
Thomas Stokes 7bf220dcc5 b5969: Filter AZ choice list for reverse proxy creation, based on the default ALB security group's vpc. 2024-03-12 17:01:00 +01:00
Thomas Stokes d6217970fc b5969: Filter instance types using new method parameter. 2024-03-12 16:56:57 +01:00
Thomas Stokes a7c047b8a2 b5969: Add instance types to landscape constants. 2024-03-12 10:33:46 +01:00
Thomas G Stokes 8495d18cd6 Merge branch 'master' of ssh://sapsailing.com/home/trac/git 2024-03-11 18:10:00 +01:00
Thomas G Stokes 174fe88d45 Remove accidental double execution, which only caused an issue on the central. 2024-03-11 18:09:47 +01:00
Thomas G Stokes 9816a78c3c b5981: Remove unused stream warning 2024-03-11 15:44:20 +01:00
Thomas G Stokes 7fb149908c Merge branch 'master-backup' 2024-03-11 15:40:26 +01:00
Thomas G Stokes f0f4807093 Remove mod_ssl from disposable proxy setup script. 2024-03-11 15:38:27 +01:00
Thomas G Stokes 31e6fdcc3f b5981: Improve reliability of AZ fetching for launching load balancers, autoscaling groups and instance deployment.
When identifying suitable subnets we remove those with a special tag.
2024-03-08 21:47:13 +01:00