Build vs. Buy in IIoT: How Senior Engineers Evaluate Platforms vs. Custom Code
Should your team buy an off-the-shelf IIoT platform or build custom pipelines in-house? Here is the 4-axis framework senior engineers use to evaluate TCO, lock-in, and hybrid architectures.
Every growing manufacturing organization eventually hits the same architectural inflection point: the pilot works on one line, leadership wants to roll it out across 14 plants, and someone in the room asks, "Why are we paying annual per-tag or per-site platform licenses when our software team can just build this in Python, Kafka, and React?"
On the opposite side, a plant controls manager who has watched three "custom internal dashboards" turn into unmaintained abandonware after the lead developer left pushes back: "Because nobody on our team wants to wake up at 2:00 AM to debug a broken Siemens S7 socket driver."
Both perspectives contain hard truths. Junior engineers tend to treat Build vs. Buy as a binary ideological choice—software engineers want to build everything from scratch; OT veterans want to buy a single monolithic suite. Senior IIoT architects know the real answer is neither. They evaluate each layer of the stack by its differentiation, Total Cost of Ownership (TCO), operational risk, and exit strategy—and almost always land on a disciplined Hybrid Composable architecture.
Why "Build vs. Buy" Is Harder in IIoT Than in SaaS
In consumer web or enterprise SaaS, building custom software mostly means orchestrating clean REST/GraphQL APIs, managed cloud databases, and standard OAuth identity providers. Operational technology (OT) breaks those assumptions in four ways:
- Protocol & Legacy Hardware Entropy: A single brownfield factory can contain Allen-Bradley ControlLogix PLCs over EtherNet/IP, legacy SLC-500s on DH+, Siemens S7-300/1500s, Modbus RTU serial meters, BACnet chillers, and proprietary CNC controllers. Writing and maintaining resilient, non-blocking drivers across decades of firmware quirks is thankless, undifferentiated work.
- Intermittent WAN & Determinism: Unlike cloud microservices, edge nodes sit behind flaky plant-floor networks and must survive hours or days of WAN disconnection without dropping timestamped telemetry.
- 24/7 Support Ownership: When a plant historian or MES connector stops logging during third shift, someone has to fix it immediately. If you built it in-house, you are the vendor, the L1 helpdesk, and the security patch team.
- Hidden TCO Beyond Initial Development: As TagoIO's IIoT cost analysis notes, building a modest custom IoT platform typically requires 5–8 engineers working 6–12 months ($500,000–$1,200,000 upfront) before factoring in perpetual security patching, protocol updates, documentation, and on-call SRE overhead.
The Senior Engineer's 4-Axis Evaluation Framework
Before writing a single line of custom code—or signing a five-year enterprise license agreement (ELA)—senior IIoT architects score every proposed component across four concrete axes.
1. Core IP vs. Undifferentiated Heavy Lifting
Ask one blunt question: Does owning this code give our company a competitive advantage?
- Buy (or Adopt Mature Open Source) for Commodity Infrastructure: PLC/OPC UA drivers, disk-backed store-and-forward buffering, RBAC/SSO authentication, basic alarm routing, and time-series compression are solved problems. Writing your own OPC UA subscription manager or SQLite store-and-forward engine rarely creates business value—it only creates maintenance debt.
- Build for Domain-Specific Differentiation: Proprietary process optimization models, custom ERP-to-MES scheduling heuristics, specialized machine-vision defect classifiers, or a customer-facing OEM portal where UX is the product are worth owning in custom code.
2. Five-Year Total Cost of Ownership (TCO) & Opportunity Cost
Licensing quotes look expensive on paper because the price is explicit on one invoice. Custom code looks "free" because engineering salaries are already sunk overhead. Senior leaders model both honestly over a 3-to-5-year horizon:
- Commercial Platform Traps: Watch out for per-tag, per-message, or per-seat pricing models that punish scale. A platform that costs $15,000 for one pilot line can quietly balloon to $600,000/year when you stream 10 Hz vibration telemetry across 20 plants—or lock your data behind proprietary egress fees.
- Custom Build Traps: Factor in bus factor (what happens when the two engineers who wrote your custom Rust/Go ingestion service resign?), opportunity cost (6–18 months spent rebuilding basic alarming instead of delivering yield improvements), and compliance overhead (maintaining IEC 62443 or SOC 2 audit trails on homegrown services).
3. Architectural Decoupling & Exit Strategy (Avoiding Vendor Lock-In)
The biggest mistake buyers make is not buying a commercial platform—it is coupling their entire data model and business logic inside a vendor's proprietary black box.
As Synadia's architectural breakdown of Unified Namespaces explains, modern plants avoid $n^2$ point-to-point spaghetti integrations by publishing structured operational state into a shared, open event backbone (such as MQTT Sparkplug B or NATS) using an ISA-95 hierarchy. When your data contract and namespace are open:
- You can buy an edge DataOps hub (such as HighByte Intelligence Hub) or SCADA gateway (such as Ignition) to handle industrial drivers, store-and-forward, and payload normalization.
- You can swap out downstream historians, BI tools, or custom Python/ML microservices without rewriting a single PLC tag map.
4. Team Topology & Who Owns It at 2:00 AM
Conway's Law rules the plant floor. Never build a Kubernetes-hosted custom ingestion pipeline if the site only has two controls technicians who live in ladder logic and SQL Server. Conversely, if you have a dedicated central DataOps/SRE team supporting 30 global plants, forcing them to click through rigid GUI wizards for complex stream joins will bottleneck delivery. Match the tool to the team that will operate it after commissioning.
The Sweet Spot: Hybrid Composable Architecture
In practice, the highest-performing industrial teams converge on a Buy-the-Plumbing, Build-the-Brains split across the stack:
- PLC/Field Connectivity & Edge Buffering — Buy (e.g., Ignition Edge, Kepware, HighByte): Battle-tested vendor drivers, native store-and-forward, and low maintenance overhead.
- OT Event Bus / Unified Namespace — Buy or Managed OSS (e.g., HiveMQ, EMQX, NATS): Open MQTT/Sparkplug B standards prevent vendor lock-in while decoupling producers from consumers.
- Plant-Floor HMI & Basic OEE — Buy (e.g., Ignition, Grafana + Timescale/InfluxDB): Fast deployment and easy for plant controls technicians to support locally.
- Cross-System Orchestration & ML — Build (Python, SQL/dbt, cloud or edge containers): Encodes proprietary process IP, custom ERP/CMMS workflows, and specialized predictive models.
- OEM Customer Portal — Build (Web stack over open APIs): Differentiated customer experience with zero per-customer SaaS margin erosion.
As AWS and HighByte's reference architectures illustrate, using a site-licensed edge DataOps layer to model and buffer ISA-95 payloads into an open cloud backbone (like AWS IoT Core / SiteWise or Databricks) eliminates fragile custom driver scripts while still letting data engineers build custom ML and predictive maintenance models in Python and SQL.
Red Flags in Architecture Reviews
When reviewing a Build vs. Buy proposal, senior engineers watch for five warning signs:
- "We'll just write a quick Python script to poll Modbus/OPC UA." Quick scripts lack connection pooling, exponential backoff, disk-backed store-and-forward, health heartbeats, and dead-letter queues—and inevitably become permanent production dependencies.
- "This vendor does everything in one closed box." All-in-one suites that lock historical data in proprietary binary formats or charge extra to export via SQL/MQTT will trap you when your analytics needs outgrow their built-in charts.
- No Exit Cost Analysis: Every commercial RFP should answer: If we leave this vendor in three years, how do we migrate our historical data, tag models, and dashboards?
- Ignoring Edge Compute Limits: Deploying heavy custom container stacks onto fanless industrial PCs without automated OTA fleet updates creates a nightmare at 50+ sites.
- Underestimating Brownfield Reality: Assuming every machine already speaks clean OPC UA—when half the floor still needs serial-to-Ethernet gateways or PLC register mapping.
Making the Call as a Senior Engineer
The mark of a senior IIoT engineer is not how much code they write—it is how much reliable operational capability they deliver per engineering dollar and per on-call hour. Buy the undifferentiated industrial plumbing, insist on open data contracts at the namespace boundary, and reserve your team's custom code for the analytics, workflows, and customer experiences that truly differentiate your operation.
Looking for senior IIoT architecture, DataOps, or OT engineering leadership roles? Explore current openings on IIoTjob.
Image Credits:
- Featured Header: Senior systems architects evaluating edge-to-cloud IIoT platform boundaries and custom code trade-offs. Image: AI-generated.
- Decision Matrix Diagram: Senior IIoT decision matrix comparing COTS platforms, hybrid composable architectures, and custom code. Illustration: IIoTjob (original artwork).