End-to-End Edge Architecture
local graph
Chapter 5 — End-to-End Edge Architecture
Section titled “Chapter 5 — End-to-End Edge Architecture”Often, we come across solution architectures that encompass every aspect of edge computing, from the enterprise all the way to the far-edge device. Chapters 3 and 4 laid the groundwork to discuss such end-to-end edge architectures, which include compute nodes of different sizes and capabilities, analytics done at various points, storage options of all the generated data, and, finally, the network. A solution architect has to take into account those macro components plus factor in types of devices and their form factors, the applications that get deployed on the edge devices, management and monitoring options, and security aspects.
You come across such end-to-end edge architectures in many industries, from automotive manufacturing to healthcare to logistics to large retail. What makes such architectures interesting is the kind of data that is generated by the edge devices and the scale of the entire solution.
In this chapter, we will explore some specific industry edge architectures and learn how they integrate existing networks with 5G technology. We will take a look at the following topics:
- IT and OT convergence
- AI and Edge Computing
- Industrial Edge Scenario
- Manufacturing scenario
- Retail edge scenario
- Retail store scenario
- Edge reference architecture
- Edge and distributed cloud computing
IT and OT convergence
Section titled “IT and OT convergence”IT and OT have always been at odds, and with the push to digital transformation, the roles have overlapped even more, causing more friction. OT is traditionally focused on controlling and monitoring processes in the enterprise, such as in the warehouse or factory shop floor, where they deal with a heterogeneous environment consisting of different types of equipment and devices. IT, on the other hand, deals with a more homogeneous environment of systems and the management of the same.
It is often said IT is about the business, while OT is the business. Security, organizational siloes, and cultural barriers notwithstanding, IT and OT need to work together for the good of the company, especially in this era of digital transformation. For a business to drive efficiency, make productivity gains, and eventually increase profitability, there needs to be IT and OT convergence. In an edge computing paradigm, IT and OT should be the yin and yang of a business. See Figure 5*.1*:

Figure 5.1 – IT and OT convergence facilitated by edge computing
OT brings its vast experience with supervisory control and data acquisition (SCADA) systems, programmable logic controllers (PLCs), hydro-mechanical units (HMUs), and manufacturing execution systems (MES). IT understands software and IT-related platforms such as the cloud, databases, enterprise resource planning (ERP) tools, and so on. But there are some common components such as edge devices, data, and, above all, security that both teams have to deal with, and that’s where we see them needing to work together.
As mentioned, edge and IoT are bringing IT and OT closer. In fact, we can now make the case that there is a lot more convergence and cooperation because applications such as video analytics, health monitoring, logistics tracking, and digital farming deployed on a global network of devices and systems have broken down the perceived walls. From managing these devices and sensors to deploying applications on them, everyone responsible for maintaining security in these environments has forced this convergence of IT and OT. In this digital era, converged IT-OT infrastructure will need to connect with various production-floor machines or warehouse systems or to devices that extend beyond the walls of the traditional data center (DC) and deliver analytics, monitoring statistics, and other client-side services to customers in real time. Edge computing provides a common or unified platform for teams to both work in and bring their expertise to solve business problems and demonstrate value within the enterprise and to their external clients.
AI and edge computing
Section titled “AI and edge computing”This is yet another type of convergence, that of AI and edge computing. Certain applications, such as autonomous vehicles on the road, healthcare monitoring, and industrial robots in an assembly line, require immediate responses because they do real-time analysis and are faced with making quick decisions. This is where deploying AI algorithms at the edge comes in because it brings intelligent decision-making to the edge and reduces the need to transfer data to central servers.
We talked about deploying AI models to the edge, but the training and retraining of those models are done on the enterprise edge or the regional edge and typically not done at the far edge. Even the deployment and management of these AI models across a large number of edge devices has its own challenges of scale and consistency. Not all devices are created equal, and neither are the AI models. Solution architects must be cognizant of the form factor of the edge devices, the constraints they have, and the size and requirements of the AI models.
The convergence of AI and edge computing is undoubtedly a significant step forward in IoT and real-time decision-making. However, several challenges must be addressed to realize its full potential. The deployment and management of AI models across potentially thousands of edge devices present scalability, consistency, and maintainability challenges. Figure 5*.2* shows the flow of data from the far-edge devices, after inferencing, sent to storage in the layers to the right, and the AI model building and training being done where there is more compute and storage then deployed onto the edge devices:

Figure 5.2 – AI model life cycle in edge computing
Inferencing at the edge in real-time or edge analytics in near real time is possible thanks to AI at the edge – specifically, AI applications deployed on the edge devices. The following chapter, Chapter 6, talks about dealing with all the data that is generated or collected at the edge. Suffice it to say that a lot of data is required to train AI models, which means all that data has to be stored somewhere, and, as shown in Figure 5*.2*, some of it can be stored in the enterprise edge or it can all be sent for storage in the enterprise cloud.
We would be amiss to not mention the hardware advancements that have played a key role in bringing AI to the edge. Smaller yet more powerful processors are now available that are capable of running complex AI models at a much lower cost. Simultaneously, ML algorithms are more optimized now, and the processing power required for modeling and training fits in the constrained edge devices. Also, model training and pruning techniques are more efficient now, which makes it possible to run these AI algorithms on edge devices.
Solution architects must be mindful of the size of ML models that can be deployed on the devices. Not only do the models have to be small in size, but they have to be so designed that they perform a limited set of AI tasks efficiently. Chapter 6 talks about using data to build ML models, and Chapter 8 discusses the deployment operations of these AI models at the edge.
Industrial edge scenario
Section titled “Industrial edge scenario”This scenario was briefly discussed in Chapter 4. Many enterprises continue to use 4G or Wi-Fi connectivity within their premises, but many devices rely on wired connectivity. For example, industrial systems continue to use PLCs because they are ruggedized, reliable, and cost-effective. PLCs and human-machine interfaces (HMIs) are being combined with edge computing technologies to provide better control and analytics. Nowadays, edge controllers, as shown in Figure 5*.3*, are providing PLC functions and more by way of monitoring applications and optimizing energy usage:

Figure 5.3 – Example edge controller augmenting PLC system
Figure 5*.3* shows the components of an edge controller. The traditional control logic engine continues to run on a real-time operating system (RTOS) because they are very efficient and provide predictable latencies, meaning function calls are guaranteed to return within a specific timeframe. Both RTOS and other OSes, such as Linux, are run on a virtualization layer on purpose-built hardware. Containerized edge applications make up the new software technology that applies to industrial systems to help enterprises offer new services. These controllers allow companies to deploy newer applications and get better insights on the shop floor while continuing to operate on existing underlying automation systems.
Edge controllers work in conjunction with existing PLC systems to optimize assembly-line performance and energy usage and monitor machinery health. From an edge computing perspective, the edge controller is used to gather data and provide additional analytics and visualization, even video, as and when needed.
When it comes to using edge controllers, the subtlety of OT and IT convergence should not be lost on the solution architect here. OT teams, because of their knowledge and experience, will want to continue to have control and decision-making over the hardware used in these edge controllers while they defer software-level decisions to IT.
Source: https://www.controleng.com/articles/edge-control-evolution/
Manufacturing scenario
Section titled “Manufacturing scenario”In an effort to make the manufacturing process more efficient, we see assembly-line robots, warehouse robots, acoustic calibrators, and industrial cameras inspecting flaws on the manufacturing line becoming more commonplace in the realm of industrial automation. From an edge computing perspective, these are all edge devices that run applications specific to the tasks they perform. We will look at a scenario that uses AI to detect anomalies or flaws in robotic welding, with the ultimate goal of preventing assembly-line stoppage. Typically, such quality checks are done manually by the quality control (QC) team, which adds time delays and could be costly.
The four groups of components in this scenario are:
- The devices, including robotic welding components and ruggedized cameras on the shop floor
- The edge-related platform components in the enterprise
- 5G networking components and software
- Services in the enterprise cloud
Enterprises have different options when it comes to networking. They can work with communications service providers (CSPs), partner with telcos, or get all the services from a hyperscaler. Before going any further into the architecture, we want to point out that there are two deployment options when it comes to rolling out 5G – public and private. Table 5.1 lists the characteristics of public 5G and private 5G without getting into the minutia:
| Category | Public 5G | Private 5G |
|---|---|---|
| Consumer of network | Public 5G wireless networks offer the same level of service and security to all customers, businesses, and consumers that are on the network, other than slicing. We will refer to the public network as being owned by a mobile network operator (MNO), also referred to as a CSP. In the case of the public 5G network, the 5G spectrum is owned by the MNO/CSP, and the management of the network and service is also their responsibility. | Private 5G wireless networks are operated privately by a group, a company, or government agencies. They create a more secure wireless experience and are protected at busy times. Some examples where private 5G networks are deployed are manufacturing facilities, retail locations, shipping ports, airports, hospitals, defense bases, and so on that require secure, predictable performance. |
| Security and isolation | The security risk is higher and comes from the public sharing the network. Also, when the network is busy, it could impact all users equally. | These networks are the most secure because there is connectivity to the public network and the enterprise has full control of it. |
| Size of the network | These networks are typically built to serve millions to hundreds of millions of subscribers, hence the scale is many times larger than private networks. The design and deployment of these networks are much different than with private 5G networks. | The networks are typically small and deployed in one or more locations of an enterprise, and can be owned and operated by the enterprise, or can be deployed and managed by systems integrators (SIs) and managed SPs (MSPs). |
| Integration | It is a distributed architecture when deploying public 5G networks on a hybrid cloud platform. | Private 5G networks can be isolated from the public 5G network, or some enterprises may integrate with the public network of MNO/CSP for mobility and roaming outside the enterprise location/campus. |
Table 5.1 – Characteristics of public 5G and private 5G
In this particular instance, we have chosen to describe the option where the auto manufacturing company has decided to work with a hyperscaler for all its 5G networking needs. They have decided to set up a private 5G environment on-premises where along with the centralized unit (CU), the distributed unit (DU) and radio unit (RU) are the 5G core. Hence, there are no components in the SP column and no tasks, per se, for the CSP. See Figure 5*.4*, which depicts the topology of the proposed solution:

Figure 5.4 – Edge solution architecture in a manufacturing scenario
The architecture flow is explained in Table 5.2. The numbers correspond to those depicted in Figure 5*.4*.
| No. | Description |
|---|---|
| 1 | The network management layer is multi-tenanted and hosted by the hyperscaler in the enterprise cloud. Management and network operations (MANO) plus tasks related to operations support systems (OSS) and business support systems (BSS) are all handled by the hyperscaler from the enterprise cloud, which is the “managed from” location. As mentioned earlier, the private 5G on-premises network provides a secure network for use by all devices in the enterprise. |
| 2 | Initial ML model creation and training require a lot of data and computing power, which is available in the enterprise cloud. This rather large model is deployed on the enterprise edge. |
| 3 | Depending on the size and specifications of the app, edge-related applications are deployed on the edge server and/or on the programmable devices. |
| 4 | A task-specific model, which in this scenario is trained to detect welding flaws, is deployed on the camera, which is watching the output of the robotic welding process. As mentioned, the camera’s task is to look for flaws in the welding, such as overlap, undercut, or porous weld. |
| 5 | Visual data from step 4 is streamed to the application module controlling the robotic welding machine, which could be a neural network (NN)-based inference engine. If a flaw is detected, corrective action is immediately sent to the robotic weld machine, avoiding an assembly-line stoppage and thus reducing material wastage and costs. |
| 6 | Data collected from the vision system is stored on-premises for quick analysis of the current line so that tweaks can be made in the app and/or the model. |
| 7 | All data is sent to the enterprise cloud to maintain history and auditability. As described in step 1, this data is used to train/retrain the model before it is redeployed. Other cloud services, such as monitoring and logging, are also provided by the enterprise cloud. |
Table 5.2 – Flow of the edge architecture for a manufacturing scenario
The scenario just described dealt with finding welding flaws. The same can be applied to other tasks in a manufacturing process, such as painting and inspecting. The applications deployed on edge devices such as cameras or sensors would differ based on the task being performed at that manufacturing station. Next, we look at a scenario in the retail space.
Retail edge scenario
Section titled “Retail edge scenario”Large retail stores in rural locations have a different challenge. Network connectivity in such locations isn’t very good, so it behooves them to work with telcos to deploy a private 5G network in those areas, which will allow them to have high-speed connectivity. In such a scenario, there would be 5G connectivity to the store and even inside the store. Such a remote location scenario is also a perfect setup where the disconnected edge solution could come into play when there are connectivity glitches.
There are many edge use cases in the retail industry thanks to all those cameras that we see in stores and even some that are hidden. Some of the obvious ones we get to see in our daily lives when we shop are security-related: theft prevention at point-of-sale (POS) systems, tracking customer movement, product restocking by way of smart shelves, and so on. Among the new ones are what they call “the store of the future” where you get to customize and try the product before buying or immersive shopping, especially in the realm of beauty and apparel using AR/VR technology.
All this is made possible by a couple of things – data and connectivity. Retailers have realized they can get more – and immediate value – from their own store data by analyzing it in real time and acting on it. Imagine sending a discount coupon to the customer while they pick up two or more of the same item. We know that new technologies such as immersive shopping and real-time visual transactions require high-performance computing and low-latency connectivity. Fast connectivity such as 5G gives retailers the bandwidth they need to offer these new technologies. Imagine being able to hold your mobile phone up and the camera shows the store display, highlighting the different merchandise on sale.
Retail store scenario
Section titled “Retail store scenario”Whether it is a grocery store or retail merchandise store, edge-/IoT-related solutions are everywhere. Temperature sensors on display freezers, cameras on self-checkout registers, and high-definition shelf monitoring camera systems are some of the devices you see in stores. The four groups of components we described in the previous scenario are also applicable here.
We mentioned different networking options available to enterprises. In this scenario, we describe the option where a grocery store chain is working with a telco to bring 5G networking to its stores. Specifically, the grocery chain has opted for a 5G network slice. Before going any further into the architecture, here’s a brief on network slicing.
Network slicing
Section titled “Network slicing”Network slicing is the ability to create multiple logical “slices” of a single physical core within the 5G network infrastructure using software-defined networking (SDN). These slices are optimized for specific use cases, types of services, or sets of users. See Figure 5*.5*:

Figure 5.5 – 5G network slicing
SPs also have the option to slice the network in different ways depending on the demands of their customers. Table 5.2 lists the different slicing types:
| Slicing Type | Description |
|---|---|
| Vertical slicing | This type is industry-focused and designed to serve verticals, such as production optimization, manufacturing, retail, healthcare, and so on. Applications cover public safety, IoT, IPTV, and so on. |
| Horizontal slicing | This type is more focused on characteristics the slice offers that can support a wide variety of use cases. The slices are created based on characteristics such as bandwidth for downloads and uploads, latency sensitivity, capacity/density sensitivity, symmetric traffic types, and so on. |
| Static slicing | These are fixed slices that do not change their specifications and are created to cater to specific use cases and capabilities such as M2M and IoT. |
| Dynamic slicing | Allows SPs to deliver slices in real time and on demand. With this type of network slicing, SPs can quickly provide unique deployments and performance thresholds for individual 5G use cases as required by enterprises or consumers. |
Table 5.2 – Network slicing types
Example scenario
Section titled “Example scenario”In our scenario, a telco will be providing a dedicated slice for all grocery stores in the chain and will be responsible for the management and orchestration of the network connectivity to the stores. It is also possible that the grocery chain might use the regional cloud services of the SP to store data from the stores in the region and use that data to train models. See Figure 5*.6*, which depicts the topology of a solution in a grocery store:

Figure 5.6 – Edge solution architecture in a retail scenario
The architecture flow is explained in Table 5.3. The numbers correspond to those depicted in Figure 5*.6*:
| No. | Description |
|---|---|
| 1 | The network management layer is multi-tenanted and hosted by the SP in the regional cloud that is closer to the customer. MANO plus tasks related to OSS and BSS are handled by the SP from the regional cloud, which is the “managed from” location. A 5G network slice is provided as a secure network for use by all devices in the grocery stores. |
| 2 | ML model creation and training requiring a lot of data and computing power are available in the regional network cloud. This model is deployed on the enterprise edge. |
| 3 | Depending on the size and specifications of the app, edge-related applications are deployed on the edge server and/or the programmable devices. |
| 4 | Task-specific and device-relevant models, which in this scenario are visual inspection models, are deployed onto the cameras that are mounted in various locations in the store. As mentioned, these could be security-related, for theft prevention at POS systems, tracking customer movement, or even for product restocking. |
| 5 | Visual data from these cameras is streamed to the application modules that can quickly make inferences and take immediate action. All this is to stop merchandise theft, provide a better customer experience, or provide a personalized shopping touch to in-store shoppers. |
| 6 | Data collected from the vision system is stored on-premises for quick analysis of current shopping trends in the store so that the models can be tweaked in real time and made available in the apps. |
| 7 | Most of the data is also sent to the regional cloud for maintaining history and auditability and can then be sent to the enterprise cloud to get a corporate view across all stores. |
| 8 | Other cloud services, such as monitoring and logging, are provided by the enterprise cloud. |
Table 5.3 – Flow of the edge architecture for a retail scenario
We described an edge solution within a grocery store. One can envision replicating this in department stores or home goods stores because the components in play are very similar: inventory shelves, POS systems, backroom, and so on. In the next scenario, we widen the aperture and include some aspects outside the store.
Edge reference architecture
Section titled “Edge reference architecture”Thus far, most of the discussion has been about edge and 5G components. In this section, an edge scenario is described from an architectural perspective. Cloud and network components, which are “non-edge” components, such as cloud region, availability zones (AZs), load balancers, and other cloud services, are discussed. These components are required to support most edge computing solutions no matter the scenario. Figure 5*.7* shows the cloud components on the right and most of the edge-related components on the left, which would be on-premises:

Figure 5.7 – End-to-end edge reference architecture
In this large grocery store scenario, we make an assumption that a CSP will provide the needed 5G network and a hyperscaler will provide all the other IT-related services. Figure 5*.7* shows three distinct areas going from right to left – the cloud, the public network (which is the internet), and the enterprise network.
The cloud
Section titled “The cloud”Depending on where the customer (in this example, the grocery store chain) is located, the nearest cloud region is typically chosen to get the best response times when accessing the required cloud services. Every hyperscaler has DCs in multiple regions around the world. Often, these are named US-West or US-East, Europe-North, or Asia-Central.
In our example, if this were a grocery store chain in France, it is quite possible the nearest cloud location could be in Frankfurt in the EU-DE region. Cloud regions have zones often referred to as AZs. Depending on the cloud provider, there are one or more AZs in a region. If available, a production deployment would choose three AZs to support high availability (HA), which would be our recommendation. A global load balancer distributes workloads across the AZs.
The customer may choose to deploy bare-metal (BM) servers in the cloud, as they would in their DCs, or opt for a virtual private cloud (VPC), which is more cost-effective. Software and the data required to run are hosted on virtual server instances (VSIs) or virtual private servers (VPSs).
Finally, there is a vast array of cloud services to choose from. The most common ones that are used are security- and observability-related, such as identity and access management (IAM), key management, logging, monitoring, container registry, and so on. And last but not least, there is storage – and plenty of it – in the cloud from object store to block store to file store. Depending on the application’s needs, the solution architect would determine the type of data store to use.
The network
Section titled “The network”Networking was covered in detail in the two earlier scenarios. As already mentioned, in this scenario, we simply assume that a CSP will be providing 5G network connectivity to the business.
A secure virtual private network (VPN) can be used to connect from the cloud to the enterprise network, or the other option is a high-speed direct connection such as Direct Link or Direct Connect. In either case, the network traffic is encrypted, and it does not traverse the public internet. Access from the internet, if needed, is possible via a secure VPN gateway.
Another route into the store’s network would be via the internet for users of the store’s mobile application. Known as buy online, pick up in-store (BOPIS), this access method has become very popular now because many users browse and shop for merchandise using the mobile app, place an order online, and then pick up their order in the store or at the curbside.
The edge
Section titled “The edge”As before, it helps to segregate the backroom from the store and the exterior when it comes to the on-premises enterprise network because the IT hardware components are usually in a secured corner in the backroom and we see far-edge and IoT devices dispersed throughout the store, such as freezers, ovens, POS systems, cameras and more. You can even find cameras outside the store in the parking lot or curbside. We alluded to the fact that many of these high-end cameras have some computing power where visual inferencing applications can run.
The edge devices are managed by the edge cluster/node, which is in the backroom. Other related applications such as ML apps or other analytics apps can also be deployed on these edge nodes. Often, these are containerized applications. Depending on how much data the customer wants stored locally, you will also find one or more data stores, albeit in a smaller form factor. There is a firewall protecting these components, and the only access to this on-premises environment is via an edge router.
As you can see, many components make up an edge solution. And depending on the industry and the use case, more variations in edge devices, compute, network, or storage are possible that solution architects must be mindful of.
Edge and distributed cloud computing
Section titled “Edge and distributed cloud computing”In this chapter, detailed industrial and retail architectures have been discussed, but all the solutions depict a single location. Enterprises can duplicate these solutions in their other branches, stores, or locations. This is where we see a new trend that merges edge computing and distributed cloud computing. Chapter 2 briefly mentioned distributed cloud as one of the new cloud deployment models. We describe it and a corresponding topology in the next scenario.
Distributed cloud computing
Section titled “Distributed cloud computing”In distributed computing, public cloud services are made available in different private physical locations, also known as satellite locations or outposts. These locations are outside the hyperscaler’s facilities and could be on-premises, in another cloud, or even in co-location centers. Distributed cloud computing is not a distributed system.
A distributed system is a collection of autonomous computers that work together to create an impression of a single computer. They share resources and operate concurrently but can fail independently.
The scenario
Section titled “The scenario”Figure 5*.8* shows a managed-from-the-cloud scenario on the right and two remote locations on the left. Plant location A in the top left is deployed in a hyperscaler center, and plant location B in the bottom left is shown as deployed on-premises. This is important to note because the remote locations can both be on-premises or in the cloud. These cloud locations can be a different hyperscaler than the one managed from the cloud:

Figure 5.8 – Distributed cloud and edge architecture
In the distributed paradigm, the same cloud services can be extended out to the edge, meaning the same services are available to both plant location A and plant location B. Imagine an auto manufacturer having multiple locations where different parts are manufactured. They all must adhere to certain specifications while producing different parts that must be assembled together to produce a vehicle. In such a scenario, having access to the same cloud services that control the workflow in the various sub-assemblies would not only maintain consistency across production lines but also provide a single pane of management for the corporate manufacturing department. Plants also have the option to run enterprise applications specific to each location’s requirements.
Now, combine that with edge computing practice, wherein each remote location hosts the edge node or clusters from which edge devices can be managed and edge applications can be deployed onto the devices. These devices, as shown in Figure 5*.8*, can be fixed or mobile robots, assembly-line cameras, and other industrial automation devices. We see this trend continuing to evolve as industries find broader use cases.
Summary
Section titled “Summary”The chapter started out with a discussion of IT and OT convergence, which is beneficial to any business in this digital age. Then, we looked at the biggest driver of edge computing – namely, AI; more specifically, AI applications and models that can now be deployed on edge devices. Moving intelligent inferencing and analysis closer to where data is generated provides businesses with not only speed and efficiency but also addresses security and privacy concerns.
In the latter part of the chapter, two end-to-end edge scenarios were described – a manufacturing scenario and a retail scenario. Such scenarios are applicable in almost every industry, but each solution has its own nuances that solution architects should know. For example, if it is a regulated industry scenario, one must worry about data compliance requirements and data security. In a delivery scenario, whether it is delivery by land, air, or sea, one must know and account for disconnected operations. Lastly, we introduced distributed cloud computing and showed how it complements edge computing.
It is imperative that solution architects address data security in every facet of these edge solutions, be it data at rest, data in transit, or data in use. That topic is covered in detail in Chapter 6.