Cost to complete the project: The estimated cost to complete this project is $0.013. This cost assumes that you are within the AWS Free Tier limits, you follow the recommended configurations, and that you terminate all resources within 1 hour of completing the project. Your use case may require different configurations that can impact your bill. Use the Simple Monthly Calculator to estimate costs tailored for your needs

Monthly Billing Estimate: The total cost of deploying an IoT application will vary depending on your usage and configuration settings. Using the default configuration recommended in this guide, it will typically cost $16 per month. AWS pricing is based on your usage of each individual service. The total combined usage of each service will create your monthly bill. Explore the tabs below to learn what each service does and how it affects your bill.

Amazon EC2

Description: Amazon EC2 provides the virtual application servers, known as instances, to host your application. Amazon EC2 allows you to configure and scale your compute capacity easily to meet changing requirements and demand. It is integrated with Amazon’s proven computing environment, allowing you to leverage the AWS suite of services.

How Pricing Works: Amazon EC2 pricing is based on four components: the instance type you choose (EC2 comes in 40+ types of instances with options optimized for compute, memory, storage and more), the region your instances are based in, the software you run, and the pricing model you select (on-demand instances, reserved capacity, spot, etc.). For more information, see Amazon EC2 Pricing.

Cost Example: This project will set up one t2.micro EC2 instance, which costs $0.013/hour.

AWS IoT

Product Description: AWS IoT is a managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices. AWS IoT can support billions of devices and trillions of messages, and can process and route those messages to AWS endpoints and to other devices reliably and securely. With AWS IoT, your applications can keep track of and communicate with all your devices, all the time, even when they aren’t connected. AWS IoT makes it easy to use AWS services like AWS Lambda, Amazon Kinesis, Amazon S3, Amazon Machine Learning, Amazon DynamoDB, Amazon CloudWatch, AWS CloudTrail, and Amazon Elasticsearch Service with built-in Kibana integration, to build IoT applications that gather, process, analyze and act on data generated by connected devices, without having to manage any infrastructure.

How Pricing Works: With AWS IoT, you pay for only what you use and there are no minimum fees. Prices are based on the number of messages published to AWS IoT (Publishing Cost), and the number of messages delivered by AWS IoT to devices or applications (Delivery Cost). For more information, see AWS IoT Pricing.

Cost Estimate: This project uses 2160 messages received per hour (3 olmessages every 5 seconds), which results in a cost of $0.0108.

AWS Lambda

Product Description: AWS Lambda lets you run code without provisioning or managing servers. With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. You can set up your code to automatically trigger from other AWS services or call it directly from any web or mobile app. In this project, the CloudFormation template contains an embeded Lambda function definition, which creates a Node.js-based function. This function will be used by the dashboard to read time-series data stored in the DynamoDB tables.

How Pricing Works: With AWS Lambda, you pay only for what you use. You are charged based on the number of requests for your functions and the time your code executes. For more information, see AWS Lambda Pricing.

Amazon DynamoDB

Product Description: Amazon DynamoDB is a fast and flexible NoSQL database service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud database and supports both document and key-value store models.

How Pricing Works: Amazon DynamoDB pricing is based on five components: the rate of read and write requests per second you need (this is known as Provisioned Throughput Capacity), the yearly term you purchase on (Reserved Throughput Capacity), the data you store on DynamoDB (Indexed Storage), the data you transfer out of DynamoDB (Data Tranfer), and any time-ordered sequence of item-level chnages of your DynamoDB table (DynamoDB Streams). For more information, see Amazon DynamoDB Pricing.

Cost Estimate: The cost for a table with 5 megabytes of storage and 5 capacity units each for both consistent reads & writes is approximately $0.00515/hour.

Amazon API Gateway

Product Description: Amazon API Gateway is a fully managed service that makes it easy for developers to publish, maintain, monitor, and secure APIs at any scale. With a few clicks in the AWS Management Console, you can create an API that acts as a “front door” for applications to access data, business logic, or functionality from your back-end services, such as applications running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, or any web application. Amazon API Gateway handles all of the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management. In this project, the CloudFormation template will create an API that is backed by an AWS Lambda function that, when called via a GET method, will return time-series data from devices stored in DynamoDB. The dashboard in this tutorial will make those GET calls on your behalf.

How Pricing Works: With Amazon API Gateway, you only pay when your APIs are in use. There are no minimum fees or upfront commitments. You pay only for the API calls you receive and the amount of data transferred out. For more details, see API Gateway Pricing.

Amazon S3

Product Description: Amazon S3 provides secure, durable, and highly-scalable cloud storage for objects. Examples of objects you can store include HTML pages, CSS files, images, videos, and JavaScript. Amazon S3 makes it is easy to use object storage with a simple web interface to store and retrieve data from anywhere on the web.

How Pricing Works: Amazon S3 Pricing is based on five components: the type of S3 storage you use, where you store your website content (e.g. US East vs. Asia Pacific - Sydney), the amount you store, the number of requests you or your users make to store new content or retrieve the content, and the amount of data that is transferred from S3 to you or your users.&nbsp; Since you’ll deliver content with Amazon CloudFront, your S3 costs will be based on storage. For more infromation, see Amazon S3 pricing.