Amazon today announced the launch of AWS Greengrass, a new service that will be built into IoT devices to bring them better and smarter compute capabilities.
As AWS CEO Andy Jassy noted in today’s keynote at Amazon’s re:Invent developer conference, Amazon expects that the majority of on-premises hardware will soon be IoT devices as enterprises move their servers into the cloud. Typically, though, these IoT devices have always been relatively low-powered, both in terms of CPU and local storage. That’s why these devices are so reliant on the cloud, of course. Still, occasionally you may want to do the computing right on the device or when the connectivity is down.
“It’s easy to take advantage of the cloud to supplement the power of these devices, but there are going to be times where you don’t want to make the round-trip to the cloud,” Jassy noted. “What we have heard repeated now from both companies that are using AWS’ IoT offering and device management — what they really want is to have on these devices is the same flexibility and program model to do compute as they have on AWS.”
Greengrass builds on top of AWS IoT and AWS Lambda, Amazon’s “serverless” compute service. It will allow developers to write Lambda code (in Python) that can run right on the IoT device. The Greengrass Core runs these Lambda functions locally, but can also talk to the AWS cloud and allows IT admins to manage these devices and the code that runs on them.
“If you are already developing embedded systems for small devices, you will now be able to make use of modern, cloud-aware development tools and workflows,” the company writes in today’s announcement. “You can write and test your code in the cloud and then deploy it locally.”
To do all of this, Amazon needs partners, of course, especially given that it doesn’t build its own enterprise IoT devices. These include Intel and Qualcomm, as well as Canonical and Amazon’s own Annapurna Labs. Devices need to offer at least 128 MB of memory and an x86 or ARM CPU that runs at 1 GHz or more.
The service is now in preview (though it’s unclear where you would get compatible devices right now). Once it is generally available, you’ll be able to use up to three devices for one year for free. After that, the cost per Greengrass core is $0.16 per month/device for up to 10,000 devices.