blob: 86795cea8c5efb7babe931097455a5c67992a9a7 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2015, 2016 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eric Poirier (Eclipse Foundation) - Initial implementation
* Christopher Guindon (Eclipse Foundation)
*******************************************************************************/
// This file must be included
if(basename(__FILE__) == basename($_SERVER['PHP_SELF'])){exit();}
?>
<h1 class="article-title"><?php echo $pageTitle; ?></h1>
<h4>Abstract</h4>
<p>Edge Computing will be one of the Mega technology trends for the next two decades. The transformation of our global IT infrastructure to capitalize on the explosion of data and devices at the Edge will require new approaches. Learn about these new Patterns for the Edge and get started with Eclipse ioFog.</p>
<br>
<h4>Overview</h4>
<p>The world is going through a transformation. Data is exploding at an unprecedented scale. By some estimates, the amount of data created in the world every year will balloon from 16ZB to 160ZB by 2025. This is largely being fueled by the explosive growth of the Internet of Things (IoT), currently estimated to approach 50 Billion in number by 2020. Whereas most computing devices were previously largely general purpose, Things are now usually single-purpose vertical products that are all generating and emitting an astounding amount of data.</p>
<br>
<h4>What is the Edge?</h4>
<p>Today's computing architectures were not designed to handle this amount of data. The recent market migration towards centralized Cloud solutions has resulted in a pattern where applications are required to push their data to the Cloud for processing. This is not scalable at the rate of data growth generated by the Things. New approaches to computing are required to dramatically reduce the cost and TCO of storing huge amounts of data.</p>
<p>Additionally, the pattern of use of data is changing. Traditionally, data storage was expensive and deriving insight and making decisions the purview of the database or data warehouse. The advent of Big Data changed all that, ushering in a new era of mass data storage where decisions are now made in real-time on massive fuzzy data sets by machine learning algorithms (rather than by humans).</p>
<p>Even if there was enough storage in the Cloud [there isn't!] to store all the data, there is no way near enough network to transport all the data to the Cloud. The advent of 5G will only increase the amount of Things creating data, while also creating a further imbalance in the network. The hop from Phone or Thing to cellular base station will be faster than the hop from cellular network to Cloud.</p>
<p>Inherently then, existing Cloud architectures exhibit a set of limitations:</p>
<ol>
<li>Inefficient use of bandwidth, as not all IoT data needs to be streamed and stored in the Cloud, given that only a limited subset of it has actual business value</li>
<li>Network latency, as the interaction of IoT devices with the Cloud, is delayed, and therefore inappropriate for real-time applications (like autonomous cars)</li>
<li>Waste of storage, since excess data without essential business value is stored in the Cloud (e.g. in cases of sensors recording values that do not change frequently)</li>
<li>Limited privacy-friendliness, as IoT/Cloud deployments provide no easy way to isolate private sensitive datasets</li>
</ol>
<p>These factors all lead us to examine the need for a new architectural strategy to support the data and application requirements of tomorrow. Collectively, this architectural shift has been termed Edge Computing. Rather than attempt to pull all of the data back to the Cloud, it makes much more sense to process the data at the point of creation. Instead of a Cloud-centric storage architecture, what's needed is an Edge-centric compute architecture. Instead of moving the data, move the compute, harnessing the processing power and resources of all of the Things.</p>
<br>
<h4>Patterns for the Edge</h4>
<p>One such approach is Eclipse ioFog. ioFog is a universal <strong>Edge Compute Platform</strong>. ioFog provides a standardized way to develop and remotely deploy secure microservices to Edge computing devices. ioFog makes deployment simple, by abstracting the underlying hardware to provide a common compute platform that enables the same software to run on any device. This is achieved by allowing developers to package and deploy their applications to each device using containerization technologies such as Docker and Unikernels.</p>
<p>ioFog is optimized to run on constrained hardware which is most commonly found at the edge. With a one-line install, ioFog Engine can be downloaded onto any piece of hardware that runs Linux (from Yocto to RedHat). Built with constrained resources in mind, ioFog can run on devices as small as a Raspberry Pi Zero, smart cameras, autonomous vehicles, LTE base stations, Wi-Fi routers, cable boxes, smart lighting, and IoT gateways.</p>
<p>Developers are able to easily deploy advanced AI and machine learning algorithms at the edge, to perform tasks such as real-time video streaming analysis, natural language processing, streaming analytics, etc. </p>
<p align="center"><img class="img-responsive" style="max-width: 60%" src="/community/eclipse_newsletter/2019/january/images/ioFog_2.png"></p>
<br>
<h4>Beyond One Device</h4>
<p>If you've got one edge device chances are you've probably got more. Here, ioFog makes it easy to deploy and manage multiple devices (or nodes) at the same time as an Edge Compute Network (ECN). Since your ECN is likely distributed - composed of many different nodes across multiple networks, each with potentially differing microservices - ioFog manages them all automatically, even across complicated network configurations, and can be used to maintain and optimize the entire fleet of devices. Using a protocol-agnostic MIME-type-like approach to describing data, ioFog applications and nodes are able to handle and route any data type, even if they don't understand the actual payload of the data. ioFog also supports native Geofencing of data, nodes, and routing.</p>
<br>
<h4>Securing the Edge</h4>
<p>When dealing with the Edge, Cloud-based PKI security just doesn't work. Cloud-based PKI presupposes that devices are out of reach and that physical security at data centers assures only authorized personnel have access to the computing devices. The edge provides no such guarantee. ioFog's security model is inspired by Blockchain. Each node in your ECN is a member of a distributed trust network. Each node is constantly validating a comprehensive set of security rules with all the other nodes, looking for minor deviations or signals of rogue nodes. When a rogue node is found, they are automatically quarantined from the ECN. If rogue nodes do not pass stringent security checks to re-enter the network, they can be remotely wiped of all software and data. All communication and data transfer between nodes happens via session based MicroVPNs that are created on the fly by ioFog, making it easy for developers to focus on their application and automatically take advantage of the inherent capabilities of the ioFog platform.</p>
<br>
<h4>Getting Started</h4>
<p>If you want to play around with ioFog, getting started for is extremely simple. Assuming you have a Linux development environment with Docker installed, just enter these commands:</p>
<pre>
$ curl -sSf https://iofog.org/quick-start/linux.sh | sh
$ docker-compose up
</pre>
<p>Once Docker Compose has started, you can now use 'docker ps' to show the status of the running containers:</p>
<pre>
$ docker ps
CONTAINER ID IMAGES etc... NAMES
... iofog-env_iofog-agent iofog-agent
... iofog-env_iofog-controller iofog-controller
... iofog-env_iofog-connector iofog-connector
</pre>
<p>And that's it - you now have a three node ECN running locally! </p>
<br>
<h4>Learning More</h4>
<p>The <a href="https://projects.eclipse.org/projects/iot.iofog">Eclipse ioFog project</a> has been in development for close to four years. It was initiated and contributed by <a href="http://edgeworx.io">Edgeworx</a>, and is being used extensively by many companies across the Cloud, Healthcare, Oil &amp; Gas and Telco industries, to name a few. If you want to learn more about ioFog, build ECNs and start developing microservices for your Edge devices, you can find out more at the <a href="https://iofog.org">ioFog website</a>. Or, get stuck right in with the <a href="https://iofog.org/docs/1.0.0/getting-started/quick-start.html">Getting Started guide</a> and learn how to deploy one of the many prebuilt microservices from the ioFog Catalog. If you're more inclined to learn from the code, you can browse the <a href="https://github.com/ioFog">repository</a> or get involved in our <a href="https://discuss.iofog.org">forums</a>.</p>
<div class="bottomitem">
<h3>About the Author</h3>
<div class="row">
<div class="col-sm-12">
<div class="row">
<div class="col-sm-8">
<img class="img-responsive"
src="/community/eclipse_newsletter/2019/january/images/farah.jpg"
alt="Farah Papaioannou" />
</div>
<div class="col-sm-16">
<p class="author-name">
Farah Papaioannou<br />
<a target="_blank" href="https://edgeworx.io/">EdgeWorx</a>
</p>
<ul class="author-link list-inline">
<li><a class="btn btn-small btn-warning" target="_blank" href="https://twitter.com/FGigabyte">Twitter</a></li>
<li><a class="btn btn-small btn-warning" target="_blank" href="https://twitter.com/EdgeworxIO">EdgeWorx Twitter</a></li>
<?php echo $og; ?>
</ul>
</div>
</div>
</div>
</div>
</div>