Revisit Amazon Web Services re:Invent 2024’s biggest moments and watch keynotes and innovation talks on demand
With Amazon IoT Greengrass, you pay only for what you use. You are charged based on the number of Amazon IoT Greengrass Core devices that connect to the Amazon IoT Greengrass cloud service in a given month. You will not be charged if an Amazon IoT Greengrass Core device does not connect to the cloud service.
Free Tier
IoT Greengrass Free Tier is only available in the Amazon Web Services China (Beijing) Region operated by Sinnet. The Free Tier includes 3 devices for free per month for a year.
Region | Number of devices |
Monthly price per device |
---|---|---|
China (BJS) | One to 10,000 devices | ¥ 1.23 per month |
Over 10,000 devices | Contact us |
Amazon IoT Greengrass includes two pieces of client software: Amazon IoT Greengrass Core, the runtime that provides local Amazon Lambda, messaging, device shadows, and security, and the Amazon IoT Device SDK, which lets devices interact with Amazon IoT Greengrass Core via the local network.
An Amazon IoT Greengrass Core is active for the month when it authenticates with Amazon Web Services. Amazon IoT Greengrass Core is uniquely identified by its Amazon Web Services IoT thing that represents the Amazon IoT Greengrass Core device and uses a device certificate to authenticate with Amazon Web Services IoT. You can locally connect devices to your Amazon IoT Greengrass Cores for no additional charge. An Amazon IoT Greengrass Core is considered inactive when it does not authenticate with Amazon Web Services in a given month, even if the device continues to operate locally.
Additional charges
Amazon IoT Greengrass opens one or more connections to Amazon IoT Core to support operations of deployment, device shadows, and message transfer. These connections are automatically established when internet connection is available. The number of connections is based on the number of Amazon IoT Device Shadows that you configure to synchronize with the cloud and the number of Amazon IoT Core MQTT topics that you configure to send messages to Amazon IoT Greengrass Cores. You will incur charges for the total Amazon IoT Core connection minutes based on these connections. See additional details on number of connections.
You may also incur additional charges with Amazon IoT Greengrass if your applications utilize other services from us or transfers data. For example, if Amazon IoT Greengrass transmits data to or from Amazon Simple Storage Service (Amazon S3), you will be billed for the read/write requests and the data stored in Amazon S3.
For details on our service pricing, see the pricing section of the relevant service detail pages. Links to pricing for some of the commonly used services are listed below.
Amazon IoT Core (includes pricing for connectivity, messaging, and device shadow operations)
Amazon Kinesis Data Streams (includes pricing for data streaming, throughput capacity, and data retention)
Amazon S3 (includes pricing for storage, requests, and data transfer)
Amazon DynamoDB (includes pricing for data storage, throughput capacity, and data transfer)
Except as otherwise noted, our prices are exclusive of applicable taxes and duties, including VAT and applicable sales tax.
Pricing examples
Example 1 - The following example assumes there are 3 Amazon IoT Greengrass Core devices that are active for 11 months:
- Device A - An Amazon IoT Greengrass Core device is powered on in January and powered down at the end of November. When the device is powered on, it downloads new Lambda functions when they are available and continuously synchronizes its state via device shadows.
- Device B - An Amazon IoT Greengrass Core device sits inactive on a warehouse shelf in January, but is sold and powered on in February. When the device is powered on, it uses local Lambdas to summarize 1-second metrics into 5-minute metrics and uploads the 5-minute metrics to Amazon Web Services IoT or Amazon Kinesis.
- Device C - An Amazon IoT Greengrass Core is powered on in January and stays powered on all year. It has no internet connectivity for the month of December, so it never interacts with the cloud in December.
Amazon IoT Greengrass Charges
Monthly Amazon IoT Greengrass charges = Number of Active Amazon IoT Greengrass Cores * Monthly price per Amazon IoT Greengrass Core
Charge for Device A = 1 device * ¥1.23 per device per month = ¥1.23
Charge for Device B = 1 device * ¥1.23 per device per month = ¥1.23
Charge for Device C = 1 device * ¥1.23 per device per month = ¥1.23
Amazon IoT Greengrass charges for total activity period = Monthly Amazon IoT Greengrass charges * Activity period (months)
Charge for Device A = ¥1.23 per month * 11 months = ¥13.53
Charge for Device B = ¥1.23 per month * 11 months = ¥13.53
Charge for Device C = ¥1.23 per month * 11 months = ¥13.53
Total Amazon IoT Greengrass charges = Amazon IoT Greengrass active period charges for Device A + Amazon IoT Greengrass active period charges for Device B + Amazon IoT Greengrass active period charges for Device C = ¥13.53 + ¥13.53 + ¥13.53 = ¥40.59
Amazon IoT Core Charges
In this example, Amazon IoT Greengrass establishes two connections (one for deployment agent and one for subscriptions) for each device. (Note: Amazon IoT Core has a limit of 50 subscriptions per connection and as device A, B and C, each do not require more than 50 subscriptions, Amazon IoT Greengrass establishes only one connection to support overall subscription-based operations).
Number of connection minutes = Number of connections * Activity period (minutes)
Where, Activity period for each device over 11 months = 11 months * 730 hours per month * 60 minutes per hour = 481,800 minutes
Connection minutes for Device A = 2 connections * 481,800 minutes = 963,600 minutes
Connection minutes for Device B = 2 connections * 481,800 minutes = 963,600 minutes
Connection minutes for Device C = 2 connections * 481,800 minutes = 963,600 minutes
Charges for connection minutes = Number of connection minutes * ¥0.72 per million connection minutes = Number of connection minutes * ¥0.72/1,000,000 connection minutes. See additional Amazon IoT Core connectivity pricing details.
Charges for connection minutes for Device A = 963,600 minutes * ¥0.72/1,000,000 minutes = ¥0.69
Charges for connection minutes for Device B = 963,600 minutes * ¥0.72/1,000,000 minutes = ¥0.69
Charges for connection minutes for Device C = 963,600 minutes * ¥0.72/1,000,000 minutes = ¥0.69
Device B also uses local Lambdas to aggregate metrics every second and upload the collected metrics every five minutes to Amazon Web Services IoT.
Charges for sending messages to cloud = Number of messages * ¥8.97 per million messages. See additional Amazon IoT Core messaging pricing details.
Where, Number of messages sent by Device B in 11 months = 11 months * 730 hours per month * 12 messages per hour = 96,360 messages
Charges for sending messages for Device B = 96,360 messages * ¥8.97/1,000,000 messages = ¥0.86
Total Amazon IoT Core charges = Amazon IoT Core connection minute charges for Device A + Amazon IoT Core connection minute charges for Device B + Amazon IoT Core connection minute charges for Device C + Amazon IoT Core messaging charges for Device B = ¥0.69 + ¥0.69 + ¥0.69 + ¥0.86 = ¥2.93
Amazon IoT Greengrass and Amazon IoT Core Charges
Total Amazon IoT Greengrass charges + Total Amazon IoT Core charges = ¥40.59+ ¥2.93 = ¥43.52
Example 2 – An Amazon IoT Greengrass Core (Device A) is destroyed at the end of January, and Amazon IoT Greengrass Core (Device B) is powered on in February to replace it. This counts as 1 active device in January and 1 active device in February.
Amazon IoT Greengrass Charges
Monthly Amazon IoT Greengrass charges = Number of Active Amazon IoT Greengrass Cores * Monthly price per Amazon IoT Greengrass Core
Charge for Device A = 1 device * ¥1.23 per device per month = ¥1.23
Charge for Device B = 1 device * ¥1.23 per device per month = ¥1.23
Amazon IoT Greengrass charges for total activity period = Monthly Amazon IoT Greengrass charges * Activity period (months)
Total charge for Device A = ¥1.23 per month * 1 month = ¥1.23
Total charge for Device B = ¥1.23 per month * 1 month = ¥1.23
Total Amazon IoT Greengrass charges = Amazon IoT Greengrass active period charges for Device A + Amazon IoT Greengrass active period charges for Device B = ¥1.23 + ¥1.23 = ¥2.46
Amazon IoT Core Charges
In this example, Amazon IoT Greengrass establishes two connections (one for deployment agent and one for subscriptions) for each device. (Note: Amazon IoT Core has a limit of 50 subscriptions per connection and as device A and device B do not require more than 50 subscriptions, Amazon IoT Greengrass establishes only one connection to support overall subscription-based operations).
Number of connection minutes = Number of connections * Activity period (minutes)
Where, Activity period for each device over one month = 730 hours per month * 60 minutes per hour = 43,800 minutes
Connection minutes for Device A = 2 * 43,800 minutes = 87,600 minutes
Connection minutes for Device B = 2 * 43,800 minutes = 87,600 minutes
Charges for connection minutes = Number of connection minutes * ¥0.72 per million connection minutes = Number of connection minutes * ¥0.72/1,000,000 connection minutes. See additional Amazon IoT Core connectivity pricing details.
Charges for connection minutes for Device A = 87,600 minutes * ¥0.72/1,000,000 = ¥0.06
Charges for connection minutes for Device B = 87,600 minutes * ¥0.72/1,000,000 = ¥0.06
Device B also uses local Lambdas to aggregate metrics every second and upload the collected metrics every 5-minute to Amazon Web Services IoT.
Charges for sending messages to cloud = Number of messages * ¥8.97 per million messages. See additional Amazon IoT Core messaging pricing details.
Where, Number of messages sent by Device B in one month = 1 month * 730 hours per month * 12 messages per hour = 8,760 messages
Charges for sending messages for Device B = 8,760 messages * ¥8.97/1,000,000 messages = ¥0.08
Total Amazon IoT Core charges = Amazon IoT Core connection minute charges Device A + Amazon IoT Core connection minute charges Device B + Amazon IoT Core messaging charges Device B = ¥0.06 + ¥0.06 + ¥0.08 = ¥0.20
Amazon IoT Greengrass and Amazon IoT Core Charges
Total Amazon IoT Greengrass charges + Total Amazon IoT Core charges = ¥2.46+ ¥0.20 = ¥2.66
Example 3 - One Amazon IoT Greengrass Core Device A interacts with 120 Amazon IoT Greengrass-aware devices via the local network to process events from these devices and send updates to the cloud. Only Device A is counted as an Amazon IoT Greengrass core device and is charged. The device is active for 12 months. The 120 Amazon IoT Greengrass-aware-devices are configured to regularly sync their shadows with the cloud through Amazon IoT Core. There are also two subscriptions that enable two Amazon IoT Greengrass-aware devices to receive messages from the cloud (IoT/topic/1→ Amazon IoT Greengrass-aware-device1 and IoT/topic/2→ Amazon IoT Greengrass-aware-device2).
Amazon IoT Greengrass Charges
Monthly Amazon IoT Greengrass charge = Number of Active Amazon IoT Greengrass Cores * Monthly price per Amazon IoT Greengrass Core
Charge for Device A = 1 device * ¥1.23 per device per month = ¥1.23
Amazon IoT Greengrass charges for total activity period = Monthly Amazon IoT Greengrass charges * Activity period (months)
Total Amazon IoT Greengrass charges for Device A = ¥1.23 per month * 12 months = ¥14.76
Amazon IoT Core Charges
In this example, Amazon IoT Greengrass establishes one connection to support the Amazon IoT Greengrass deployment agent. In addition, Amazon IoT Greengrass establishes connections to support subscriptions for device A based on:
Number of connections due to subscriptions = (subscriptions due to devices syncing shadows to Amazon IoT Core + subscriptions for MQTT topics with cloud as source + subscriptions due to 2 shadows needed to support certificate generation workflow) / Maximum number of subscriptions per connection
Number of connections due to subscriptions from and through Device A = (120 Amazon IoT Greengrass aware devices + 2 connections for MQTT topics with cloud as source + 2 connections for subscriptions for shadow updates)/ 50 subscriptions per connection = 2.48 = rounded up to 3 connections.
Number of connections = connections for deployment agent + connections due to subscriptions
Number of connections for Device A = 1 + 3 = 4 connections
Number of connection minutes = Number of connections * Activity period (minutes)
Where, Activity period = 12 months * 730 hours per month * 60 minutes per hour = 525,600 minutes
Number of connection minutes for Device A = 4 connections * 525,600 minutes = 2,102,400 minutes
Charges for connection minutes = Number of connection minutes * ¥0.72 per million connection minutes. See additional Amazon IoT Core connectivity pricing details.
Charges for connection minutes for Device A = 2,102,400 minutes * ¥0.72/1,000,000 = ¥1.51
Amazon IoT Greengrass and Amazon IoT Core Charges
Total Amazon IoT Greengrass charges + Total Amazon IoT Core charges = ¥14.76 + ¥1.51 = ¥16.27
Learn more about getting started with Amazon IoT Greengrass