• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle


  • Everyone else has described the complications that a Mac mini would have. So why not consider something else? Lenovo, HP, and Dell make 1l ultra small form factor PCs and they’re pretty cheap on eBay. They’re also low power. Search for Tiny Mini Micro to find information.

    I have three Lenovo Thinkcentre machines - two with 32gb RAM and one with 64gb RAM - running my Proxmox VE cluster. Highly recommend using those small machines instead of a Mac mini.









  • Look up 1L mini PCs - Dell, Lenovo, and HP have similar one liter mini PCs that would’ve been used as a lightweight frontend in offices. They are easy to find on eBay and can be pretty cheap.

    For example, my lab at home consists of three Lenovo Thinkcentre tiny machines. I bought them off eBay for $60-80 USD. They each came with a 500gb HDD and 8gb RAM. I have since upgraded them all to a 500gb NVME, 500gb SSD (they have a 2.5" drive bay), and 32gb of RAM. They run as a Proxmox VE cluster.

    I think I might have $500 USD into the entire setup, including my 10" wide rack enclosure.



  • Turn on SSH (text) and VNC (GUI, like Windows RDP) on L2, place wherever you want. Access it remotely to run whatever. Install and use samba to create a file share for your videos and music. Whenever you want to host a website, install apache or nginx as the host software.

    If/when you use it to host a website, make sure to harden the security on it. Block SSH and VNC through your router firewall completely so the server cannot be accessed from outside. Block SSH for the root user. Install something like fail2ban to prevent anyone who manages to reach the server from trying passwords endlessly.


  • Just a quick list.

    • Apple actively makes device designs more difficult to repair. Everything is either glued or soldered together.
    • They purposely make it more difficult to get tools and parts. Some tools are proprietary.
    • Performance per dollar is terrible. The better, slightly more repairable machines cost a ton of money. Spend the same amount of money on a regular PC and you would have a beast of a machine.
    • Apple sues and/or attacks anyone who tries to help people repair their devices.
    • They purposely push out OS changes that make older devices less usable.

    That’s not even including the treatment of employees or condition of the factories where Apple devices are built. I don’t know as much about that. But I can definitely comment on the above after managing iPads and Macbooks in a corporate environment.



  • I totally missed that you have an uncontainerized service. Can you run the service directly on the hardware host (safely)? If so, here’s how I would probably run it considering your memory constraints:

    1. Install Debian
    2. Set up the uncontainerized service directly on the host.
    3. Install Docker directly on the host as well.
    4. Spin up the containers for everything else.

    Not the cleanest/most separated answer but it would reduce the memory load of additional layers of host/VM/containers. If this isn’t storing any sensitive data or being directly exposed to the internet that should be fine.

    If you are dealing with sensitive data or exposing to the internet, I would consider your original plan of Proxmox VMs to separate everything but see if you can add additional RAM to help. Also consider installing something like fail2ban on every host and VM.



  • jecht360@lemmy.worldtoSelfhosted@lemmy.worldHelp me choose my setup, please!
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    1 year ago

    In your scenario I don’t think I’d use Proxmox as you’re going to run into issues with lack of RAM. I think you’re going to have issues running out of memory either way though. Running the whole machine as a Docker node would probably be more memory-efficient than having the overhead of running separate VMs under Proxmox.

    NGINX should run fine as a container. There’s even an official build available on Docker Hub.