Page MenuHomePhabricator

[terraform] Introduce secondary keyserver service
ClosedPublic

Authored by will on Jul 9 2024, 7:32 PM.
Tags
None
Referenced Files
F3389220: D12711.id42384.diff
Fri, Nov 29, 6:01 PM
F3389201: D12711.id42417.diff
Fri, Nov 29, 5:57 PM
Unknown Object (File)
Tue, Nov 26, 9:40 AM
Unknown Object (File)
Tue, Nov 26, 7:29 AM
Unknown Object (File)
Tue, Nov 26, 7:25 AM
Unknown Object (File)
Tue, Nov 26, 5:40 AM
Unknown Object (File)
Sat, Nov 23, 9:47 PM
Unknown Object (File)
Sat, Nov 23, 6:45 AM
Subscribers

Details

Summary

This introduces the secondary keyserver service. The task is mostly identical to the primary except COMM_NODE_ROLE being set to
secondary.

Depends on D12710

Test Plan

I added a temporary keyserver route that printed true/false for whether it was primary. Load balancer properly distributed traffic
to both primary and secondary requests and was able to curl https://wyilio.com/role to get both true and false responses

Diff Detail

Repository
rCOMM Comm
Branch
keyserver_to_aws
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

services/terraform/self-host/keyserver_primary.tf
3

Like the primary service. Will not land until I've built and changed this to an official commapp image

will requested review of this revision.Jul 9 2024, 7:47 PM

create secondary resources after primary

bartek requested changes to this revision.Jul 17 2024, 12:49 AM
bartek added inline comments.
keyserver_secondary.tf
1 ↗(On Diff #42363)

Wait, isn't the keyserver_secondary.tf accidentally copied to repo root?

This revision now requires changes to proceed.Jul 17 2024, 12:49 AM

remove copy of keyserver_secondary.tf from root

This revision is now accepted and ready to land.Jul 17 2024, 8:48 AM