Linux / OS Fundamentals Series

🎓 The Linux Infrastructure Department's Capstone Project: Turning a Fictional In-House Developer Platform Into a Portfolio Piece, a "Top 1%" Integrative Exercise

Introduction

This article is part of the Top 1% Series Complete Article Guide. It’s positioned as the capstone project within the Linux Infrastructure Department’s full curriculum.

Prerequisite Knowledge

This hands-on doesn’t teach new techniques. It combines techniques you’ve already mastered in the following lectures and hands-on labs.

The Challenge: A Fictional In-House Developer Platform

You’re an infrastructure engineer at a fictional startup, “KoiKoi Dev.” Until now, in-house engineers have each run several small internal tools (a ticket tracker, a simple dashboard, and similar) on their own individual laptop, creating two problems: sharing URLs is hard, and investigating an incident is hard. Your assignment is to build, with your own hands, an in-house developer platform on a single Linux server, satisfying every one of the following requirements.

graph TB
    Dev["In-House Engineers"]
    subgraph Server["Linux Server"]
        Nginx["Nginx<br/>(reverse proxy)"]
        App1["Ticket Tracker App<br/>(isolated via namespaces)"]
        App2["Dashboard App<br/>(isolated via namespaces)"]
        Firewall["iptables<br/>(restricts unneeded traffic)"]
        Logs["journalctl<br/>(incident investigation)"]
    end
    Dev -->|HTTP access| Firewall --> Nginx
    Nginx --> App1
    Nginx --> App2

Requirement 1: Serve Multiple In-House Tools, Properly Routed, Within One URL Structure

Serve the ticket tracker app and the dashboard app, each at a different path. Make sure the same structure can accommodate more tools as they get added in the future.

Requirement 2: Restrict Unneeded Network Access to the Server With Clear Rules

Deny traffic to any port in-house engineers don’t actually need to access. Be ready to explain which rule you configured, and why.

Requirement 3: Isolate Each Application So They Don’t Affect Each Other

Make sure a bug or heavy load in one application never affects another. Rather than setting up entirely separate physical servers, consider a method that achieves practical isolation on a single server.

Requirement 4: Never Grant an Application More Privilege Than It Needs

Even when an application genuinely needs to perform an operation that normally requires root privilege, such as binding to a privileged port, never casually run it as root or with SUID. Consider a method for granting, concretely, only the privilege genuinely needed.

Requirement 5: Establish a System for Quickly Identifying the Cause When a Failure Occurs

Prepare a procedure letting an operator quickly identify the relevant logs and investigate the cause, when one of the applications stops responding.

Requirement 6: Make Operations So You Can Reliably Confirm a Configuration Change Took Effect as Intended

Build a step into your operational flow for reliably confirming whether a change to Nginx’s or iptables’s configuration actually took effect, whenever you make one.

Deliverable Requirements: Assemble It as a Portfolio

This hands-on’s final deliverable isn’t just a confirmation that the configuration worked. Assemble the following into a repository, such as on GitHub.

This deliverable is exactly the concrete achievement you can present in a job search or as a portfolio. Simply explaining “I built a reverse proxy with Nginx” is far less persuasive than being able to demonstrate that, “under the realistic constraint of a live environment where multiple applications coexist, I designed by combining several techniques, and can articulate the trade-off between isolation and privilege design.”

What a Pro Sees Here (Top 1% Understanding)

“The Ability to Follow Steps” and “the Ability to Design From Requirements” Are Entirely Different Skills

Every hands-on so far has taken the format of following a fixed set of steps: “Step 1, Step 2…” But what actually gets evaluated in real-world work is never the ability to execute a procedure exactly as written — it’s the ability to design, on your own, which techniques to combine and how, starting from given requirements (what this article calls “Requirements 1 through 6”). These two are entirely different skills, despite looking similar. Even having completed every individual hands-on, without the experience of combining them into one coherent server infrastructure design, you’re not yet immediately effective in real-world work. This capstone project is deliberately designed to bridge that gap.

Why This Scenario — “Multiple Apps Coexisting, With Least Privilege”

There’s a reason this hands-on, rather than being a one-off technical demo, is deliberately modeled on a realistic project — one where “multiple in-house tools coexist on a single server.” Most real-world Linux server operation never serves a single application in isolation — it needs to simultaneously satisfy multiple axes at once: isolating multiple applications, restricting network access, minimizing privilege, and investigability during an incident. Knowing Nginx’s basic configuration alone isn’t enough for a real project — you also need to see through to isolation via namespaces, least-privilege design via Capabilities, and incident investigation via journalctl. The ultimate goal of this capstone project is to elevate your knowledge of individual techniques into the ability to see through an entire server infrastructure’s design.

Common Misconceptions and Pitfalls

Troubleshooting Perspective

For this hands-on, design-level rework is the main challenge, more than individual technical troubleshooting.

  1. You think you’ve satisfied the requirements, then later notice a contradiction: Before starting implementation, write up only the design portion of your README.md first, and confirm, at the writing stage, that you’ve satisfied every one of Requirements 1 through 6.
  2. You’ve forgotten the steps from an individual hands-on: Don’t hesitate to go back and reread the linked prerequisite article for each requirement. This capstone tests design skill, not memorization.
  3. You’re not sure how much detail is enough: Use “could I show this README.md to an interviewer I’m meeting for the first time, in a job search, and explain my design decisions?” as your benchmark for completeness.

Summary

Takeaways to Apply Today

  1. Even while learning an individual hands-on, build the habit of asking “under what future requirements would I actually end up using this?”
  2. Beyond technical deliverables, build the habit of articulating the trade-off between isolation and privilege design in your day-to-day work too.

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).