# AWS IoT Core Device & Limits Calculator AI Agent Connect

> Calculate AWS IoT Core messaging throughput, device scale, and resource limits.

## Overview
- **Category:** infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_HQTQGjegdjHbsCLiSgvmtcMvsnuBc8mKd8WbjSqD/ai-agent-connect
- **Tags:** aws-iot, iot-core, device-management, cloud-architecture, mqtt

## Description

This MCP server provides deterministic calculations for AWS IoT Core architectures. It helps engineers determine if their device fleet and messaging patterns align with AWS best practices and hard limits. Use `calculate_messaging_load` to validate throughput and payload sizes, `calculate_resource_limits` to plan security and management resources, and `calculate_connectivity_summary` to get a high-level adherence report for your account.

## Tools

### calculate_connectivity_summary
Provides a high-level summary of the account's adherence to AWS IoT best practices

### calculate_messaging_load
Calculates the total messaging throughput and validates against message size constraints

### calculate_resource_limits
Calculates the capacity and distribution of security and management resources

## Prompt Examples

**Prompt:** 
```
Calculate the messaging load for 50,000 devices sending 2 messages per second with a 50 KB payload.
```

**Response:** 
```
The total messaging throughput is 100,000 messages per second, with a total data throughput of 5,000,000 KBps. The message size is valid and the device count is within the recommended limit.
```

**Prompt:** 
```
What are the recommended resource limits for an account with 2,000,000 devices and 50 rules?
```

**Response:** 
```
For 2,000,000 devices and 50 rules, the recommended limits are 10 certificates per thing, 10 policies per certificate, 100 rules per account, 10 actions per rule, 100,000 jobs per account, 1,000 queries per second, and 10 shadow updates per second per thing.
```

**Prompt:** 
```
Check the connectivity summary for 150,000 msg/s, 2,000,000 devices, and a 150 KB message size.
```

**Response:** 
```
The account exceeds the recommended messaging throughput (150,000 > 100,000), exceeds the recommended device count (2,000,000 > 1,000,000), and violates the hard message size limit (150 KB > 128 KB).
```

## Frequently Asked Questions

**How do I check if my message size is valid?**
You can use the `calculate_messaging_load` tool. It will validate if your message size is within the 128 KB hard limit.

**Can I calculate resource limits for my IoT account?**
Yes, the `calculate_resource_limits` tool calculates recommended certificates, policies, rules, and jobs based on your device count.

**What is the maximum recommended messaging throughput?**
AWS recommends staying within 100,000 messages per second per account to ensure stability.
