feat: create single Nomad server running on DigitalOcean droplet#3
feat: create single Nomad server running on DigitalOcean droplet#3
Conversation
Before this, changing the droplet replaced the reserved IP address which changed the actual address.
It's not working so just remove it for now.
🍹
|
This will be handled by Pulumi SSH commands. BREAKING CHANGE: Will re-create the droplet.
Nomad was trying to read the policy as a config.
Sometimes the droplet was created without this access key that is needed later.
fa95579 to
bf65d61
Compare
7d2192d to
01418b0
Compare
|
@mattyg, @jost-s, and @ThetaSinner, I've added quite a lot to the Pulumi code since your last reviews. Now, Pulumi performs the Nomad setup for us automatically. |
jost-s
left a comment
There was a problem hiding this comment.
I'm too late with my review, but anyway. I wanted to run the commands today, so here is my text from yesterday.
You went to town on the go coding there!
I can follow the description of all the certificates and tokens. I trust that it works, I haven't run the commands myself.
|
|
||
| ## Changing the TLS certificate authority certificate | ||
|
|
||
| Nomad uses TLS for encrypted communications with the server(s) for this to work |
There was a problem hiding this comment.
| Nomad uses TLS for encrypted communications with the server(s) for this to work | |
| Nomad uses TLS for encrypted communications with the server(s). For this to work |
| Some changes to the definition of the DigitalOcean droplet will require the | ||
| droplet to be destroyed and re-created. | ||
|
|
||
| If this happens, or if we want to deliberately re-create the server(s), then |
There was a problem hiding this comment.
| If this happens, or if we want to deliberately re-create the server(s), then | |
| If this happens, or if we want to deliberately re-create the server(s), |
|
Ah, sorry @jost-s. I thought that it seems to be working, and we can always make changes later in separate PRs, so I just went for it 😁
Yeah, once I found the command to run arbitrary commands and copy files via SSH then I saw no reason to not just automate everything |
|
Totally agree. I'll come back to this if necessary once I've tried out these steps. |
This is the Pulumi definition for the Nomad Server that is required for #holochain/wind-tunnel/issues/132 and can be found at https://nomad-server-01.holochain.org:4646/ui.