Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Make the server setup a single URL including the user ID

Make the server setup a single URL including the user ID

Scheduled Pinned Locked Moved Feature Requests
installation
13 Posts 6 Posters 1.8k Views 6 Watching
  • 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.
  • marcusquinnM Offline
    marcusquinnM Offline
    marcusquinn
    wrote on last edited by girish
    #1

    I've setup alternative server manager platforms , and they use a single URL with a hashed user ID appended that then contains the full setup shell script.

    May I suggest this would be a more convenient way to setup without reliance on the SSH login part.

    Then could work for anyone pasting that into they provider setup script input when creating new servers.

    Perhaps the domain could be appended too, eg:

    https://api.cloudron.io/getScript/5b2a529drca23d0ab5c16455/5650632f2d/setup.sh?domain=my.example.com

    Something like that?

    Web Design https://www.evergreen.je
    Development https://brandlight.org
    Life https://marcusquinn.com

    1 Reply Last reply
    1
    • girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      I remember automating something like this for some service provider/VPS providers - https://git.cloudron.io/cloudron/cloudron-sysadmin .

      Idea was you can just call something like:

      cloudron-sysadmin setup-dns --ip 206.189.228.141 --dns-provider cloudflare --dns-zone hostingprovider.com --domain-name customer.hostingprovider.com --dns-config '{"email":"webmaster@example.com", "token": "cftoken"}' --backup-config '{"provider":"s3", "accessKeyId": "AKIA", "secretAccessKey": "e6r2qF", "bucket": "cloudron-bucket", "prefix": "customer", "region": "us-east-1"}' --tls-provider '{"provider":"letsencrypt-prod"}'
      

      Your idea takes it a bit further though. You provide this all in a curl URL which is very nice.

      1 Reply Last reply
      0
      • marcusquinnM Offline
        marcusquinnM Offline
        marcusquinn
        wrote on last edited by
        #3

        Yup - bearing in mind you don't know the server IP yet when you enter this startup script.

        Web Design https://www.evergreen.je
        Development https://brandlight.org
        Life https://marcusquinn.com

        1 Reply Last reply
        1
        • girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote on last edited by
          #4

          On a related note, @nebulon and I have wondered if we should change the setup flow of Cloudron. I think people are very accustomed to just "Sign up" on a website, which cloudron does not even have (have you noticed 🙂 ?)

          So, an alternate installation flow is:

          • Make people sign up
          • Then they get a unique curl URL which will setup their Cloudron with license/subscription
            • We can take this further and ask them for DNS credentials here and put them inside cURL as well.

          I think so far we have resisted making changes to the flow. But what do others think?

          marcusquinnM 1 Reply Last reply
          2
          • girishG girish

            On a related note, @nebulon and I have wondered if we should change the setup flow of Cloudron. I think people are very accustomed to just "Sign up" on a website, which cloudron does not even have (have you noticed 🙂 ?)

            So, an alternate installation flow is:

            • Make people sign up
            • Then they get a unique curl URL which will setup their Cloudron with license/subscription
              • We can take this further and ask them for DNS credentials here and put them inside cURL as well.

            I think so far we have resisted making changes to the flow. But what do others think?

            marcusquinnM Offline
            marcusquinnM Offline
            marcusquinn
            wrote on last edited by
            #5

            @girish Yes, exactly that. It's how any other server manager I've used works.

            Web Design https://www.evergreen.je
            Development https://brandlight.org
            Life https://marcusquinn.com

            1 Reply Last reply
            0
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote on last edited by
              #6

              That indeed would also mean the Cloudron would already come up with the appstore account bound to it, which would be much nicer than now and possibly even pre-setup with a license depending on what the user chooses

              marcusquinnM 1 Reply Last reply
              3
              • nebulonN nebulon

                That indeed would also mean the Cloudron would already come up with the appstore account bound to it, which would be much nicer than now and possibly even pre-setup with a license depending on what the user chooses

                marcusquinnM Offline
                marcusquinnM Offline
                marcusquinn
                wrote on last edited by
                #7

                @nebulon Yup - I think you can make the URL per subscription. And allow creation of free subscriptions to get the URL for people to initialise servers with free or paid ready to go:

                Just needs an "Add Server" button on this page:

                • https://www.cloudron.io/console.html#/userprofile?view=subscriptions

                To save database clutter, you could limit it to adding one free subscription at a time, that needs to be setup and connected before creating another.

                Admittedly, this does make it easy to make lots of free Cloudrons - but, as I understand, they all have to be a unique master URL.

                Web Design https://www.evergreen.je
                Development https://brandlight.org
                Life https://marcusquinn.com

                1 Reply Last reply
                0
                • jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #8

                  I didn't mind the existing flow at all, but sounds like this idea might makes things even easier, which has got to be a good thing, no? 🙂

                  @marcusquinn said in Make the server setup a single URL including the user ID:

                  Admittedly, this does make it easy to make lots of free Cloudrons - but, as I understand, they all have to be a unique master URL.

                  I've not tried it, but could potentially just use a load of different subdomains?

                  I use Cloudron with Gandi & Hetzner

                  LonkleL 1 Reply Last reply
                  1
                  • jdaviescoatesJ jdaviescoates

                    I didn't mind the existing flow at all, but sounds like this idea might makes things even easier, which has got to be a good thing, no? 🙂

                    @marcusquinn said in Make the server setup a single URL including the user ID:

                    Admittedly, this does make it easy to make lots of free Cloudrons - but, as I understand, they all have to be a unique master URL.

                    I've not tried it, but could potentially just use a load of different subdomains?

                    LonkleL Offline
                    LonkleL Offline
                    Lonkle
                    wrote on last edited by
                    #9

                    @jdaviescoates said in Make the server setup a single URL including the user ID:

                    Admittedly, this does make it easy to make lots of free Cloudrons - but, as I understand, they all have to be a unique master URL.

                    In my experience, the people that do this kind of thing never would have paid anyway so I don't think it's too worrisome.

                    1 Reply Last reply
                    1
                    • robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #10

                      Having just set up a new Cloudron subscription for a company, the flow is odd as it doesn't allow for a different person with the payment credentials to handle their part separately.

                      There is no buy button on the website, which everyone seems to expect.

                      This is a barrier to entry for those who need to buy first, then tell their tech people to install it.

                      Conscious tech

                      1 Reply Last reply
                      0
                      • girishG Do not disturb
                        girishG Do not disturb
                        girish
                        Staff
                        wrote on last edited by
                        #11

                        For some background, one main reason for the current flow is that we didn't want people to mistake that Cloudron is "hosting" the dashboard. We also didn't want them to mistake that we have access to their servers. By making the installation flow go through the website, we thought we might mislead people into thinking that way. This is what some of the SaaS control panels do, they have access to the server and also host the dashboard. We don't do either and cloudron.io is really just a place to make payments...

                        Would it be any better if the flow was instead changed to purchase on the website, download some license file and then someone else installs the server as it is right now. Then in App Store view, maybe they can upload the license instead of sign up screen they have now . 🤔

                        cc @luckow 🙂

                        robiR marcusquinnM 2 Replies Last reply
                        0
                        • girishG girish

                          For some background, one main reason for the current flow is that we didn't want people to mistake that Cloudron is "hosting" the dashboard. We also didn't want them to mistake that we have access to their servers. By making the installation flow go through the website, we thought we might mislead people into thinking that way. This is what some of the SaaS control panels do, they have access to the server and also host the dashboard. We don't do either and cloudron.io is really just a place to make payments...

                          Would it be any better if the flow was instead changed to purchase on the website, download some license file and then someone else installs the server as it is right now. Then in App Store view, maybe they can upload the license instead of sign up screen they have now . 🤔

                          cc @luckow 🙂

                          robiR Offline
                          robiR Offline
                          robi
                          wrote on last edited by
                          #12

                          @girish Yes, as long as it allows for delegation and a straightforward application of a lic key for example that is async from corp management.

                          The dashboard confusion is avoided immediately since you provide local install instructions after, not a management dashboard.

                          Conscious tech

                          1 Reply Last reply
                          1
                          • girishG girish

                            For some background, one main reason for the current flow is that we didn't want people to mistake that Cloudron is "hosting" the dashboard. We also didn't want them to mistake that we have access to their servers. By making the installation flow go through the website, we thought we might mislead people into thinking that way. This is what some of the SaaS control panels do, they have access to the server and also host the dashboard. We don't do either and cloudron.io is really just a place to make payments...

                            Would it be any better if the flow was instead changed to purchase on the website, download some license file and then someone else installs the server as it is right now. Then in App Store view, maybe they can upload the license instead of sign up screen they have now . 🤔

                            cc @luckow 🙂

                            marcusquinnM Offline
                            marcusquinnM Offline
                            marcusquinn
                            wrote on last edited by
                            #13

                            @girish kinda makes sense when you explain that. Maybe start with what I said above, then we can see how that website UX can feel.

                            Web Design https://www.evergreen.je
                            Development https://brandlight.org
                            Life https://marcusquinn.com

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search