ThingWorx WebSocket-based Edge MicroServer (WS EMS) and Lua Script Resource (LSR) > WS EMS and ThingWorx Platform > Deployment
  
Deployment
Once you have properly configured and integrated the WS EMS and Lua Script Resource (or your custom application), you can deploy them in one of the following ways:
Embedded Deployment — Integrate the WS EMS and Lua Script Resource (or your custom application) directly into the application software stack of the edge device.
Tethered Deployment — Deploy the WS EMS to a simple black-box that connects to the diagnostic and sensor ports of an intelligent device. Deploy the Lua Script Resource or your custom application either on the same black-box, or on the intelligent device.
Networked Gateway Deployment — Deploy the WS EMS on a simple server appliance that exists on the same network as a set of intelligent devices (for example, sensor networks or clusters of network-capable equipment),. Then, deploy the Lua Script Resource or your custom application on other hardware on the same local network.