Cost settings

Nodes carry the Pricing panel's settings in a cost object, and a page with project stages lists them in stages.

Fields#

FieldOnValue
regionAWS Cloud and Region groupsThe AWS region code for the services inside, such as "us-east-1".
serviceService iconsAn AWS Pricing Calculator service code, only when the icon stands for more than one service.
templateService iconsThe calculator template the service uses.
valuesService iconsCalculator input ids mapped to { "value": ..., "unit": ... }.
subServicesService iconsFor icons priced as several services, a list of { "service", "template", "values" }.
countService iconsIdentical copies the icon stands for, a whole number from 1 to 100. Defaults to 1.
excludedService iconstrue leaves the service out of the estimate.
stagesService iconsWhat 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": []
}
FieldValue
idUnique among the page's stages. Nodes refer to stages by it.
nameUp to 40 characters, unique among the page's stages whatever the case.
monthsOptional. 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, count and excluded. What it doesn't set comes from the stage before it.
  • A stage's values replace the previous stage's values as a whole.
  • region and service are the same in every stage.
  • cost.stages can only name the page's stages, and not the first one:
nodes[4].cost.stages.staging does not match any stage of the page

Copied services keep their stage settings. Pasting them onto another page matches stages by id, then by name, and drops the rest.