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

    C2: Insanely Affordable x86-64 Servers

    Scheduled Pinned Locked Moved IT Discussion
    76 Posts 9 Posters 15.0k Views
    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.
    • scottalanmillerS
      scottalanmiller @Alex Sage
      last edited by

      @aaronstuder said:

      I want to be able to have a bunch of 512MB CentOS7 servers.....

      Can anyone think of a good way to do that?

      A bunch? Like how many? Ten, one hundred? What's the end goal? What storage and CPU do you want or need?

      A 1 Reply Last reply Reply Quote 0
      • A
        Alex Sage @scottalanmiller
        last edited by

        @scottalanmiller I use very little CPU or Harddrive Space. What I need is RAM 🙂

        I was thinking about 15 - 20 VMs

        1 Reply Last reply Reply Quote 0
        • A
          Alex Sage
          last edited by

          Basically a hosted home lab

          Basic Web Server
          OwnCloud
          Jumpbox

          Etc

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • A
            Alex Sage
            last edited by

            Hmmmm...

            https://help.ubuntu.com/community/Xen

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

              @aaronstuder said:

              Basically a hosted home lab

              Basic Web Server
              OwnCloud
              Jumpbox

              Etc

              Well. Let's use 20VMs. If you are talking $5 instances, that's going to be $100/mo. You could buy a small server and go to colo for that price.

              1 Reply Last reply Reply Quote 2
              • scottalanmillerS
                scottalanmiller
                last edited by

                For cost effective, a box at home is the best, obviously.

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

                  If you don't want VMs, containers are lighter and faster. So pretty much any system where you can run LXC will do nicely.

                  stacksofplatesS 1 Reply Last reply Reply Quote 4
                  • stacksofplatesS
                    stacksofplates @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    If you don't want VMs, containers are lighter and faster. So pretty much any system where you can run LXC will do nicely.

                    Yup. Exactly what I do on Vultr, and I have a VM at home for LXC. XO runs in LXC and when a new version comes out, Ansible clones it and updates it for me but leaves the old container. I don't have to do any work at all. Then if a bug happens like the recent backup to NFS bug, I just use the old container.

                    1 Reply Last reply Reply Quote 1
                    • A
                      Alex Sage
                      last edited by

                      LXC or LXD?

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

                        @aaronstuder said:

                        LXC or LXD?

                        LXD is an LXC interface.

                        https://linuxcontainers.org/

                        stacksofplatesS 1 Reply Last reply Reply Quote 1
                        • A
                          Alex Sage
                          last edited by Alex Sage

                          With containers I might not need nearly as much RAM 🙂

                          1 Reply Last reply Reply Quote 0
                          • stacksofplatesS
                            stacksofplates @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            @aaronstuder said:

                            LXC or LXD?

                            LXD is an LXC interface.

                            https://linuxcontainers.org/

                            Ubuntu is working on live migration with LXD. That will be awesome.

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Alex Sage @stacksofplates
                              last edited by

                              That will be awesome! How do you backup containers?

                              stacksofplatesS 1 Reply Last reply Reply Quote 0
                              • stacksofplatesS
                                stacksofplates @Alex Sage
                                last edited by

                                @aaronstuder said:

                                That will be awesome! How do you backup containers?

                                Just tar the container folder. You can also do file level backups of the containers. LXC by default stores everything in /var/lib/lxc/ so if you want to restore a file to container1 you could just cp it back to /var/lib/lxc/container1/root/pathtofolder/

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  Alex Sage @stacksofplates
                                  last edited by

                                  @johnhooks Can I do that with the containers running?

                                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                                  • A
                                    Alex Sage
                                    last edited by

                                    Can I run different Distros in containers or just the same as the host?

                                    stacksofplatesS 1 Reply Last reply Reply Quote 0
                                    • stacksofplatesS
                                      stacksofplates @Alex Sage
                                      last edited by

                                      @aaronstuder said:

                                      @johnhooks Can I do that with the containers running?

                                      Which file level restore or using tar?

                                      A 1 Reply Last reply Reply Quote 0
                                      • stacksofplatesS
                                        stacksofplates @Alex Sage
                                        last edited by

                                        @aaronstuder said:

                                        Can I run different Distros in containers or just the same as the host?

                                        You can run different distros. But I think you need to match systemd and init between host and container though.

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          Alex Sage @stacksofplates
                                          last edited by

                                          @johnhooks tar. I assume rsync would work too?

                                          stacksofplatesS 1 Reply Last reply Reply Quote 0
                                          • stacksofplatesS
                                            stacksofplates @Alex Sage
                                            last edited by

                                            @aaronstuder said:

                                            @johnhooks tar. I assume rsync would work too?

                                            I think you have to stop the container to do that. Ya rsync works also.

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