Your browser is not supported. Please update it.

14 June 2017

Amazon Greengrass may provide lifeline for MEC and the cellular IoT

The mobile industry may be pulling back on the more ambitious latency targets originally discussed for 5G – 1ms latency features far less regularly in operator presentations than it used to – but there is still a significant latency challenge to address if the promise of the cellular Internet of Things (IoT) really is to be addressed. Amazon’s Greengrass edge cloud platform, integrated into the mobile network via ETSI MEC (Multi-Service Edge Computing), could be an effective way to rise to that challenge.

Some of the IoT applications which will lend themselves most naturally to mobile and wireless connections – rather than fixed, or highly localized in personal area networks – are also those which will require very fast response times, such as vehicle safety or emergency worker alerts. The impossibility of every piece of data being carried all the way to a centralized cloud to trigger a decision has raised significant interest in edge computing in the mobile environment.

Last week, Amazon AWS, never far from a network architecture shift which could enable new internet services, made its Greengrass edge computing platform generally available, enabling its cloud services to be distributed to micro-servers and other devices within a network.  Among the new partners it announced were several from the cellular world, including Nokia, and this may stimulate uptake of edge network technologies in the cellular world.

AWS Greengrass was first unveiled in December. It provides edge computing capabilities for IoT applications over fixed or mobile connections. Given the market weight of AWS, this could accelerate commercial projects more effectively than the collegiate efforts of ETSI’s MEC initiative, or the OpenFog Alliance, on their own. Instead, these industry cooperations may be able to ride on Greengrass to help achieve their own objectives.

Greengrass has many reflections of initiatives from other cloud giants like Microsoft – although AWS has leapfrogged its rival here. Despite significant effort behind Azure IoT, and architectures based on ‘cloudlet’ technology, Microsoft has yet to make its edge component generally available. That may help to explain its recent enlarged alliance with Cisco, the leader of OpenFog, allowing customers to build and host IoT applications in Azure, and then distribute them to the edge via Cisco’s Fog technology.

“Microsoft thinks there is a natural balance between the cloud and the edge in IoT. Why? Cloud is a natural place to manage Iot devices, to collect data from them, gain insights using analytics and then operationalize those insights,” said Sam George,  partner director for Azure IoT at Microsoft. “Edge is a natural place to collect, optimize and react to data with low latency based on the insights generated in the cloud. In this way, cloud and edge work together to help IoT reach its full potential.”

All these companies are looking for the most efficient and flexible ways to distribute cloud computing and storage resources in order to reduce traffic to and from the central servers, and so improve responsiveness, latency and quality of service. They have differences of approach, and more or less willingness to support cross-industry efforts to create a common architecture (Microsoft is a member of OpenFog Alliance, for instance, as well as pursuing its own developments for its Azure platform).

What they have in common is the need to drive confidence and commercial deployments in their cloud platforms, especially for high value enterprise systems which might otherwise remain out of their reach; and the need to influence industry-wide developments to suit their own business and technical preferences.

All of them need to strike the right balance between the three main elements of the connected architecture – the device, the edge cloud, and the central cloud. The first and third are well established, but it is the middle element which has attracted so much interest in recent years. It basically consists of a small server located close to the edge of the network (although just how close varies enormously, as does the capacity of the server and its location vis-à-vis the base station).

Arguably, the idea originated with research at Carnegie Mellon University, which coined the term cloudlets in a paper in 2009. In 2014, ETSI established its Mobile Edge Computing (MEC) initiative, later renamed Multi-access Edge Computing to take account of wireline, WiFi and other connections working seamlessly with cellular. And about a year later, Cisco came up with the idea of fog computing, whose concepts were enshrined in the OpenFog Alliance in 2016. Now, the mobile strand of the CORD (Central Office Re-architected as a Datacenter) initiative seeks to apply software-defined networking principles to create an even more flexible and responsive edge.

There are cooperations between many of the different efforts, and some hope that, eventually, a core set of APIs (application programming interfaces) and other middleware will emerge to enable distributed clouds to interoperate and share data, even if they are based on different architectures. And whatever the architecture, the resulting edge or fog layer performs a common set of functions, to provide a middle stage between the device and the cloud. But where the connectivity is primarily cellular, additional complexities set in – the devices may be mobile and there will be the need to maintain consistency and connectivity when they move from one edge cloud platform to another. That, in turn, leads to arguments over whether a mobile-centric approach – designed around connectivity – will be more efficient for low-latency applications than an IT-centric approach, designed around cloud and data priorities.

Whatever the exact implementation, the three-tiered structure has clear benefits for some emerging video and IoT applications, and will become increasingly important with the growth of IoT services in smart city or industrial IoT environments, along with in-vehicle infotainment, V2X, predictive maintenance, closed loop systems like smart grid, and robotics.

The edge compute node will perform a variety of functions, depending on the application. For video – which has driven most early trials and deployments of edge computing in the mobile network – caching, or locally targeted optimization and acceleration, can take place on the edge server.

This platform will also typically host distributed PasS (platform as a service) functions such as registries for edge applications, management of inter-edge communications and connectivity/hand-off to the RAN. Compute-intensive aspects of an application, like motion classification in a vehicular service, are likely to be edge-based, as are real time analytics for some IoT systems. Also for sensor-based IoT use cases, the edge server may host latency-sensitive control loop software; issue control commands to devices; collect IoT sensor data and filter the information which needs to be processed locally, or sent back to the center.

Amazon AWS hopes to insert itself into the distributed content and IoT value chains at every point with Greengrass. The CTO of AWS, Werner Vogels, said: “With AWS Greengrass, we can begin to extend AWS into customer systems—from small devices to racks of servers—in a way that makes it easy to do the things locally that are best done locally, and to amplify those workloads with the cloud.”

Amazon described how “Greengrass brings cloud programming and functionality to sets of IoT devices – empowering them to communicate and react when a cloud connection is not possible. These devices together are known as a Greengrass group. Groups are defined and configured from the cloud.”

Every group needs a Greengrass core to be created in order to function, and this software is installed on a physical device, such as an edge server or small cell, and connects it securely to the AWS cloud. The group can then be extended and defined in the cloud before being deployed. Amazon says in its explanatory video: “Build safely in the cloud and then deploy your group to make it functional.”

The idea is to make it relatively straightforward to distribute the cloud for certain applications, and that is where the hopes for MEC and fog lie. If the base of AWS developers is encouraged to build edge compute applications, and they find it easy to deploy the Greengrass cores on MEC or fog appliances, the spread of either approach could be greatly accelerated.

It is notable that two early proponents of ETSI MEC, Nokia and Saguna Networks, are among the list of Greengrass partners. MEC needs a boost, even in the mobile world. The key conceptual difference between MEC and fog (or cloudlets, which Microsoft is doing much to promote) is that MEC was conceived within the mobile platform and envisages the edge compute device being deep in the RAN. Early developments, such as Nokia’s Liquid Apps cooperation with Intel, saw the compute and storage capabilities embedded into a small cell or sitting right next to a larger base station. OpenFog and cloudlets, by contrast, originated in the IT world and take less account of MNO network efficiencies and more of the most effective way to distribute the central cloud.

As MNOs turn into IT providers and RANs become cloud platforms, there is no guarantee which will hold more sway, but of late, the mobile-centric approach seems to have lost some ground. But a deep alliance with Greengrass could give new impetus to the Nokia-led MEC world view.

Saguna said its Open-RAN gateway, a MEC server which is deployed right inside the RAN, now supports Greengrass. CEO Lior Fite said: “We are proud that AWS Greengrass is now available on the mobile network edge using our MEC platform. This seamless meeting of cloud computing and communication networks creates new monetization opportunities for mobile operators and customers.”

Nokia’s Thorsten Robrecht said: “For years I’ve observed the convergence of IT and telco and believe that cloud services are one of the areas where the two paths have definitely crossed. And we have further confirmation this week at the AWS Pop-Up Loft event in San Francisco this week, where AWS announced that Nokia MEC has been chosen to complement their Greengrass software. The combination of Nokia MEC and AWS GG distributed cloud capabilities will bring significant advantages to the Industrial IoT ecosystem – to IoT sensors, devices and application developers.”

Robrecht wrote in a company blog that the MEC/Greengrass combination had already been in tests in Nokia Labs, targeting use cases like mining or oil rigs – favourite sectors which Nokia is pursuing as part of its recent increased focus on vertical industries and private networks. This vision is based around the combination of edge compute with a localized, self-contained RAN of small cells managed by a virtualized evolved packet core, on-premise or in the cloud. When this approach, also promoted by Quortus and other vEPC vendors, is combined with unlicensed or shared spectrum, such as 3.5 GHz in the US, this edge-oriented private network play does not even have to rely on the MNO, except where the system rejoins the wider world for mobile roaming, or to transfer data to the central cloud.

That approach is highly IT-driven, and designed around the needs of an enterprise not an MNO. Indeed, one crucial advantage of an edge server is not just to reduce strain on connectivity to the central cloud, but to allow processing and decision-making to continue even when connectivity is intermittent – as it might be for the localized networks Nokia envisages in mines or rigs.

We have written before about the IoT driving a return to the old world of batch processing, as the dream of always-on, real time communications becomes unrealistic when dealing with huge numbers of IoT devices and decisions.

And yet, the distributed wireless cloud vision is still based around MEC and mobile cores, not WiFi or other unlicensed spectrum options, because cellular connectivity with assured quality of service will still be required – even if only a few times a day – and it will add value to many vertical IoT services, and so enhance the business case for their cloud providers. This is where Amazon AWS will welcome its partnership with Nokia almost as much as the FInnish firm will be pleased to be in the AWS fold.

Robrecht wrote: “KPI performance figures from Nokia MEC and AWS GG testing in Nokia Lab are very promising: 93% of messages were processed at the edge of the network, round trips time decreased by 28% and latency was 39% lower compared to the case where data needs to reach the centralized core.”

Of course, Greengrass will be deployed in many environments which do not require optimized cellular connectivity or core, but the strength of mobile giants in the initial supporters’ list for the AWS platform indicates how the combination could have a very high impact on the MEC business case, and on extending AWS’s reach into mobile-enabled services. Qualcomm and Samsung are on the list, as well as Annapurna, BSquare, Canonical, Digi International, Intel, Lenovo, Mongoose, Raspberry Pi, Technicolor and Wistron.

Qualcomm and Intel were both prominent at the original unveiling of Greengrass six months ago, as both are determined to get their processors into the cloud, from data center to edge. Qualcomm has been running demos of Greengrass on its Dragonboard 410c dev-kit, illustrating that the technology is geared towards microprocessor architectures, and not just the gigantic Intel Xeons it uses in its cloud servers.

It has also outlined a gateway application, in which Qualcomm connectivity would be combined with Greengrass to “to allow multi-protocol edge nodes to communicate, even without IP connectivity, which brings new possibilities to commercial, industrial, medical and smart city solutions”.

And last week, it pledged support for Greengrass in its Snapdragon system-on-chip. It will port and pre-test the AWS technology across several platforms within its portfolio, starting with the Snapdragon 410E application SoC.

While Amazon is working closely with MNO partners, notably AT&T, on mobile cloud developments, it is clear that, in a scenario where shared spectrum and private networks have reduced the power of the mobile operator, AWS would be a logical company to step into the MNO’s shoes.

More about Greengrass:

Greengrass can dynamically split processing workloads between edge and cloud platforms to suit the requirements of the task, and gives AWS users the tools to process data locally instead of, or before, sending it to the AWS cloud for storage or further analysis.

It takes the AWS IoT and Lambda capabilities in the cloud and packages them in a way that can be run on devices at the network edge – on gateways, mini-servers, small cells, or regular connected devices based on ARM or x86 processors, and running Ubuntu or Amazon Linux.

Greengrass uses the same programming model as AWS in the cloud, and is being pushed as a way to provide local and cloud storage, as well as the messaging and application platform needed for IoT devices that have internet connectivity constraints. When tasks are performed locally, the data is kept in sync with the central cloud system.

For now, Greengrass uses a hub-and-subscribe programming approach that lets a single core in the cloud act as a master. It does not support multiple runtime instances collaborating among cores on an SoC or nodes on a network. In future, multiple Greengrass cores per group of devices will be supported, said a spokerperson. AWS is also examining other programming languages – perhaps C and C++, in addition to the current Python – and a runtime for smaller processors.

In December, at its re-invent conference, Amazon AWS also showed off its own Snowball Edge appliance, which stores 100TB of data and includes on-board compute and storage. Amazon says Snowball “transforms Greengrass into a purpose-built hybrid edge device that can transfer data to and from Amazon S3 cloud services, as well as cluster with other Snowball Edge devices to form an on-premises storage pool.”

Marco Argenti, VP of mobile and IoT at AWS, said this approach represents “the next generation of hybrid IT”, allowing IoT devices to function as a “seamless extension of their AWS environment”.

Greengrass also includes AWS IoT messaging and synching capabilities so devices can send messages to other devices without connecting back to the cloud.

Nokia’s latest MEC tests:

Nokia is perhaps the greatest proponent of MEC (Multi-access Edge Computing) among the mobile majors, and last week it showed off its latest test of the technology at the University of Notre Dame in Indiana.

Nokia worked with the university’s Wireless Institute set out to test two MEC-based applications – edge video orchestration (EVO) and augmented reality (AR), using  Nokia’s AirFrame server. The trial supported the applications with connectivity to multiple radios, optimizing data flow through WiFi and cellular links as appropriate. The idea was to split the workload between multiple access points to improve performance – Nokia used its Flexi Zone small cells and AirScale WiFi APs.

“MEC is ideal for enabling low-latency applications tailored to specific enterprise needs such as those of the University of Notre Dame,” said Joe Hammer, global alliance director at Nokia.  “Nokia, with strategic partners such as IBM, can leverage MEC to analyze customers’ preferences and behaviours with cognitive analytics. By deploying applications at the network edge, rich, engaging content is brought closer to consumers, application response times are reduced while reliability is increased – all of these benefits offer a truly excellent user experience.”