Costs

AMAZON AWS

AMAZON AWS IOT PRICING FOR MESSAGING SERVICES:
AWS IOT CORE SERVICES WILL INCLUDE:

  1. Connectivity charge: Connectivity is metered in 1 minute increments and is based on the total time your devices are connected to AWS IoT Core.

Cost is $0.08 – $0.132 per each million minutes in connecting based on region around the world.

example of the cost for this type of charge:

Let’s take the case of 1 device to constantly get connected with the app to control that device. We need to use this AWS IoT Core service for this purpose. Let’s calculate for how many minutes the app needs to stay constantly get connected with the device in order to constantly control the device:

1 device x 1 month x (30 days / month) x (24 hours / day) x (60 minutes / hour) = 43,200 minutes per device for 1 month to use AWS IoT Core service.

The cost for 1 device to stay connected with the app per month = 43,200 minutes x $0.08 / 1,000,000 minutes = $0.003 per device.

So for 1,000 devices, the connectivity cost is = 1000 x $0.003 =     $3 per month

So for 10,000 devices, the connectivity cost is         $30 per month

So for 100,000 devices, the connectivity cost is       $300 per month

So for 1,000,000 devices, the connectivity cost is    $3000 per month

  1. Device and Shadow Registry charge: is metered by the number of operations that access or modify Device Shadow or Registry data. The cost based on Rule triggered or Action executed.

Rule triggered cost is: $0.15 per million rules based on 5Kb data size

Action executed cost is: $0.20 per million actions based on 5Kb data size

example of the cost for this type of charge:

Let’s take the case of 1 device needs to update its firmware image with the size of 1GB.

To update this device every time we have new firmware image, we need to use AWS IoT Core service for this purpose. Let’s calculate to see how many messages of Rules and Actions needed to update this device with a firmware image of 1GB in size. This is a very common thing to do for IoT product.

1 device x (1GB Image size) x (1,000,000 Kbytes/GB) x (5Kbyte / Rule)  = 5,000,000 message for Rule triggered to update this device with new image.

1 device x (1GB Image size) x (1,000,000 Kbytes/GB) x (5Kbyte / Action)  = 5,000,000 message for Action executed to update this device with new image.

The cost for 1 device to get updated with new 1GB image size based on Rule triggerd charge:

1 device x ($0.15 / 1,000,000 Rules) x (5,000,000 messages / Rules) = $0.75 per device based on Rule triggered cost.

The cost for 1 device to get updated with new 1GB image size based on Action executed charge:

1 device x ($0.20 / 1,000,000 Rules) x (5,000,000 messages / Rules) = $1.0 per device based on Action executed cost.

The cost for 1 device to get new image updated each time = $0.75 + $1.0 = $1.75 per device

So for 1,000 devices, the Device and Shadow Registry cost is = 1000 x $1.75 = $1,750 each time for new firmware image get updated to 1,000 devices in operation

So for 10,000 devices, the Device and Shadow Registry cost is = 10,000 x $1.75 = $17,500 each time for new firmware image get updated to 10,000 devices in operation

So for 100,000 devices, the Device and Shadow Registry cost is = 100,000 x $1.75 = $175,000 each time for new firmware image get updated to 100,000 devices in operation

So for 1,000,000 devices, the Device and Shadow Registry cost is = 1,000,000 x $1.75 = $1,750,000 each time for new firmware image get updated to 1,000,000 devices in operation

But from my previous experience with previous companies that I worked for. If you have more than 100,000 devices in operations and would like to update images for these devices, Amazon IoT core service will charge you only $0.45 per device.

So for 100,000 devices, the cost to update these devices with new firmware image is: 100,000 x $0.45 =         $45,000 only.

So for 1,000,000 devices, the cost to update these devices with new firmware image is: 1,000,000 x $0.45 =      $450,000 only.

AMAZON AWS CLOUD SERVICES INCLUDE:

Amazon Athena, Amazon Aurora MySQL Compatible, Amazon Aurora is a MySQL and PostgreSQL-compatible, Amazon Chime, Amazon CloudWatch, Amazon CodeGuru Reviewer, Amazon DocumentDB (with MongoDB compatibility), Amazon Elastic Compute Cloud (Amazon EC2), Amazon Elastic Block Storage (EBS), Amazon Elastic File System (EFS), Amazon Elastic Graphics, An Elastic IP, Amazon Elastic Transcoder, Amazon ElastiCache, Amazon Elasticsearch, Amazon FSx for Lustre, Amazon FSx for Windows, Amazon Kinesis Data Streams (KDS), Amazon MQ, Amazon RDS for MariaDB, Amazon RDS for MySQL, Amazon RDS for PostgreSQL, Amazon Redshift, Amazon Route 53, Amazon S3 Glacier (Glacier API only), Amazon Simple Email Service (SES), Amazon Simple Notification Service (SNS), Amazon Simple Queue Service (SQS), Amazon Simple Storage Service (S3), Amazon Simple Workflow Service (SWF), Amazon Virtual Private Cloud (VPC), Amazon WorkDocs, AWS CloudHSM, AWS Config, AWS Data Transfer, AWS DataSync, AWS Directory Service, AWS Glue, AWS Key Management Service, AWS Lambda, AWS Storage Gateway, AWS Transfer Family, AWS Web Application Firewall (WAF), Elastic Load Balancing.

It is almost impossible to find an AWS expert to know deeply about AWS cloud technology to provide you proper service for your need. Or you will pay for what you don’t need in the end and waste your money on something you don’t need.

But we only focus on the cost of using basic Amazon AWS cloud based on the very basic requirements which are the storage capacity, CPU performance, memory, and how many Virtual Machines to support 1000, 10000, 100000, or 1000000 devices to be in operation.

And the cost requirements to setup the cloud and maintenance contract to support these devices in operation.

Configure Amazon EC2 with EC2 instance specifications:

Operating system: Linux

Instance type

t3a.xlarge On-Demand hourly cost

vCPUs             GPUs              Storage          Memory (GiB)          Network performance

4                         NA                  30GB                    16GiB                  Moderate

1YR Std reserved hourly cost                $0.0943

Enter the number of Amazon EC2 instances:                              1

Amazon Elastic Block Storage (EBS) pricing (monthly):          $3.00 USD

Amazon EC2 Instance Savings Plans instances (monthly):      $68.84 USD

Total monthly cost:    $71.84 US

How many Amazon EC2 instances we need to support:

Cost of Amazon EC2 to support 1,000 devices:               5 x $71.84 = $  359.2

Cost of Amazon EC2 to support 10,000 devices:            20 x $71.84 = $  1,436.8

Cost of Amazon EC2 to support 100,000 devices:          50 x $71.84 = $  3,592.0

Cost of Amazon EC2 to support 1,000,000 devices:      200 x $71.84 = $14,368.0

MICROSOFT AZURE

MICROSOFT AZURE FUNCTION PRICING FOR MESSAGING SERVICES:

Azure Functions consumption plan is billed based on per-second resource consumption and executions. Consumption plan pricing includes a monthly free grant of 1 million requests and 400,000 GB-s of resource consumption per month per subscription in pay-as-you-go pricing across all function apps in that subscription. Azure Functions Premium plan provides enhanced performance and is billed on a per second basis based on the number of vCPU-s and GB-s your Premium Functions consume. Customers can also run Functions within their App Service plan at regular App Service plan rates.

METER                                  PRICE                                                    FREE GRANT (PER MONTH)

Execution Time*               $0.000016/GB-s                                                400,000 GB-s

Total Executions*            $0.20 per million executions       1 million executions

Functions are billed based on total number of requested executions each month for all functions. Executions are counted each time a function is executed in response to an event, triggered by a binding. The first million executions are included free each month.

Functions are billed based on observed resource consumption measured in gigabyte seconds (GB-s). Observed resource consumption is calculated by multiplying average memory size in gigabytes by the time in milliseconds it takes to execute the function. Memory used by a function is measured by rounding up to the nearest 128 MB, up to the maximum memory size of 1,536 MB, with execution time calculated by rounding up to the nearest 1 ms. The minimum execution time and memory for a single function execution is 100 ms and 128 mb respectively. Functions pricing includes a monthly free grant of 400,000 GB-s.

Azure Functions can be used with Azure IoT Edge at no charge.

Pricing example for the case of 1 device needs to update its firmware image with the size of 512 MB.

A function with observed memory consumption of 512 MB executes 3,000,000 times during the month and has an execution duration of one second. Monthly billing would be calculated as follows:

Resource Consumption Billing Calculation

Resource consumption (seconds)

Executions        3 million executions

Execution duration (seconds)      x 1 second

Resource consumption Total       3 million seconds

Resource consumption (GB-s)

Resource consumption converted to GBs       512 MB / 1,024 MB

Execution time (seconds)        x 3 million seconds

Total GB-s         1.5 million GB-s

Billable resource consumption

Resource consumption          1.5 million GB-s

Monthly free grant         400,000 GB-s

Total billable consumption         1.1 million GB-s

Monthly resource consumption cost

Billable resource consumption        1.1 million GB-s

Resource consumption price          $0.000016/GB-s

Total cost        $17.60

Executions billing calculation

Billable executions

Total monthly executions             3 million executions

Monthly free executions                1 million executions

Monthly billable executions         2 million executions

Monthly executions cost

Monthly billable executions        2 million executions

Price per million executions        $0.20

Monthly execution cost       $0.40

Total consumption billing calculation

Total monthly cost

Monthly resource consumption cost        $17.60

Monthly executions cost      $0.40

Total monthly cost      $18

The cost for 1 device to stay connected with the app per month =  $18 per month

So for 1,000 devices, the Azure Function cost is          1,000 x $18 = $18,000 per month

So for 10,000 devices, the Azure Function cost is         10,000 x $18 = $180,000 per month

So for 100,000 devices, the Azure Function cost is        100,000 x $18 = $1,800,000 per month

So for 1,000,000 devices, the Azure Function cost is    1,000,000 x $18 = $18,000,000 per month

 

But from my previous experience with previous companies that I worked for. If you have more than 100,000 devices in operations and would like to update images for these devices, Microsft Azure Function service will charge you only $1.90 per device.

So for 100,000 devices, the cost to update these devices with new firmware image is: 100,000 x $1.90 =          $190,000 only.

So for 1,000,000 devices, the cost to update these devices with new firmware image is: 1,000,000 x $1.90 =      $1,900,000 only.

MICROSOFT AZURE CLOUD SERVICES INCLUDE:

Azure Virtual Machines, Azure SQL Database, Azure Cosmos DB, Azure Kubernetes Service (AKS), Cognitive Services, Storage Accounts (Block Blobs, Azure Data Lake Storage, Managed Disks, Files), Azure App Service, Azure PlayFab, Azure Functions

It is almost impossible to find an Azure expert to know deeply about Azure cloud technology to provide you proper service for your need. Or you will pay for what you don’t need in the end and waste your money on something you don’t need.

But we only focus on the cost of using basic Microsoft Azure cloud based on the very basic requirements which are the storage capacity, CPU performance, memory, and how many Virtual Machines to support 1000, 10000, 100000, or 1000000 devices to be in operation.

And the cost requirements to setup the cloud and maintenance contract to support these devices in operation.

Configure Microsoft Azure Virtual Machine service with the following AV2 specifications:

Operating system: Linux

Instance          vCPU(s)             RAM               Temporary storage              Pay as you go – 12 months                Pay as you go – 36 months

A4 v2                    4                     8 GiB                       40 GiB                                  $0.159/hour                                      $0.0247/hour (~84%)

or

A4 v2                     4                    8 GiB                       40 GiB                               ~$116.0700/month                           ~$18.0026/month (~84%)

Number of CPU for AV2 instances:        4

Total monthly cost per AV2 instance above:           $116.07

How many Microsoft AV2 Virtual Machines we need to support:

Cost of Microsoft AV2 Virtual Machines to support 1,000 devices:              5 x $116.07 =   $580.35

Cost of Microsoft AV2 Virtual Machines to support 10,000 devices:           20 x $116.07 = $2,321.4

Cost of Microsoft AV2 Virtual Machines to support 100,000 devices:         50 x $116.07 = $5,803.5

Cost of Microsoft AV2 Virtual Machines to support 1,000,000 devices:       200 x $116.07 = $23,214

EXPERTISE - TO TRAIN

Amazon AWS

Google Cloud/IoT Core

Microsoft Azure

Foundation – 3 courses
(starts at $100 /course)

Foundation courses start at 200
USD

Foundation – multiple courses
(starts at 165 USD /course)

Associate – 4 courses
(starts at $150 /course)

For further trainings, contact
Google Sales

Advanced – multiple courses
(starts at 400 USD /course)

Professional – 4 courses
(starts at $300 /course)

Specialization – multiple courses
(starts at 500 USD /course)

EXPERTISE - TO HIRE

IoT Specialist

BlackBerry
Starts at $99K /y

ResourceData
Starts at $78K /y

Deloitte
Starts at $68K /y

IBM
Starts at $122K /y

Verizon
Starts at $87K /y

Deloitte
Starts at $68K /y

LOOKING FOR A CONSULTANT?