Cost settings
Nodes carry the Pricing panel's settings in a cost object, and a page with project stages lists them in stages.
Fields#
| Field | On | Value |
|---|---|---|
region | AWS Cloud and Region groups | The AWS region code for the services inside, such as "us-east-1". |
service | Service icons | An AWS Pricing Calculator service code, only when the icon stands for more than one service. |
template | Service icons | The calculator template the service uses. |
values | Service icons | Calculator input ids mapped to { "value": ..., "unit": ... }. |
subServices | Service icons | For icons priced as several services, a list of { "service", "template", "values" }. |
count | Service icons | Identical copies the icon stands for, a whole number from 1 to 100. Defaults to 1. |
excluded | Service icons | true leaves the service out of the estimate. |
stages | Service icons | What changes in later stages. See Stages. |
You rarely write cost by hand. Set usage in the Pricing panel, or have an
MCP client use the pricing tools, which
check each value. When you edit a node's JSON, keep its cost as it is.
On a new node, leave cost out to start from the calculator's default usage, or set only count and excluded:
{
"id": "workers",
"icon": "AWS-Fargate",
"position": { "x": 0, "y": 0 },
"label": "Workers",
"cost": { "count": 20 }
}Only service icons inside an AWS Cloud group count. See How estimates work.
Stages#
{
"stages": [
{ "id": "poc", "name": "PoC", "months": 2 },
{ "id": "mvp", "name": "MVP", "months": 4 },
{ "id": "prod", "name": "Production" }
],
"nodes": [],
"arrows": []
}| Field | Value |
|---|---|
id | Unique among the page's stages. Nodes refer to stages by it. |
name | Up to 40 characters, unique among the page's stages whatever the case. |
months | Optional. A whole number from 1 to 120. The stage's total is monthly × months, plus upfront. |
A page has from 2 to 6 stages, in the order they happen. An empty list means no stages.
A service's cost fields are its settings in the first stage, and cost.stages holds what changes in later stages, keyed by stage id:
{
"id": "waf",
"icon": "AWS-WAF",
"position": { "x": 0, "y": 0 },
"cost": { "excluded": true, "stages": { "prod": { "excluded": false } } }
}This WAF is left out of the PoC and the MVP, which inherits from the PoC, and included in production.
- A stage can set
template,values,subServices,countandexcluded. What it doesn't set comes from the stage before it. - A stage's
valuesreplace the previous stage'svaluesas a whole. regionandserviceare the same in every stage.cost.stagescan only name the page's stages, and not the first one:
nodes[4].cost.stages.staging does not match any stage of the pageCopied services keep their stage settings. Pasting them onto another page matches stages by id, then by name, and drops the rest.