Ubunutu 2
Ubunutu 2
Ubunutu 2
October 2022
Executive Summary
Edge computing has become a critical component of the modern technology
landscape. From the factory oor to smart homes, signage, robotics, and
autonomous driving, Internet of Things (IoT) devices bring compute power
closer to where data is generated, enabling unprecedented levels of e ciency
and automation.
In the past, there were far fewer devices deployed in the eld, and they typically
remained in a xed state throughout their entire lifecycle. Today, organisations
often rely on Kubernetes to manage millions of devices, all of which receive a
regular stream of updates and communicate with external data sources. Each of
these interactions represents a window of vulnerability that can potentially be
exploited by bad actors to gain access to the device.
Given that even a single security breach at the edge can be highly costly and deal
immense damage to an organisation’s brand reputation, protecting IoT devices
is paramount.
MicroK8s is a lightweight Kubernetes distribution designed for the edge that aims
to eliminate these security concerns. Complementing a wide array of existing
MicroK8s security features, a strict con nement capability introduced in 2022
provides complete isolation for containerised applications. This ensures that any
breaches or vulnerabilities that occur on one container cannot spread to the rest
of the system, drastically improving the overall security of the host IoT device.
Additionally, strict con nement enables users to run MicroK8s on Ubuntu Core, a
Linux operating system purpose-built for secure edge computing.
This whitepaper will take a closer look at the security challenges that organisations
face at the edge, and examine how those risks can be mitigated using Ubuntu Core
and MicroK8s with strict con nement.
What is the IoT edge?
The Edge computing market is growing fast. According to a recent report by
Gartner, more than 15 billion IoT devices will connect to enterprise infrastructure
by 2029.1 While traditional infrastructure remains relevant, the worldwide trend is
to move resources closer to end users and IoT appliances.
That being said, the “edge” is a nebulous term with various de nitions depending
on the use case. The goal of all edges is largely common: providing compute,
network, and storage resources closer to the source of the data. However, this
de nition captures everything from embedded-type single-board computers
and IoT devices all the way to large point-of-presence (PoP) clusters of data
centre class equipment. These use cases have vastly di�erent requirements and
constraints, making “edge” unhelpfully vague as a term.
• Micro clouds: small clusters of compute nodes with local storage and
networking, where traditional data centre primitives are combined with
high-availability clustering, low latency, over-the-air (OTA) updates, and
enhanced security.
• IoT edge: Single node devices with fewer resources, which function more
like appliances.
IoT edge devices are exponentially more prevalent, and this category is the
primary subject of this whitepaper.
Historically, IoT devices deployed in the eld were immutable. After leaving the
factory, the device rmware and operating system would never change, making
security relatively straightforward. Modern IoT devices fall at the opposite end of
the spectrum. Containerised applications are constantly updated, and advanced
processes often interact with sensors and systems outside of the host device.
The ability to keep devices updated after deployment and connect them to
external data sources is one of the primary factors behind the successful evolution
of edge computing. But at the same time, exposing IoT devices to the world in this
way dramatically multiplies the risks. Every update and external interaction is a
potential vulnerability, and edge networks are notoriously complex to secure.
1 https://www.gartner.com/smarterwithgartner/gartner-predicts-the-future-of-cloud-and-edge-infrastructure
2
What’s more, delivering updates to a eet of devices is easier said than done.
Automated OTA updates go a long way towards simplifying the process, but it is
rarely possible to have full control over devices in the eld. For instance, a user
might have their device turned o� for several weeks, preventing it from receiving
updates. When that machine is turned back on, there may be a brief window in
which it is operating without the latest security xes.
Within data centres and on clouds, Kubernetes has been the industry-standard
container orchestration platform for several years. Indeed, the latest Canonical
Cloud Native Operations survey found that 43.1% of respondents ran applications
either partially or exclusively on Kubernetes, with a further 29.9% evaluating or
planning Kubernetes deployment.2
More recently, the quest to bring computing closer to users and data sources
has seen Kubernetes come to the edge as well. According to the Cloud Native
Computing Foundation’s 2021 survey, edge developers are the largest user
segment for both containers and Kubernetes, with Kubernetes used by 63% of
developers working on edge computing applications in the last 12 months.3
Kubernetes is a natural t for IoT since it o�ers a way to simplify deployment and
management across a vast eet of devices, empowering developers to focus on
their applications rather than the underlying infrastructure. That being said, when
Kubernetes was created, it was not designed to run at the edge. As a result, using
Kubernetes on an IoT device poses signi cant risks.
Combining these complications with device mutability and the sheer scope of
what Kubernetes enables at the edge creates a large attack surface that is almost
impossible to fully police.
2 https://juju.is/cloud-native-kubernetes-usage-report-2022#container-and-kubernetes-usage
3 https://www.cncf.io/wp-content/uploads/2021/12/Q1-2021-State-of-Cloud-Native-development-FINAL.pdf