Bootstrapping a new server takes too many steps? #35

Closed
opened 2021-08-02 19:33:10 +00:00 by decentral1se · 3 comments
Owner

While I was thinking about #34...

This is what you have to do to make a new server today:

  • abra server new hetzner autonomic-foobar (create new VPS)
  • go to gandi web UI and wire up some A records
  • abra server add foo.autonomic.zone <myuser> <mysshport> (setup context)
  • ssh into server and install docker yourself
  • abra server init foo.autonomic.zone (install swarm/networking)

This seems like too much stuff. I don't think we've faced this issue because we create all our VPSs with Ansible automation outside of go-abra but other folks won't have all that.

Maybe we could also design a flow here for creating a new server?

While I was thinking about [#34](https://git.coopcloud.tech/coop-cloud/go-abra/issues/34)... This is what you have to do to make a new server today: - `abra server new hetzner autonomic-foobar` (create new VPS) - go to gandi web UI and wire up some A records - `abra server add foo.autonomic.zone <myuser> <mysshport>` (setup context) - ssh into server and install docker yourself - `abra server init foo.autonomic.zone` (install swarm/networking) This seems like too much stuff. I don't think we've faced this issue because we create all our VPSs with Ansible automation outside of `go-abra` but other folks won't have all that. Maybe we could also design a flow here for creating a new server?
decentral1se added the
question
design
help wanted
labels 2021-08-02 19:34:07 +00:00
Author
Owner

I raised this cloud-init related ticket over in Capsul land, that is relevant for the bootstrapping of Docker, user accounts, firewalls etc. without the use of Ansible. People can just write a YAML cloud-init file and then abra server new would take that into account perhaps?

There was talk of abra server dns gandi <host> <ip> in #106.

I raised this [cloud-init related ticket](https://todo.cyberia.club/~cyberia/services/94) over in Capsul land, that is relevant for the bootstrapping of Docker, user accounts, firewalls etc. without the use of Ansible. People can just write a YAML cloud-init file and then `abra server new` would take that into account perhaps? There was talk of `abra server dns gandi <host> <ip>` in [#106](https://git.coopcloud.tech/coop-cloud/organising/issues/106).
Owner

Maybe we could also design a flow here for creating a new server?

Sounds amazing.

go to gandi web UI and wire up some A records

We could automate this fairly easily, right? Maybe using Lego, like Traefik does? https://go-acme.github.io/lego/

> Maybe we could also design a flow here for creating a new server? Sounds amazing. > go to gandi web UI and wire up some A records We could automate this fairly easily, right? Maybe using Lego, like Traefik does? https://go-acme.github.io/lego/
Author
Owner

Terraform based approach sounds really interesting:

coop-cloud/organising#106 (comment)

Terraform based approach sounds really interesting: > https://git.coopcloud.tech/coop-cloud/organising/issues/106#issuecomment-8235
decentral1se added this to the (deleted) milestone 2021-09-08 12:27:47 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#35
No description provided.