XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Racked today, entire hosting solution based on Vates stack

    Scheduled Pinned Locked Moved Share your setup!
    44 Posts 6 Posters 2.2k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Online
      Pilow @nikade
      last edited by

      @nikade to be noted, on XO6 this bug does not exist anymore !

      P 1 Reply Last reply Reply Quote 1
      • P Online
        Pilow @Pilow
        last edited by

        new VM wizard πŸ˜›

        1- Name it
        16428ce4-ad0d-4cc9-b37c-ceb2e91de263-{AE0A89FA-D00C-4A94-B452-B502FBA7F7E8}.png

        2- Prep it
        32cd4196-f3f3-4609-97dc-08adaf713271-{A1507A6F-1532-47ED-B07C-BCB489CEEEFF}.png
        You choose the available pool/host/SR/network, and then template. All choices are driven top to bottom.
        all filtering happening here is based on TAGs in XOA, hope XO6 will not break it πŸ˜• but it was also the easiest way to differentiate "templates" that are HUB templates, and "templates" that are VM config models and need an ISO
        bios mode is also automagically selected by tags...51e985b3-38d8-47c3-9bc0-a9254e426a6a-{25D7C3E1-2D07-4820-8FD4-28D6A9FC014D}.png

        3- Customize it
        c4682f85-9c03-4331-8095-89ed9d1159f2-{27BD63AC-5510-42C5-B7C8-3B4043409677}.png
        Dynamic cloudconfig file creation, you fill the form, it changes the config
        config is manually editable if you want to

        4- Deploy it
        d8424c75-9207-4c0f-b86e-f110bd8ffef0-{B1E16498-1813-4EC2-8E7F-037F84CBF57C}.png
        Final check before Pulumi does its magic.

        to be done :

        • ssh-key wallet/generate button
        • hash of user password to avoid plain text in cloudconfig file
        • differentiate windows/linux templates to generate cloud-init/cloudbase-init files
        • DB of tenant/reseller/client logic, full admin view for now

        beta opens in a couple weeks max I think !

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          bvitnik @Pilow
          last edited by

          @Pilow just curious. Why use Pulumi for VM provisioning instead of XO API directly? You are interfacing with XO API for other stuff anyway, right?

          P 1 Reply Last reply Reply Quote 0
          • P Online
            Pilow @bvitnik
            last edited by

            @bvitnik Pulumi is more IaC ready for the type of deployement we want in a MSP context, where resellers should manage their own VMs and clients VMs. we can pulumi up VMs, and modify them after if needed. we can replay a VM deployment in different tenants contexts.

            Predictability, idempotence, and the fact that Pulumi can go beyond XO provider to manage other aspects of the stack

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              bvitnik @Pilow
              last edited by

              @Pilow said in Racked today, entire hosting solution based on Vates stack:

              ... and the fact that Pulumi can go beyond XO provider to manage other aspects of the stack

              Can you elaborate more?

              P 1 Reply Last reply Reply Quote 0
              • P Online
                Pilow @bvitnik
                last edited by Pilow

                @bvitnik for example use Pulumi to create DNS records in domains hosted by OVH to point to the dedicated IP of a tenant to publish a spinned up pulumi-docker app in a tenant VM.

                or use the 1password Pulumi provider to store SSH Keys of deployed VMs of a client

                our stack is based on PFsense api, but if next datacenter we host in we get a fortinet firewall instead, use the Pulumi provider to manage the network parts in the same Cloudbox app.

                create on the fly buckets in our Minios to provide dedicated remote for a reseller backup

                possibilities are quite infinite ?

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  bvitnik @Pilow
                  last edited by

                  @Pilow Ah, yes. Makes much more sense now. My mind was too focused on Vates stack that I didn't think about anything outside of it like DNS, 1password, firewall etc. integration.

                  You seem to have a quite good vision of what you are going to sell, both on technical level and business level. I work for cloud/managed services provider myself and we grew large but never got to this level of integration. I'm envious now πŸ˜†

                  P 1 Reply Last reply Reply Quote 0
                  • P Online
                    Pilow @bvitnik
                    last edited by

                    @bvitnik Vates stack is the central part, where the compute happens. but as we want to get the most of automation, we need to have the correct tools to orchestrate.

                    And I also do not want it to be "one or the other", our app should let full administration happen in XOA, in the firewalls, etc... if needed

                    the app will be a wrapper around different components, but should rule them all πŸ™‚
                    506ce0ab-baee-434e-847d-930f10f187c5-image.png

                    1 Reply Last reply Reply Quote 0
                    • nikadeN Offline
                      nikade Top contributor
                      last edited by

                      Looks very promising!

                      Just a question, what does the customer care about what pool, host or SR the VM is deployed to? I mean that's normally nothing you get to choose at the other cloud providers i've tried.

                      Or is that something only available to "resellers" who might have to balance their customers?

                      P 1 Reply Last reply Reply Quote 0
                      • P Online
                        Pilow @nikade
                        last edited by Pilow

                        @nikade indeed, customer will have limited view on that. resellers too, they will manage a quota of ressource and dispatch ressources like CPU/ram/disk /bandwidth amongst their clients.

                        VM crΓ©ation is already auto-dispatched to the more appropriate host in term of load and vcpu to cpu ratio.
                        vdi distribution is based on available luns with respect of free size available. to not saturate the SRs.and distribute evenly.

                        my screenshots are from Global Admin view, we can see all info and force some choices.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post