-
Notifications
You must be signed in to change notification settings - Fork 41
initial version of wireguard on the monitoring-devops deployment #595
initial version of wireguard on the monitoring-devops deployment #595
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like this approach and look forward to seeing it used for securing communications between AWS and other physical data centers and cloud services.
require = [ ./monitoring.nix ]; | ||
monitoring = { ... }: | ||
a1 = mkUplink 10 ../static/a1.wgprivate; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this stuff needs to be undone and moved to infra for all packet.net servers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was mainly a testing ground for the concept, and matching code has now been put into the infra deployments
i'm thinking it can be ok to leave wireguard in this devops deployment, for future testing?
securityGroups = [ | ||
resources.ec2SecurityGroups."allow-wireguard-in-${region}-${org}" | ||
resources.ec2SecurityGroups."allow-to-monitoring-${region}" | ||
resources.ec2SecurityGroups."allow-monitoring-static-peers-${region}-${org}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wireguard SG replaces the need for this SG.
|
||
ownIp = mkOption { | ||
type = types.str; | ||
description = "the address a remote prometheus node will use to contact this machine"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could also mention wireguard IP will be used preferentially if enabled.
done | ||
exit 0 | ||
''; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this. Maybe it would be good to add similar for graylog and grafana initial cred creation to save new cluster spin up time.
c707acd
to
c33297b
Compare
9f0924c
to
347ce6d
Compare
347ce6d
to
6d5446e
Compare
75c468f
to
12b8461
Compare
12b8461
to
2ffc974
Compare
2ffc974
to
61b7c9c
Compare
No description provided.