r/openstack • • Aug 21 '22

Home Openstack

I am interested in creating something for my home. This would include running a plex server, file storage, home automation, stuff like that. Maybe some machine learning training jobs.

I have a few questions.

  1. What's a minimum in terms of hardware for a full non-production cluster that runs well? Preferably lower energy consumption hardware like NUCs.

  2. Can/should I add some of my current hardware into the cluster(5 raspberry pi 4s with 8gb, 2 NAS units)?

  3. Do I need everything right away or can I start minimal and add more nodes over time?

  4. Should the hardware be something like a RAID array, roughly equal power or the weakest will slow everything down?

Apologies if I asked a bunch of nooby questions.

10 Upvotes

10 comments sorted by

View all comments

4

u/Sepherjar Aug 22 '22

I plan to build a desktop that I will install Openstack to run some VMs (I want to practice cloud skills and have a gaming VM), and later buy a workstation to have 2 nodes.

  1. For hardware I'm not sure of what the system requirements should be, but it all depends on how you want to run your cluster. You have the Nova (which should be running in your physical host), Keystone and Neutron components that are needed. Then you have Cinder and Swift (optional components) for Block Storage and Object Storage (these ones I don't know if they can be virtualize or if they should run bare metal), and there are other components for metrics, containers, etc etc.

  2. probably you can, but someone may give you a proper response

  3. since Openstack is meant to build your own cloud, you can start small and then expand later, you just need to set up the hosts with the components you desire (nova for compute hosts, cinder/swift storage for storage)

  4. from my understanding, a raid array will work best, and the bottleneck is the slowest drive you have there. I wanted to install my host in an m2 nvme drive and have some SATA SSDs in a raid array, but looks like the m2 nvme drive will slowdown because of the SATA SSDs, so I think I'll have SATA SSDs only... Still, probably someone can correct me as this will be my very first homelab, and the second PC I've built in my life (first one was 10 years ago)

Also, there is no shame in asking questions, there's shame in not asking them and not learning anything new!

4

u/The_Valyard Aug 22 '22 edited Aug 22 '22

I would use rdo with the standalone role. It's the upstream version of Red Hat OpenStack and can be installed in a VM with 4 vcpu and 16gb of memory.

You can use their CI to fast build it (60 minute install on my laptop)

https://github.com/shiftstack/dev-install.

Basically have Centos or RHEL installed in a VM and point the ci build tool at it, come back in an hour and start playing.

What's cool is dev-install can also stand this up on metal if you want to run non nested VMs, again just have Centos or RHEL deployed on the target.

2

u/red_nibia Aug 22 '22

Any thoughts on if 5 Zimaboards is enough to run a full install?

2

u/_nembery Aug 22 '22

Those should work just fine tbh. Disk I/O will probably be your bottleneck so get the fastest disks you can