Struggling with a problem that i just can’t seem to figure out.

When starting from scratch self hosting both the SCM and CI/CD server.

Given that you can’t use an existing setup to deploy/manage it, what is the best practice for deploying said services?

  • Senal@programming.devOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    Yeah, I’m going with a tiny dedicated infra bootstrapping box with all the tools I’d need to bootstrap the main infrastructure.

    Using a hypervisor (proxmox in this case) I have some prebuilt vms’s and container images that I can use for the bootstrap instances so i’d not need to completely hand roll it again should it be needed.

    I’m looking at cloudinit scripts to see if that’s useful for this.

    I really like packer but I’m hesitant to rely on anything hashicorp until whatever they have going on shakes out.

    Then I just load up the bootstrap box with the main infra code and use woodpecker to deploy.

    Code and config backed up, also mirrored to newly created infra forgejo instances, just in case.

    If I can get a semi presentable cloud init based bootstrap system working nicely I’ll stick it somewhere people can get to it, in case it’s useful to someone else.

    • icb4dc0de@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      If you don’t mind I’d be interested in how the cloudinit for proxmox looks like 😁 So far I only used it for Azure and Hetzner Cloud to bootstrap Coder machines but from your description I’d expect that should work. Very cool approach!