Skip to content
ImagineWorld

Follow-On Topics

node_idnode-book_real-world-edge-computing_chapter-16-follow-on-topics
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num16
chapter_titleFollow-On Topics
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Edge computing is a broad topic. While we will have covered most of the key elements necessary for getting started down the path of a successful production-grade Edge solution, there are several other topics and nuances that are worth exploring. This chapter will discuss other topics of interest that may be covered in other, perhaps future, books.

In this chapter we’re going to cover the following main topics:

  • Fleet management
  • Don’t brick your Edge
  • Air-gapping your Edge
  • Edge and mobile computing
  • Building and maintaining a robust connected Edge

We have provided you with a book full of information on how to build and deploy your Edge solution, leveraging the deployment management provided by the open-source Open Horizon project. This chapter presumes you are familiar with the idea of Edge computing, using containers to structure your solution into a set of composable and distributable components, and how to use Open Horizon to manage your production environment to get the right component to the right place at the right time.

Previously, we covered several advanced topics related to your deployment – such as how to create and deploy AI/ML models for your application, how to secure the otherwise exposed environments at your Edge, and the synergies between Networking and Edge computing. We won’t demand any other technical background from you to appreciate the topics we will cover in this chapter.

We’ve stressed the point throughout this book that your enterprise will likely leverage thousands, if not tens or even hundreds of thousands, of Edge devices and servers. They will come in a variety of form factors and sizes (both in terms of their physical dimensions and their compute capacity), serving a variety of needs and purpose. They will be provisioned across hundreds of locations.

The thing they will have in common is they are running Linux, and will host containers on either Docker, Podman, or Kubernetes.

Your Edge deployment manager (presumably based on Open Horizon) will handle getting the right container to the right place at the right time and keeping them up to date – based on your deployment policies, and without any further intervention.

However, there are other elements of provisioning these systems that must be addressed, including the following:

  • Credentialling the device
  • Imaging the operating system (OS)
  • Provisioning the container runtime (Docker, Podman, or Kubernetes)
  • Interconnecting them (at the physical and low-level networking level)
  • Managing any storage systems attached to these devices
  • Maintaining the hardware and infrastructure

Some of the OS vendors have begun to address these issues as part of their systems. As an example, Red Hat Enterprise Linux (RHEL) has built-in functions to assist with fleet management specifically for the Edge. RHEL has already been updated to support FIDO Device Onboard (FDO) 1 to help provide device attestation and bootstrap OS imaging.

1 See the FIDO Device Onboard (FDO) topic discussed in Chapter 4 for more information about how FDO works with Open Horizon.

See https://www.redhat.com/en/blog/managing-red-hat-enterprise-linux-edge for more information about Red Hat’s view of RHEL at the Edge.

One particularly nasty issue with edge management can occur during device maintenance. Let’s say you have an Edge device at an oil drilling platform in the field – miles from the nearest town, let alone a service center or airport. The device is used to control the drilling operations at that site.

That device has been scheduled to have its OS updated to the latest version or to apply a security patch, but something goes wrong during the update. The OS is partially updated but left in a state that it will no longer be able to run or restart. Your entire drilling operation is out of business, and there is no way to quickly take it into an IT site to be fixed. That can be a costly failure. Your Edge device has essentially become a brick, and further has bricked your drilling operations at that site.

One of the key features we see being added to fleet management is a bootstrapping mechanism that, in these circumstances, will reboot back to a core state that, using something such as FDO, will re-image your machine from scratch.

See https://www.redhat.com/sysadmin/edge-device-onboarding-fdo for more discussion on how RHEL can be used with FDO.

Some industries, such as chemical and petroleum refinement, manufacturing, and energy production, to name a few, have strict requirements that all processing must be performed at that site. This includes operations management. The entire site is isolated from the internet to prevent hacking that could undermine the integrity of their operations. In essence, a networking moat is created around the entire perimeter of the site.

We call this air-gapping that location.

In these cases, the entire Open Horizon management system, including the Management Hub, must be contained entirely within that site.

Fortunately, the IBM Edge Application Manager distribution of Open Horizon has been enhanced to support these environments. It requires the introduction of a bastion host.2 The bastion host then is used to mirror the software images for the products you will use, as well as any container registries you will depend on in the production environment.

2 A bastion host is a dedicated device that does have access to both the Intranet as well as internet. Most air-gapped sites have such a device dedicated for these situations.

The bastion host serves to control access to the external resources you will depend on. It is also used as a place to further virus-check and validate the software components you will be leveraging at your Edge to ensure they have not been infected or tampered with – an additional layer of security for protecting your air-gapped environment.

More information about how to set up an air-gapped installation of IBM’s Edge Application Manager can be found at https://www.ibm.com/docs/en/eam/4.5?topic=installation-installing-ieam-in-air-gapped-environment.

Throughout this book we have discussed various Edge devices such as POS terminals, intelligent cameras, robots, and cars. We’ve never really used smartphones as an example of an Edge device. This oversight is somewhat deliberate, for two reasons:

  1. Both Apple and Android smartphones are designed to assume they are possessed by a single person and managed by that person. That person decides what Apps to include on their phone. Both the Apple and Android smart phone ecosystem is geared to the idea that you go to an online store – either the AppStore or PlayStore, for example – and choose your Apps. You then set those Apps up the way you want to use them. Updates to the Apps or OS are your responsibility to keep up with. Even with automated updates turned on, or if you are working with a corporate-managed program that uses a Mobile Device Manager for automating the security and provisioning of the phone, some amount of user intervention is required.
  2. Neither Apple iOS nor Google Android permit the use of Docker containers. Apps are “containerized” but use a proprietary container runtime and packaging engine – neither of which are OCI compliant, thus preventing the use of a container-management system such as Open Horizon.

These phones and their respective ecosystems are simply not designed to be used in an enterprise or industrial setting as anything other than a personal device.

All that said, conceptually these devices could be a powerful addition to the Edge device marketplace. They run on battery power and are therefore portable. They are radio-connected – with a range of spectrum and protocols, including cellular 4G, LTE, and 5G (with 6G coming), WiFi, Bluetooth, NFC, and even satellite. They have robust compute capacity – including in newer models, with GPUs, TPUs, DPUs, and so on. They have a range of built-in sensors, including cameras, GPS, accelerometers, compasses, temperature, humidity, gravity, barometers, and vibration, and more are coming. In many cases, enterprise contracts with these phone manufacturers make them reasonably inexpensive (given the compute and sensor resources they offer) to deploy in large quantities. In fact, since they are manufactured in such large quantities, their production costs are often lower than other general-purpose equipment.

Wouldn’t it be great if these phones could be mounted over the production line at a manufacturing site and used to perform visual quality inspection? Wouldn’t it be interesting to provision a device on a robotic quadruped, such as Boston Dynamic’s Spot, to provide visual inspection of fire extinguishers or other safety and security equipment at a store warehouse – using Spot to amble through the warehouse while the phone analyzes the equipment it sees; wirelessly transmitting work orders and location information for anything out of place or needing attention? It is not hard to imagine a hundred uses for a mobile phone in the role of an Edge device.

If only the device could host a Docker container.

As it turns out, IBM and Samsung have done some experimental work together to demonstrate exactly that idea. Samsung was able to modify Android to host a rootless version of the Docker runtime. IBM was able to use Open Horizon (actually IBM Edge Application Manager) to deploy containerized workloads to run on the device – using it for everything from quality inspection, facilities inspection, and worker safety, to assembly quality improvements.

You can find more about this work at the following links:

If you too see potential in this idea, we encourage you to reach out to Samsung or IBM to learn more.

Building and maintaining a robust connected Edge

Section titled “Building and maintaining a robust connected Edge”

Chapter 12, Network Connectivity at the Edge, explored the synergies between Edge computing and secure enterprise networking. We refer to this as the connected Edge.

Other than alluding to IBM’s Hybrid Cloud Mesh, we did not cover the specifics of building out that network. Unfortunately, we don’t have the space to cover that in much detail here either. Nonetheless, we will take this moment to make a few key points.

How do software-defined wide area networks (SD-WANs), secure access service edge (SASE), and zero-trust network access (ZTNA) apply to edge computing?

As already discussed, you can’t have an Edge computing solution without a corresponding connected Edge. Likewise, you can’t build a robust connected Edge without some form of Edge computing – at least enough to create secure connections, encrypt network traffic, and to manage failure and congestion between computing nodes and locations.

Fortunately, there a growing number of Edge networking offerings on the market. Beyond IBM’s Hybrid Cloud Mesh offering that we’ve already mentioned, there are other offerings that are worth assessing, including, for example, from Alkira, Arrcus, Aviatrix, Cato, Cisco, Cloudflare, Coresite, Equinix, Fortinet, IBM, Juniper, Turnium, Vapor.io, and Versa, to name a few.

In addition, the Cloud vendors – such as Amazon, Google, IBM, and Microsoft – have offerings that enable networking as a service (NaaS). These services enable you to consume networking infrastructure resources on a subscription basis. In other words, turning the cost of networking infrastructure from a capital expense into an operating expense – which may have certain cash-flow and tax benefits.

However, all these vendor products fit into one of three large groupings. Namely, those explained in the following subsections.

Software Defined Wide Area Networking (SD-WAN)

Section titled “Software Defined Wide Area Networking (SD-WAN)”

SD-WAN focuses primarily on providing connectivity between geographically distributed areas by using software (rather than hardware) for creating and managing those connections. In many cases, SD-WAN has become an alternative to the more ubiquitous MPLS that network providers have typically offered, using an overlay network. An SD-WAN may offer a less-expensive alternative for connecting your Edge locations.

SASE is an architecture principle that combines network connectivity and network security. It was introduced originally as a concept by Gartner to represent a way of solving the growing complexity of Cloud-based computing where the enterprise must contend with both their Cloud properties in addition to their legacy enterprise data centers. These same principles apply to the additional complexity that occurs when computing is extended further to the Edge.

ZTNA is a special form of VPN that create tunnels, not between physical locations, but between the applications hosted at those locations, and based on the authentication and authorization of those applications. ZTNA gets its term – zero-trust – from the idea that you should not always trust the physical connection to protect the variety of co-resident applications that may have a mutual dependence on it.

To make things a little more confusing, these groupings are not necessarily mutually exclusive, with some vendors claiming to support multiple agendas with their offerings. Unfortunately, we are not able to provide much advice regarding these offerings other than to suggest you look closely at what each vendor has to offer and align that with your enterprise’s strategic goals.

We expect there will be more books on this topic in the future.

It’s also worth being aware of the Multi-access Edge Computing (MEC) services that many of the network operators offer. These MEC services typically combine a platform for hosting Edge services with their own 5G cellular network connectivity services – that is, the software and radio needed for Edge services running on the MEC device to connect back through their own 5G cellular network.

In principle, bundling the network connectivity for 5G and the compute platform for Edge computing services yields both performance and management benefits. On the other hand, this bundling may also restrict your ability to right-size the platform resources to your specific application needs – especially if you will be sharing the platform for multiple applications, or if your needs will change rapidly over time.

Further, some providers will host the MEC at your far Edge location (sometimes referred to as a dedicated - or private-MEC) or host the MEC at their own network Edge locations (sometimes referred to as a distributed- or public-MEC).

In many cases, it may be worth considering a blended approach – leveraging the MEC for its network connectivity and other Edge node platforms for the remainder of your Edge computing needs.

Having laid all this out, we now need to point out the use a very similar set of terms and concepts. The network industry uses the term Network Edge. Be careful. Within their context, the term Edge is meant to refer to an element of the network itself – implying elements of the network that are close to (or integrated with) the far Edge, or network- or metro-Edge (as we’ve been using the term through the rest of this book).

The difference is subtle and has more to do with applying similar concepts to different, but related contexts – that is, the network itself versus the applications that are connected by that network.

You can see an example of where the term Network Edge is applied to the network infrastructure here: https://www.fortinet.com/resources/cyberglossary/network-edge#:~:text=Edge%20computing%20involves%20processing%20data,outer%20edge%20toward%20the%20core.

This book was written for developers – helping you understand the benefits of Open Horizon and how it helps you build and deploy successful, production-grade Edge solutions. We have provided you with a primer on the essential concepts of Edge computing, the potential use cases we’ve worked with in the past, the pitfalls you may encounter on the way, and techniques for how to overcome or avoid those issues altogether. We have given you a running start at using Open Horizon to solve the issues of deploying and managing your production Edge system at scale.

Edge computing is an essential architectural paradigm shift for many of us in the IT industry. It enables us to harness the rapidly growing population of devices and servers that are making their way into our everyday business life – whether in our retail stores, manufacturing production lines, distribution channels and logistics, materials handling, construction, healthcare, mining, travel and transportation, or virtually any other industry. Equipment built with ARM, AMD, Intel, or Risc-V, or even PowerPC or Z-system processors, running Linux, and open architectures that enable them to be programmed and re-programmed to enhance their utility or extend their value are everywhere. Industrial OT equipment is being re-imagined by leveraging commodity IT technologies and software programming tools. Servers that are hardened to operate in industrial or unprotected environments are becoming more compact and self-sufficient to be used outside the IT data center.

We put our business at a competitive disadvantage if we don’t leverage that compute capacity to reduce latency for decision making, improve the protection of our personal and sensitive business information, increase the resilience of our business operations, or get better cost efficiency from our IT and cloud data center resources. All these advantages compel us to harness and exploit the advantages that Edge computing can bring to the table.

However, like the client-server and web-service eras that proceeded this, or even the mobile computing era we are currently in, we are doomed to lose the advantages of distributed computing if we don’t resolve the several issues that burdened those prior architecture generations.

Fortunately, we have paid attention and learned from past mistakes, solving many of the issues of managing at scale with the Linux Foundation LF Edge Open Horizon project. Adopting this type of management architecture in our Edge projects from the very beginning is essential to ensuring the success of those projects. Adopting this technology is not a decision that can be deferred – it needs to be infused into our best practices from the start so that those practices have a chance to grow with you, with your team, and as an integral part of the project.

The corollary is that the longer you take to infuse something such as Open Horizon into your project, the more expensive it becomes to retrofit all your beginning and intermediate practices – imposing both limitations on the growth of your project and business and a major retraining effort for your teams.

With this book, we have attempted to simplify your understanding of edge computing, how to manage it, and specifically how to harness Open Horizon to ensure the success of your production edge projects.

You should now be equipped to move forward in your own, and your project’s success. You are now an Edge ninja.