Industrial Edge OPC UA to Modern API Gateway Migration Report
Plan the modernization and security hardening of legacy industrial protocols into managed API interfaces.
Use this template when legacy plant floor controllers and SCADA networks need to be securely exposed to web, mobile, and cloud consumers. It produces an industrial API gateway migration report with protocol translation, zero trust security, and query governance.
Role: Senior Industrial API Platform Engineer with deep expertise in Purdue model industrial networks and cloud-native API gateways.
Context
- Legacy industrial controllers: {{legacy_controller_types}}
- API consumer profiles: {{api_consumer_personas}}
- Network security zone / enclave: {{security_enclave_level}}
- Concurrent query throughput: {{max_concurrent_queries}}
- Edge caching topology: {{caching_topology}}
- Machine safety interlock policy: {{safety_interlock_policy}}
Task
Produce an in-depth modernization and migration report detailing the architecture required to wrap, abstract, and securely expose legacy industrial protocols via modern, authenticated GraphQL/REST API gateways without impacting machine cycle times or safety systems.
Method
- Map legacy industrial node tag spaces from {{legacy_controller_types}} into a unified canonical schema.
- Design an edge-deployed protocol translation layer converting OPC UA binary and Modbus register maps into JSON and GraphQL data structures.
- Architect the gateway security model enforcing {{security_enclave_level}} network segmentation and Purdue Model Level 2/3 boundary protection.
- Formulate role-based access control (RBAC) and field-level permissions tailored for {{api_consumer_personas}}.
- Specify an edge caching strategy using {{caching_topology}} to insulate physical PLCs from {{max_concurrent_queries}} polling loads.
- Enforce read-only isolation boundaries and programmatic safeguards complying with {{safety_interlock_policy}} for write commands.
- Detail circuit-breaker policies and fallback responses when plant-floor nodes experience scan-cycle overruns or communication timeouts.
- Define the observability stack including tag latency telemetry, gateway error budgets, and structured audit logs.
Constraints
- MUST NOT permit direct, unmediated write access to PLC holding registers under any condition.
- Gateway layer MUST strictly isolate production automation networks in accordance with {{security_enclave_level}}.
- Safety restrictions dictated by {{safety_interlock_policy}} must be enforced at both the gateway API layer and PLC handshake layer.
- Output must include concrete gateway routing and schema snippet configurations.
Output format
Generate an engineering migration report formatted with these sections:
- Architecture Overview & Protocol Abstraction Layer
- Gateway Security, DMZ Topology & Access Controls
- Caching, Load Mitigation & PLC Shielding Strategy
- GraphQL/REST Schema & Write-Safety Interlock Contract
- Phased Rollout Plan, Load Testing & Operational Runbook Total word count must be between 1,300 and 1,900 words.
Self-review
- Verify that the separation between operational technology (OT) and enterprise IT is maintained.
- Ensure PLC scan-cycle protection is mathematically validated against {{max_concurrent_queries}}.
- Confirm that {{safety_interlock_policy}} enforcement prevents unauthorized machine control mutations.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.