ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Nginx VM

    IT Discussion
    nginx linux
    13
    78
    3.7k
    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.
    • brandon220B
      brandon220 @black3dynamite
      last edited by

      @black3dynamite Yes. Minimal. I could not find anything that gave a "best practice" on what size disk was needed. I would have been guessing honestly. What about ram?

      black3dynamiteB scottalanmillerS 3 Replies Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite @brandon220
        last edited by

        @brandon220 said in Nginx VM:

        @black3dynamite Yes. Minimal. I could not find anything that gave a "best practice" on what size disk was needed. I would have been guessing honestly. What about ram?

        I have a max allocation of 2GB.

        1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite
          last edited by

          So pretty much my minimal starting point is 20GB storage, 2GB RAM and 1 vCPU.

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • B
            bnrstnr
            last edited by

            My Nginx proxy on Vultr runs on 512MB RAM no problem. Minimal install.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @brandon220
              last edited by

              @brandon220 said in Nginx VM:

              @black3dynamite Yes. Minimal. I could not find anything that gave a "best practice" on what size disk was needed. I would have been guessing honestly. What about ram?

              There isn't one. NGinx just needs a few MB over the base OS. The base OS will account for 99.99% of the disk usage, and Nginx for a trivially small additional amount. You won't even really notice.

              Our Fedora 29 Nginx box uses about 3.3GB of disk. If you used only 4GB, you'd be fine. But why cut it so close in this day and age?

              1 Reply Last reply Reply Quote 1
              • scottalanmillerS
                scottalanmiller @bnrstnr
                last edited by

                @bnrstnr said in Nginx VM:

                My Nginx proxy on Vultr runs on 512MB RAM no problem. Minimal install.

                It's faster if you have more. It'll cache. Here is a unit with excess RAM. I would give 1GB if you have it. Maybe not on cloud, but in a VM...

                # free -m
                              total        used        free      shared  buff/cache   available
                Mem:           3942         392        2038           1        1511        3304
                Swap:          1335           0        1335
                
                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @black3dynamite
                  last edited by

                  @black3dynamite said in Nginx VM:

                  So pretty much my minimal starting point is 20GB storage, 2GB RAM and 1 vCPU.

                  That's what we do. 24GB of storage thin provisioned.

                  1 Reply Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller @brandon220
                    last edited by

                    @brandon220 said in Nginx VM:

                    @black3dynamite Yes. Minimal. I could not find anything that gave a "best practice" on what size disk was needed. I would have been guessing honestly. What about ram?

                    512MB will work. 1GB is better. 2GB is ideal.

                    1 Reply Last reply Reply Quote 0
                    • B
                      bnrstnr
                      last edited by

                      I think the worst part about running with 512MB is installing Fedora. That was painful, even in text mode.

                      scottalanmillerS JaredBuschJ travisdh1T 3 Replies Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @bnrstnr
                        last edited by

                        @bnrstnr said in Nginx VM:

                        I think the worst part about running with 512MB is installing Fedora. That was painful, even in text mode.

                        Really? Been a while since I did it with that little RAM, but I do from time to time and don't remember it being any different.

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          bnrstnr @scottalanmiller
                          last edited by

                          @scottalanmiller said in Nginx VM:

                          @bnrstnr said in Nginx VM:

                          I think the worst part about running with 512MB is installing Fedora. That was painful, even in text mode.

                          Really? Been a while since I did it with that little RAM, but I do from time to time and don't remember it being any different.

                          Idk if it was just the process on Vultr with the custom ISO, or what, but it was bad. I think the last time I did it was Fedora 27, so it's definitely been a while.

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @bnrstnr
                            last edited by

                            @bnrstnr said in Nginx VM:

                            @scottalanmiller said in Nginx VM:

                            @bnrstnr said in Nginx VM:

                            I think the worst part about running with 512MB is installing Fedora. That was painful, even in text mode.

                            Really? Been a while since I did it with that little RAM, but I do from time to time and don't remember it being any different.

                            Idk if it was just the process on Vultr with the custom ISO, or what, but it was bad. I think the last time I did it was Fedora 27, so it's definitely been a while.

                            Oh, custom ISO. Maybe I've not tried that in a few versions.

                            B JaredBuschJ 2 Replies Last reply Reply Quote 0
                            • B
                              bnrstnr @scottalanmiller
                              last edited by

                              @scottalanmiller said in Nginx VM:

                              @bnrstnr said in Nginx VM:

                              @scottalanmiller said in Nginx VM:

                              @bnrstnr said in Nginx VM:

                              I think the worst part about running with 512MB is installing Fedora. That was painful, even in text mode.

                              Really? Been a while since I did it with that little RAM, but I do from time to time and don't remember it being any different.

                              Idk if it was just the process on Vultr with the custom ISO, or what, but it was bad. I think the last time I did it was Fedora 27, so it's definitely been a while.

                              Oh, custom ISO. Maybe I've not tried that in a few versions.

                              That's the only way to get true minimal right?

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • brandon220B
                                brandon220
                                last edited by

                                Thanks for the info. I normally use 2G of ram and 2vCPU on most Fedora installs. I will give it a go. I was mostly unsure of how much resources were used between the proxy and the back-end server. Seems like it would be more but that is why I'm asking.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @brandon220
                                  last edited by

                                  @brandon220 said in Nginx VM:

                                  I normally use 2G of ram and 2vCPU on most Fedora installs.

                                  That's a lot. We use 1 vCPU for most installs, even in production. 2GB of RAM if you have lots of spare, maybe. But might be a little high for all systems.

                                  brandon220B 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @bnrstnr
                                    last edited by

                                    @bnrstnr said in Nginx VM:

                                    @scottalanmiller said in Nginx VM:

                                    @bnrstnr said in Nginx VM:

                                    @scottalanmiller said in Nginx VM:

                                    @bnrstnr said in Nginx VM:

                                    I think the worst part about running with 512MB is installing Fedora. That was painful, even in text mode.

                                    Really? Been a while since I did it with that little RAM, but I do from time to time and don't remember it being any different.

                                    Idk if it was just the process on Vultr with the custom ISO, or what, but it was bad. I think the last time I did it was Fedora 27, so it's definitely been a while.

                                    Oh, custom ISO. Maybe I've not tried that in a few versions.

                                    That's the only way to get true minimal right?

                                    Correct. The only way to get a true "anything" that isn't the cloud hosts' custom install.

                                    1 Reply Last reply Reply Quote 0
                                    • brandon220B
                                      brandon220 @scottalanmiller
                                      last edited by

                                      @scottalanmiller Ok. I'll try scaling back a bit and see how it goes.

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in Nginx VM:

                                        @bnrstnr said in Nginx VM:

                                        @scottalanmiller said in Nginx VM:

                                        @bnrstnr said in Nginx VM:

                                        I think the worst part about running with 512MB is installing Fedora. That was painful, even in text mode.

                                        Really? Been a while since I did it with that little RAM, but I do from time to time and don't remember it being any different.

                                        Idk if it was just the process on Vultr with the custom ISO, or what, but it was bad. I think the last time I did it was Fedora 27, so it's definitely been a while.

                                        Oh, custom ISO. Maybe I've not tried that in a few versions.

                                        Yes, using the ISO (any) of fedora 28+ is slower than hell on 512 RAM.

                                        1 Reply Last reply Reply Quote 2
                                        • JaredBuschJ
                                          JaredBusch @bnrstnr
                                          last edited by

                                          @bnrstnr said in Nginx VM:

                                          I think the worst part about running with 512MB is installing Fedora. That was painful, even in text mode.

                                          How do you get text mode on Fedora 28+ I don't see the menu choice.

                                          Note: I never bothered to even Google. I just let the install chug along and do something else.

                                          B 1 Reply Last reply Reply Quote 0
                                          • brandon220B
                                            brandon220
                                            last edited by

                                            I always use the NetInstall and do minimal. Don't see any reason not to.

                                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post