Page MenuHomePhabricator

[terraform] Introduce secondary keyserver service
ClosedPublic

Authored by will on Jul 9 2024, 7:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 25, 11:44 PM
Unknown Object (File)
Fri, Oct 25, 2:19 PM
Unknown Object (File)
Thu, Oct 24, 4:44 AM
Unknown Object (File)
Thu, Oct 24, 1:28 AM
Unknown Object (File)
Wed, Oct 23, 3:06 PM
Unknown Object (File)
Mon, Oct 21, 12:42 PM
Unknown Object (File)
Mon, Oct 21, 12:07 PM
Unknown Object (File)
Mon, Oct 21, 11:31 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