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. Support
  3. New Hetzner Server Installation Best Practices

New Hetzner Server Installation Best Practices

Scheduled Pinned Locked Moved Solved Support
hetznerresourcesinstallation
6 Posts 4 Posters 425 Views 4 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.
  • visampV Offline
    visampV Offline
    visamp
    wrote on last edited by joseph
    #1

    Hello,

    I am new to this and wanted to ask a couple questions. I am planning on installing at Hetzner and using a domain I picked up through Cloudflare. There is no one-click install, but I am not sure that would be the best idea for me regardless to not know what's going on fully.

    I understand this script is all I need to run on the latest version of Ubuntu LTS, which right now is 24.04.

    wget https://cloudron.io/cloudron-setup
    chmod +x ./cloudron-setup
    ./cloudron-setup
    

    My question is twofold:

    • Since my plan is to use Cloudron for my own company and in the future roll out to clients we have, is it wiser for me to go the route of a dedicated vCPU or a shared VCPU?
      6065e0fb-2217-45c6-bc74-1b38872503d3-image.png
    • Second, I want to make sure that I secure this as best as we can. Should I, or should I not, 1. disable the root user, 2. setup the non-root user and enable its keygen, 3. install Fail2Ban, and/or 4. install Crowdsec BEFORE I go through the installation as described with the wget command? Should I do this after I install Cloudron or does Cloudron do some of these items itself? Are any of these four steps here unnecessary?

    Thank you for the help in advance. If there is anything that a NEW user should ask but I am missing here, please let me know where to look for insight. Cloudron seems like the best solution for me right now, but I just want to make sure I get the initial install done right so that I can focus on deploying the apps and not on the integrity of my initial installation.

    Matt

    BrutalBirdieB 1 Reply Last reply
    1
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #2

      Hi and welcome here!

      CPU wise this very much depends on your use-cases and which apps you will install. This is rather impossible to tell upfront. I would start with a smaller and more cost effective setup (so probably vCPU) and then scale this if needed later.

      For the second question, we have some docs at https://docs.cloudron.io/security/#securing-ssh-access how to do this. Generally it doesn't matter if you install Cloudron first and then set those things. Overall just be cautious to only install packages very selectively and only if you know what will happen via apt. The default Cloudron installation will already lock down the firewall and also enables automatic security updates.

      1 Reply Last reply
      3
      • visampV visamp

        Hello,

        I am new to this and wanted to ask a couple questions. I am planning on installing at Hetzner and using a domain I picked up through Cloudflare. There is no one-click install, but I am not sure that would be the best idea for me regardless to not know what's going on fully.

        I understand this script is all I need to run on the latest version of Ubuntu LTS, which right now is 24.04.

        wget https://cloudron.io/cloudron-setup
        chmod +x ./cloudron-setup
        ./cloudron-setup
        

        My question is twofold:

        • Since my plan is to use Cloudron for my own company and in the future roll out to clients we have, is it wiser for me to go the route of a dedicated vCPU or a shared VCPU?
          6065e0fb-2217-45c6-bc74-1b38872503d3-image.png
        • Second, I want to make sure that I secure this as best as we can. Should I, or should I not, 1. disable the root user, 2. setup the non-root user and enable its keygen, 3. install Fail2Ban, and/or 4. install Crowdsec BEFORE I go through the installation as described with the wget command? Should I do this after I install Cloudron or does Cloudron do some of these items itself? Are any of these four steps here unnecessary?

        Thank you for the help in advance. If there is anything that a NEW user should ask but I am missing here, please let me know where to look for insight. Cloudron seems like the best solution for me right now, but I just want to make sure I get the initial install done right so that I can focus on deploying the apps and not on the integrity of my initial installation.

        Matt

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by BrutalBirdie
        #3

        @visamp
        With Hetzner, try to gauge your Cloudron project.
        How much will happen on that instance? Will you start small and grow or do you already have an app stack in mind?

        Many customers of mine want to start small, so shared vCPU and CX22 which can be scaled up as needed.
        If at some point the normal scaling comes to a threshold where a dedicated server is less expensive then a Cloud server we switch to that.
        The Cloudon backup function makes it very easy to fully migrate between servers and providers (not needed when upscaling).

        Just one thing to keep in mind! IP reputation for Mail!
        If you have to migrate from Cloud to dedicated Hardware, do so with some time ahead since almost all IPv4 addresses have been used before and have a "bad" reputation.

        Like my work? Consider donating a drink. Cheers!

        jdaviescoatesJ 1 Reply Last reply
        6
        • J joseph marked this topic as a question on
        • BrutalBirdieB BrutalBirdie

          @visamp
          With Hetzner, try to gauge your Cloudron project.
          How much will happen on that instance? Will you start small and grow or do you already have an app stack in mind?

          Many customers of mine want to start small, so shared vCPU and CX22 which can be scaled up as needed.
          If at some point the normal scaling comes to a threshold where a dedicated server is less expensive then a Cloud server we switch to that.
          The Cloudon backup function makes it very easy to fully migrate between servers and providers (not needed when upscaling).

          Just one thing to keep in mind! IP reputation for Mail!
          If you have to migrate from Cloud to dedicated Hardware, do so with some time ahead since almost all IPv4 addresses have been used before and have a "bad" reputation.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by jdaviescoates
          #4

          @BrutalBirdie said in New Hetzner Server Installation Best Practices:

          Just one thing to keep in mind! IP reputation for Mail!
          If you have to migrate from Cloud to dedicated Hardware, do so with some time ahead since almost all IPv4 addresses have been used before and have a "bad" reputation.

          I think this is slowly getting better because Hetzner a making it slightly harder to sign-up as new customers for the cloud offering, but yes!

          As soon as you've got your VPS, and before bothering to install Cloudron, I'd recommend checking your IP on e.g. https://mxtoolbox.com/blacklists.aspx to see if it's on blacklists. If it is I'd probably just cancel it and get another one (easier than getting your IP off of the blacklists). And/ or contact Hetzner about it to see if they can asign a different IP or help get the IP of the blacklists.

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          2
          • visampV Offline
            visampV Offline
            visamp
            wrote on last edited by
            #5

            Thank you all so much. This is extremely helpful and will guide how I set up things. I appreciate better now that you can migrate very easily with Cloudron. So that part doesn't give me any reservations.

            I didn't think of email and blacklists so thanks for pointing out a blindspot.

            One more quick question. Do you recommend installing CrowdSec or not? Maybe it's overkill?

            BrutalBirdieB 1 Reply Last reply
            1
            • visampV visamp

              Thank you all so much. This is extremely helpful and will guide how I set up things. I appreciate better now that you can migrate very easily with Cloudron. So that part doesn't give me any reservations.

              I didn't think of email and blacklists so thanks for pointing out a blindspot.

              One more quick question. Do you recommend installing CrowdSec or not? Maybe it's overkill?

              BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote on last edited by
              #6

              @visamp said in New Hetzner Server Installation Best Practices:

              Do you recommend installing CrowdSec or not? Maybe it's overkill?

              I had it installed once, looked at pretty graphs for maybe 4–5 days. Then I forgot it, re-setup the server and did not install it again.
              So, I can not even tell you if it was helpful or not.
              But what I can say is, no one here really uses crowdsec, nor maintains support for it with cloudron.

              Good thing is, backup or snapshot, try it, decide for yourself, rollback if it is not to your liking. 🙂

              Like my work? Consider donating a drink. Cheers!

              1 Reply Last reply
              2
              • J joseph has marked this topic as solved on
              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