ENGINEERING 4 upvotes 2020

Ask HN: Checklist for highly available bare metal deploy?

4 pts
Hacker News Signal
2020 · Shared by @mstaoru
Ask HN: Checklist for highly available bare metal deploy? by @mstaoru

The Founder's Submission

Direct narrative and submission text authored by @mstaoru on Hacker News:

We're a small startup in Shanghai, China, currently in stealth mode. Our core algorithm is relatively computationally intensive, and better adapted to CPU.

Cloud here is not cheap (comparatively), e.g. a measly on-demand 1 core 1G RAM instance could run up to $23/month + traffic + storage. Prepaid is ~$10.

However, we're able to buy (own) bare metal 2 x 2893v3 (24 cores) + 256G ECC RAM + 5 x 300G 15K drives with a battery-backed hardware RAID for about $1500. Another $60/month for 1U colocation with unlimited power and 10M unlimited link (bandwidth is crazy expensive in China, e.g. dedicated 100M link can cost up to additional $1500/month). I'd say 10 of these should be enough at our scale.

The load is pretty typical web & database flow with some heavy Numpy/Scipy spikes from time to time.

Let's assume that the engineer labor cost is zero.

Could HN recommend some learning resources for minimizing pain with this setup?

Retrospective Overview & Key Insights

Distilled reflections, business mechanics, and tactical takeaways:

In this technical retrospective (2020), @mstaoru shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.

Core Principles for Independent Builders:
1
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
2
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
3
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:

HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.

Community Discussions & Critical Reviews

Key perspectives, counter-arguments, and peer founder insights debated on Hacker News (4 total discussions):

ZZ @zzzcpan Peer Contributor
QU @quaquaqua1 Peer Contributor

Before sending anything to cloud, I test it on a few different machines I have sitting in my office.

Then I sandbox it on some free tier cloud for a sanity check.

If you ever do send it to production on cloud, be ready to pull the plug if it ever goes crazy and wants to give you a crazy bill.

In China, electricity and parts and even land can be cheap compared to USA right? So I think that explains the lack of cloud providers.

Good luck!

HISTORICAL ERA Pandemic Bubble (2020–2022)
COMMUNITY SCORE 4 points
TOTAL DISCUSSIONS 4 comments
TOPICS & TECH STACK: