| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | If you want to use this, make a copy to add it to your own google drive account | ||||||||||||||||||||||||
2 | PARAMETERS | EDIT HERE | units | Notes | Esimated costs for 1,000,000 page views | ||||||||||||||||||||
3 | tiles per viewing session | 100 | tiles | <- this is a big question | tiles per viewing session | ||||||||||||||||||||
4 | Sessions | Month 1 | 1,000,000 | sessions | Avg tile size | 50 | 100 | 150 | 200 | 250 | |||||||||||||||
5 | other months | 100,000 | sessions | Avg tile size | 50 | $307 | $612 | $917 | $1,222.30 | $1,527 | |||||||||||||||
6 | Avg. Tile Size | 100 | KB | <- this seems to be accurate unless we change what's included in the PMTiles file (like excluding landuse, buildings, etc.) | 75 | $432 | $862 | $1,292 | $1,722.30 | $2,152 | |||||||||||||||
7 | GB on cloud storage | 100 | GB | Zoom 12 should be around 4 GB? | 100 | $557 | $1,112 | $1,667 | $2,222.30 | $2,777 | |||||||||||||||
8 | 125 | $682 | $1,362 | $2,042 | $2,722.30 | $3,402 | |||||||||||||||||||
9 | Calculations | 150 | $807 | $1,612 | $2,417 | $3,222 | $4,027 | ||||||||||||||||||
10 | Tile requests | Month 1 | 100,000,000 | requests | |||||||||||||||||||||
11 | other months | 10,000,000 | requests | ||||||||||||||||||||||
12 | outgoing bandwidth to Internet | Month 1 | 10,000 | GB | |||||||||||||||||||||
13 | other months | 1,000 | GB | ||||||||||||||||||||||
14 | |||||||||||||||||||||||||
15 | From https://docs.protomaps.com/deploy/cost | Unit Cost | unit cost (number) | Multiplier | Cost month 1 | Cost other months | Notes | ||||||||||||||||||
16 | CloudFront GET Requests | 0.009 / 10,000 (estimated) | 0.0000009 | $90.00 | $9.00 | ||||||||||||||||||||
17 | CloudFront Bandwidth to Internet | 0.10 / GB (estimated) | 0.1 | $1,000.00 | $100.00 | ||||||||||||||||||||
18 | Lambda Function Invocations | 0.60 / 1,000,000 | 0.5 (50% cache hit rate) | ||||||||||||||||||||||
19 | Lambda Compute | 0.0000000067 / 1ms | 0.5 (50% cache hit rate) * 4 (512 MB RAM, avg. 200 ms duration) | ||||||||||||||||||||||
20 | S3 Bandwidth to CloudFront | 0 | $0.00 | $0.00 | |||||||||||||||||||||
21 | S3 GetObject Requests | 0.0004 / 1000 | 0.0000004 | 0.5 | $20.00 | $2.00 | |||||||||||||||||||
22 | S3 Storage Costs | 0.023 / GB | 0.023 | $2.30 | $2.30 | ||||||||||||||||||||
23 | |||||||||||||||||||||||||
24 | Total costs | $1,112.30 | $113.30 | ||||||||||||||||||||||
25 | 0.2067787467 | ||||||||||||||||||||||||
26 | |||||||||||||||||||||||||
27 | |||||||||||||||||||||||||
28 | |||||||||||||||||||||||||
29 | |||||||||||||||||||||||||
30 | |||||||||||||||||||||||||
31 | |||||||||||||||||||||||||
32 | |||||||||||||||||||||||||
33 | |||||||||||||||||||||||||
34 | |||||||||||||||||||||||||
35 | |||||||||||||||||||||||||
36 | |||||||||||||||||||||||||
37 | |||||||||||||||||||||||||
38 | |||||||||||||||||||||||||
39 | |||||||||||||||||||||||||
40 | |||||||||||||||||||||||||
41 | |||||||||||||||||||||||||
42 | |||||||||||||||||||||||||
43 | |||||||||||||||||||||||||
44 | |||||||||||||||||||||||||
45 | |||||||||||||||||||||||||
46 | |||||||||||||||||||||||||
47 | |||||||||||||||||||||||||
48 | |||||||||||||||||||||||||
49 | |||||||||||||||||||||||||
50 | |||||||||||||||||||||||||
51 | |||||||||||||||||||||||||
52 | |||||||||||||||||||||||||
53 | |||||||||||||||||||||||||
54 | |||||||||||||||||||||||||
55 | |||||||||||||||||||||||||
56 | |||||||||||||||||||||||||
57 | |||||||||||||||||||||||||
58 | |||||||||||||||||||||||||
59 | |||||||||||||||||||||||||
60 | |||||||||||||||||||||||||
61 | |||||||||||||||||||||||||
62 | |||||||||||||||||||||||||
63 | |||||||||||||||||||||||||
64 | |||||||||||||||||||||||||
65 | |||||||||||||||||||||||||
66 | |||||||||||||||||||||||||
67 | |||||||||||||||||||||||||
68 | |||||||||||||||||||||||||
69 | |||||||||||||||||||||||||
70 | |||||||||||||||||||||||||
71 | |||||||||||||||||||||||||
72 | |||||||||||||||||||||||||
73 | |||||||||||||||||||||||||
74 | |||||||||||||||||||||||||
75 | |||||||||||||||||||||||||
76 | |||||||||||||||||||||||||
77 | |||||||||||||||||||||||||
78 | |||||||||||||||||||||||||
79 | |||||||||||||||||||||||||
80 | |||||||||||||||||||||||||
81 | |||||||||||||||||||||||||
82 | |||||||||||||||||||||||||
83 | |||||||||||||||||||||||||
84 | |||||||||||||||||||||||||
85 | |||||||||||||||||||||||||
86 | |||||||||||||||||||||||||
87 | |||||||||||||||||||||||||
88 | |||||||||||||||||||||||||
89 | |||||||||||||||||||||||||
90 | |||||||||||||||||||||||||
91 | |||||||||||||||||||||||||
92 | |||||||||||||||||||||||||
93 | |||||||||||||||||||||||||
94 | |||||||||||||||||||||||||
95 | |||||||||||||||||||||||||
96 | |||||||||||||||||||||||||
97 | |||||||||||||||||||||||||
98 | |||||||||||||||||||||||||
99 | |||||||||||||||||||||||||
100 | |||||||||||||||||||||||||