Tolga Talks Tech is a weekly summer video series in which Onica’s CTO Tolga Tarhan tackles technical topics related to AWS and cloud computing. This week Tolga talks AWS Greengrass and AWS IoT Core with Onica’s VP of Cloud Native Development Amir Kashani. For more videos in this series, click here.

What is Greengrass?

AWS Greengrass is an offering by AWS that allows you to take a lot of the capabilities provided by the AWS IoT service and run that at the edge closer to your devices.

When you say ‘at the edge,’ do I run AWS Greengrass on every device I produce?

No, the idea is that you have a slightly more powerful device, which is your AWS Greengrass Core and it’s composed of a group of other devices that might be lower power— your sensors, your actuators, the things that are actually doing stuff. The AWS Greengrass Core communicates with the other devices that are not the core itself and has the opportunity to do some analytics and processing at the edge. So, for example you can filter out data, aggregate it before communicating back up, as well as run logic and machine learning models on the edge.

How do you develop and deploy logic in AWS Greengrass?

Similar to how you do it in AWS proper, you do it with AWS Lambda. You develop with Lambda and there are mechanisms to deploy those Lambdas onto AWS Greengrass. It’s a very familiar programming model.

Does AWS Greengrass work offline as well?

It does. There’s no requirement to disconnect it and it can run all of this functionality within a local network effectively.

Is it possible to do machine learning with this through training models and Amazon SageMaker? How does Greengrass work into that equation?

When you’re training your models, you need really high horsepower machines. You do that within AWS, you train your models, then you refine them. Once they’re ready to go and turned on to actually do the inferences, you don’t need a lot of CPU and capabilities. You push those models down to your AWS Greengrass device and then you can do inferences on the data as it’s being captured from your sensors that are connected your AWS Greengrass Core right away.

If I’m doing inference at the edge, can I use that to decide when I’m going to transmit data to the cloud and what I’m going to process locally?

That’s one of the biggest benefits! As we’re getting more and more devices out there, more and more sensors are producing data and not all of that data is meaningful. You get the opportunity to do some inference, do some analytics at the edge, and decide when it is necessary to send the data up into the cloud to be further processed and stored.

Want to integrate IoT into your business? Learn how AWS can accelerate your IoT strategy and help you make impactful, data driven business decisions with our IoT Prototyping Proof of Concept.

Want to learn more about how IoT can accelerate your business?

Watch our on-demand webinar on Why AWS for IoT.

Tolga Tarhan

About Tolga Tarhan

As Onica’s Chief Technology Officer, Tolga Tarhan leads the technological vision of the company by pushing innovation and driving strategy for our product development and service offerings. With nearly two decades of experience leading and hands-on software development, his cross-functional expertise across different technology areas gives him unique insight into the best approaches for building complex systems and applications. In addition to facilitating technology on the executive level, Tolga has also successfully led numerous deployments involving web-based, mobile, Internet of Things (IoT), and real-time telecommunications applications. His passion for IoT in particular has driven Onica’s achievement of the AWS IoT competency, and he continues to show thought leadership in the field through his extensive speaking engagements at AWS events and educational groups across North America. Tolga also holds an MBA from Pepperdine University and helps customers strategize beyond technology solutions to improve their businesses and grow their bottom line.