this post was submitted on 10 Jul 2024
113 points (93.1% liked)

Selfhosted

40728 readers
353 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I believe this is a slightly controversial topic, at least from what I have gathered so far. Some say its best to leave the server on to spare the life time of the spinning rust. Other seem to prefer to save power and boot the server off each night. So wanted to chip in and hear what folks here do and why do what you do.

Bonus question; Do you guys have a UPS? Is it a must have for a homelab, or does it just depend on the usecase?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 5 months ago (1 children)

No one should be powering off their servers. Thats really not the way to go about anything. Now there’s nothing stopping you from doing that either if you want to and it makes you happy or your life easier.

But if you want a simple answer to a simple question, no, nobody sane is doing that lol

[–] [email protected] -4 points 5 months ago (1 children)

We power off servers in the enterprise all the time and on schedules 😂. Its called saving money.

[–] [email protected] 7 points 5 months ago (1 children)

Uh, in your “enterprise” maybe lol.

[–] [email protected] -3 points 5 months ago (2 children)

In pretty much any enterprise using the public cloud. Everything is auto scaling, so shutdowns when not needed. Dev environments shutdown over night... If you're not shutting down and scaling in the public cloud, you're doing it wrong.

[–] [email protected] 7 points 5 months ago (1 children)

Ok scaling is not what we’re talking about here lol.

[–] [email protected] 6 points 5 months ago (1 children)

I see where your head is at here, but it sounds like you're focusing on containerized items. A lot of people are going to look at you real weird if you think of scaling down a container as equivalent to shutting down a server. We can all see where your mind is going and there is logic there, but it's more akin to closing chrome when you're not using it than it is to shutting down the computer running chrome.

[–] [email protected] 6 points 5 months ago (1 children)

Even physical hardware, if your paying power you can have clusters of physical hardware power up and down based on usage. There is no point in having 10 physical hosts running when the workload for n+1 means 3 servers overnight. With bnc, ipmi, ilo, idrac it will power them up as needed.

[–] [email protected] -1 points 5 months ago (1 children)
[–] [email protected] 3 points 5 months ago

Yup. I run those kind of clusters. But unless your in home datacenter territory, that sort of config isn't likely to happen in self hosted.