# AWS IoT Greengrass

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/aws-iot-greengrass

> AWS IoT Greengrass is a software that extends cloud capabilities to local devices, enabling them to collect and analyze data closer to the source of information, while also allowing them to securely execute locally generated data and commands through AWS Lambda functions and manage data synchronization with the AWS cloud.

## 10 key features of AWS IoT Greengrass

AWS IoT Greengrass enhances IoT applications by enabling local data processing, secure device communication, and edge machine learning capabilities, along with integrated device management and easy integration with AWS cloud services.

1. **Local Data Processing**: AWS IoT Greengrass enables devices to respond quickly to local events by providing the capability to process data closer to the source of information, thus reducing the need to constantly stream all data to the cloud.
2. **Message Broker**: Supports MQTT messaging between AWS IoT and components, local publish/subscribe messaging between components, and MQTT communication with local IoT devices on Linux and Windows.
3. **Secure Device Communication**: AWS IoT Greengrass ensures secure communications between devices and the cloud using certificate-based authentication and encrypted connections, providing a robust mechanism for data protection.
4. **Stateful Applications**: Supports the deployment of stateful applications across devices, enabling them to operate effectively even when they are disconnected from the Internet.
5. **Edge Machine Learning**: Facilitates the running of machine learning inference locally on devices, allowing for real-time decision making without the need for constant cloud connectivity.
6. **Device Management**: Provides an integrated set of tools to manage device software and monitor device health, making it easier to maintain a fleet of IoT devices.
7. **Easy Integration with AWS Services**: Seamlessly integrates with other AWS services, enabling advanced data processing, storage, analytics, and machine learning capabilities in conjunction with AWS IoT Core and AWS Lambda.
8. **Component-Based Software Deployment**: All software developed and deployed with Greengrass is modeled as a component. AWS provides prebuilt public components, and developers can create custom components locally or in the cloud and deploy them to one or multiple Core devices.
9. **Component CPU and Memory Limits**: With nucleus version 2.4.0 or later, CPU and RAM limits can be configured for generic and non-containerized Lambda components. These limits are not supported for nucleus, plugin, or containerized Lambda components, on Windows Core devices, or when Greengrass Core runs in Docker.
10. **Encrypted Secrets**: Greengrass supports deploying and accessing secure, encrypted secrets from AWS Secrets Manager on Linux and Windows, but not with nucleus lite.

## Where AWS IoT Greengrass is used

AWS IoT Greengrass enables smart agriculture, industrial automation, smart home enhancements, healthcare monitoring, and energy management through real-time, local data processing and decision-making.

1. **Smart Agriculture**: AWS IoT Greengrass enables intelligent farming solutions by collecting and analyzing data directly from farm equipment and sensors in real-time. This allows farmers to make informed decisions about irrigation, seeding, and harvesting, optimizing crop yields while conserving resources.
2. **Industrial Automation**: In the manufacturing sector, AWS IoT Greengrass facilitates the deployment of predictive maintenance on industrial machinery, reducing downtime and increasing efficiency. It processes data on-site, enabling immediate response to operational data and trends without the latency that comes with cloud processing.
3. **Smart Home Devices**: AWS IoT Greengrass is used to enhance smart home ecosystems by processing data locally on smart devices, reducing response times for device commands and improving the user experience. It allows for the smart home devices to operate independently of the internet, ensuring functionality even when offline.
4. **Healthcare Monitoring Systems**: In healthcare, AWS IoT Greengrass supports remote patient monitoring systems by facilitating secure and real-time data processing at the edge. This enables healthcare providers to deliver timely care through continuous monitoring of patient health metrics without overwhelming cloud storage and processing resources.
5. **Energy Management**: AWS IoT Greengrass aids in optimizing energy usage in smart grids and buildings by locally processing data from IoT sensors. This data is used to make immediate adjustments to energy consumption, leading to reduced operational costs and improved sustainability practices.

## How AWS IoT Greengrass is priced

AWS IoT Greengrass uses a pay-as-you-go model with an additional Free Tier for new users, charging based on devices connected and data processed by Lambda functions.

- **Pay-as-you-Go**: Charges are based on the number of Greengrass Core devices that authenticate with AWS during a month. Devices that remain inactive for the month are not charged, and devices connecting locally to a Core incur no additional Greengrass charge.
- **Free Tier**: The Free Tier includes the first three Greengrass Core devices that connect each month, free for one year.

## Services AWS IoT Greengrass works with

- **[AWS IoT Core](https://blowstack.com/tools/cloud-services-hub/aws-iot-core)**: Enables IoT devices to connect to the cloud and interact with AWS services.
- **[AWS Lambda](https://blowstack.com/tools/cloud-services-hub/aws-lambda)**: Allows execution of serverless functions on local devices, responding to events and triggering actions.
- **[Amazon S3](https://blowstack.com/tools/cloud-services-hub/amazon-s3)**: Provides storage for IoT data that can be processed locally or sent to the cloud.
- **[Amazon DynamoDB](https://blowstack.com/tools/cloud-services-hub/amazon-dynamodb)**: Enables local devices to read from and write to a managed NoSQL database.
- **[Amazon Kinesis](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis)**: Facilitates real-time data streaming and processing from IoT devices.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: AWS IoT Greengrass can upload core-device and component logs to CloudWatch Logs through its log manager component. Its CloudWatch metrics component and connector also publish custom metrics, such as device temperatures or processing counts.
- **[Amazon Data Firehose](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-firehose)**: AWS IoT Greengrass provides a Firehose connector that forwards locally collected messages to delivery streams. This lets an edge device send processed sensor readings to the destinations configured in Firehose.
- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: AWS IoT Greengrass Core software can run on an EC2 instance configured as a core device. This provides a cloud-hosted environment for developing and testing components and deployments before installing them on physical edge devices.
- **[Amazon Elastic Container Registry (Amazon ECR)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-container-registry-(amazon-ecr))**: AWS IoT Greengrass can deploy components that use container images stored in private ECR repositories. Its Docker application manager component handles authentication and image downloads so the containers can run on core devices.
- **[Amazon EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-eventbridge)**: AWS IoT Greengrass sends deployment status-change events to EventBridge. Rules can use these events to trigger notifications or automated responses when an edge deployment succeeds or fails.
- **[Amazon Kinesis Data Streams](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-streams)**: AWS IoT Greengrass stream manager can automatically export locally buffered data to Kinesis Data Streams. Export policies control buffering and transmission so devices can collect data during connectivity interruptions and upload it when connectivity returns.
- **[Amazon Kinesis Video Streams](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-video-streams)**: AWS IoT Greengrass supports components for sending video from local cameras to Kinesis Video Streams. The Kinesis Video Streams Edge Agent can run on a Greengrass core device to record video locally and upload it according to configured schedules.
- **[Amazon SageMaker](https://blowstack.com/tools/cloud-services-hub/amazon-sagemaker)**: AWS IoT Greengrass can deploy models trained in SageMaker to core devices for local inference. Its SageMaker Neo deep learning runtime component supports running compatible models optimized by SageMaker Neo for edge hardware.
- **[Amazon Simple Notification Service (Amazon SNS)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-notification-service-(amazon-sns))**: AWS IoT Greengrass provides an SNS connector that publishes messages from the edge to SNS topics. For example, a local monitoring function can request a notification when a sensor reading exceeds a threshold.
- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: AWS IoT Greengrass supports interface VPC endpoints for private access to its supported service APIs. This allows applications in a VPC to make those requests without an internet gateway or NAT device.
- **[AWS CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-cloudformation)**: AWS IoT Greengrass exposes CloudFormation resource types for resources such as component versions and deployments. Templates can provision these resources repeatedly across environments, accounts, and Regions.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: AWS IoT Greengrass integrates with CloudTrail to record service API activity. These records identify who initiated operations such as creating component versions or deployments and when the requests occurred.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: AWS IoT Greengrass uses IAM policies to control access to its management APIs and IAM roles to authorize service operations. Core devices also use a token exchange role to obtain permissions needed by components, such as downloading artifacts from S3.
- **[AWS IoT Device Defender](https://blowstack.com/tools/cloud-services-hub/aws-iot-device-defender)**: AWS IoT Greengrass provides a Device Defender component and connector that collect core-device security metrics and report them to AWS IoT Device Defender. Security profiles can evaluate those reports for unexpected behavior, such as unusual network traffic.
- **[AWS IoT Device Management](https://blowstack.com/tools/cloud-services-hub/aws-iot-device-management)**: AWS IoT Greengrass uses AWS IoT Jobs to deliver and track cloud deployments to core devices. Its secure tunneling component also supports remote access through AWS IoT Device Management secure tunnels for troubleshooting devices behind restricted networks.
- **[AWS IoT SiteWise](https://blowstack.com/tools/cloud-services-hub/aws-iot-sitewise)**: AWS IoT Greengrass runs the components used by SiteWise Edge gateways to collect industrial equipment data, process it locally, and publish it to AWS IoT SiteWise. Greengrass stream manager can also export buffered measurements to SiteWise asset properties.
- **[AWS Marketplace](https://blowstack.com/tools/cloud-services-hub/aws-marketplace)**: AWS IoT Greengrass supports deploying compatible third-party software components offered through AWS Marketplace. These offerings extend core devices with capabilities such as industrial connectivity and edge analytics.
- **[AWS PrivateLink](https://blowstack.com/tools/cloud-services-hub/aws-privatelink)**: AWS IoT Greengrass supports private access to its supported service APIs through AWS PrivateLink interface endpoints. Applications can reach those APIs using private endpoint addresses rather than public internet connectivity.
- **[AWS Secrets Manager](https://blowstack.com/tools/cloud-services-hub/aws-secrets-manager)**: AWS IoT Greengrass can deploy secrets from Secrets Manager to core devices and keep encrypted local copies. Authorized components and Lambda functions can retrieve those secrets locally, including while the device is disconnected from the cloud.
- **[AWS Security Token Service (AWS STS)](https://blowstack.com/tools/cloud-services-hub/aws-security-token-service-(aws-sts))**: AWS IoT Greengrass obtains temporary AWS credentials through the AWS IoT credentials provider, which assumes the device's configured IAM role using AWS STS. The token exchange service makes these credentials available to authorized components without requiring long-lived access keys on the device.
- **[AWS Snow Family](https://blowstack.com/tools/cloud-services-hub/aws-snow-family)**: AWS IoT Greengrass can run on Snowball Edge devices to execute IoT applications near local equipment. This supports local messaging, processing, and device control in locations with limited or intermittent cloud connectivity.
- **[AWS Systems Manager](https://blowstack.com/tools/cloud-services-hub/aws-systems-manager)**: AWS IoT Greengrass provides a Systems Manager agent component that registers core devices as Systems Manager managed nodes. Administrators can then use capabilities such as Run Command and Session Manager to maintain and troubleshoot those devices.
- **[FreeRTOS](https://blowstack.com/tools/cloud-services-hub/freertos)**: AWS IoT Greengrass supports connections from FreeRTOS devices using the Greengrass discovery library. A microcontroller can discover its associated Greengrass core and exchange MQTT messages with local applications without sending every message through the cloud.

## What is AWS IoT Greengrass

Amazon Web Services (AWS) IoT Greengrass is a service that extends AWS onto physical devices, allowing them to act locally on the data they generate while still using the cloud for management, analytics, and durable storage. This innovative service enables devices to respond quickly to local events, operate with intermittent connections, and minimize the cost of transmitting data to the cloud. Essentially, AWS IoT Greengrass brings cloud capabilities to the edge, offering a bridge between the physical world of devices and the vast computational and storage resources of AWS.

AWS IoT Greengrass makes it possible for Internet of Things (IoT) devices to run AWS Lambda functions, Docker containers, or both, directly on the device itself. This gives devices the capability to perform data collection, processing, and analysis locally. Moreover, these devices can execute predictions based on machine learning models, which can be trained and refined in the cloud but deployed and executed at the edge. This dual operation model facilitates devices to take intelligent actions even when they are not connected to the internet.

Greengrass also supports packaging and running software as native operating system processes or with custom runtimes.

Greengrass nucleus lite is another runtime option, offering a subset of the functionality available in Greengrass nucleus.

In Greengrass V2, a component recipe can be at most 16 KB, and the combined size of a component's artifacts can be at most 2 GB. Neither quota is adjustable.

Another key feature of AWS IoT Greengrass is its ability to securely communicate with other devices, managing and orchestrating device-to-device communication. This enables a new class of applications where devices can operate in concert, executing distributed data collection and analysis tasks without the need for constant cloud intervention. The secure nature of these communications is underpinned by AWS's industry-leading security protocols, ensuring that data remains protected from the edge to the cloud. Device synchronization is another important aspect of AWS IoT Greengrass. It ensures that IoT devices can continue to operate effectively even with intermittent cloud connectivity. When a device re-establishes a connection to the cloud, it can synchronize its state, ensuring that both the device and the cloud have the latest data and application states. This is crucial for maintaining the operational integrity of IoT applications that are deployed in environments with unreliable connectivity.

Furthermore, AWS IoT Greengrass integrates smoothly with the broader AWS ecosystem, allowing developers to create holistic solutions that leverage other AWS services. This includes data warehousing with Amazon Redshift, analytics with Amazon Kinesis, and machine learning model training with Amazon SageMaker, amongst others. Such integration enables a seamless flow of data and insights from the edge to the cloud, facilitating sophisticated IoT solutions that are both powerful and scalable.

In summary, AWS IoT Greengrass serves as a critical component in the IoT technology stack, allowing businesses and developers to bring the power of the AWS cloud to the edge. By doing so, it enables devices to act more autonomously, makes IoT applications more responsive and efficient, and provides a framework for developing sophisticated IoT solutions that leverage both local processing and the vast computational resources of the cloud.

## Concepts related to AWS IoT Greengrass

- [Edge Computing](https://blowstack.com/tools/cloud-concepts-hub/edge-computing): Edge computing places processing near data sources or users instead of relying exclusively on centralized cloud infrastructure.
