EC2 instances
Typically you’ll see the following EC2 instances on your AWS deployment
Mandatory | Auto-scalable | Purpose | |||
---|---|---|---|---|---|
1 | Web | yes | yes | REST API | |
2 | Media | yes | yes | Recording, streaming | |
3 | Host | yes | yes | Camera connectivity | |
4 | CM | yes | yes | Camera manager | |
5 | Control | yes | no | Resource manager | |
6 | Backup | no | yes | SD card backup | |
7 | WebRTC | no | yes | Low latency streaming | |
8 | AI Adapter | no | no | AI API | |
9 | AI Poller | no | yes | AI processing | |
10 | Uplink (proxy) | no | yes | Uplink plug-in connectivity | |
11 | LiveImageGen | no | yes | generate images from live | |
12 | ImageGen | no | yes | generate images from storage |
RDS instances
Plus, the following RDS
Mandatory | Purpose | ||
---|---|---|---|
1 | VMS | yes | Camera, events, storage meta |
2 | AI | no | AI meta |
First deployment
Minimal first deployment and cost
Type | On-demand | ||
---|---|---|---|
1 | EC2 - Web | t3a.small | $14 |
2 | EC2 - Media | t3a.small | $14 |
3 | EC2 - Host | t3a.small | $14 |
4 | EC2 - CM | t3a.small | $14 |
5 | EC2 - Control | t3a.small | $14 |
6 | EC2 - AI Poller | t3a.small | $14 |
7 | EC2 - AI Adapter | t3a.small | $14 |
8 | EC2- WebRTC | t3a.small | $14 |
9 | EC2 - CloudOne (VSaaS template) | t2.micro | $8 |
10 | RDS - VMS | db.t3.small (Single AZ) | $28 |
11 | RDS - AI | db.t3.small (Single AZ) | $28 |
12 | Total | $176 |
Typical deployment
Typical installation and cost
Type | On-demand | Compute saving plan | ||
---|---|---|---|---|
1 | EC2 - Web | m5.large | $69 | $42 |
2 | EC2 - Media | m5.large | $69 | $42 |
3 | EC2 - Host | m5.large | $69 | $42 |
4 | EC2 - CM | m5.large | $69 | $42 |
5 | EC2 - Control | m5.large | $69 | $42 |
6 | RDS | db.t3.large (Single AZ) | $105 | $75 |
7 | Total | $450 | $285 |
Example of 200 cameras
Type | Number of instances | On-demand | Compute saving plan | ||
---|---|---|---|---|---|
1 | EC2 - Web | m5.large | 1 | $69 | $42 |
2 | EC2 - Media | m5.large | 1 | $69 | $42 |
3 | EC2 - Host | m5.large | 2 | $138 | $84 |
4 | EC2 - CM | m5.large | 1 | $69 | $42 |
5 | EC2 - Control | m5.large | 1 | $69 | $42 |
6 | RDS | db.t3.large (Single AZ) | 1 | $105 | $75 |
7 | Total | $519 | $327 | ||
8 | Per camera | $2.6 | $1.6 |
Example of 1000 cameras
Type | Number of instances | On-demand | Compute saving plan | ||
---|---|---|---|---|---|
1 | EC2 - Web | m5.large | 1 | $69 | $42 |
2 | EC2 - Media | m5.large | 5 | $345 | $210 |
3 | EC2 - Host | m5.large | 10 | $690 | $420 |
4 | EC2 - CM | m5.large | 3 | $207 | $126 |
5 | EC2 - Control | m5.large | 1 | $69 | $42 |
6 | RDS | db.t3.large (Single AZ) | 1 | $105 | $75 |
7 | Total | $1,485 | $915 | ||
8 | Per camera | $1.5 | $0.9 |