14. Costs

You pay AWS directly for what the stack runs. Approximate figures in US East (N. Virginia), default sizes, before data transfer and storage growth:

Setting

Approx. per day

Approx. per month

HighAvailability = Yes (recommended)

about $25

about $750

HighAvailability = No (trials only)

about $9

about $270

The biggest items are the database, the servers (ECS Fargate), the NAT gateway and the load balancer. Stored files are billed by S3 per GB. Use the AWS Pricing Calculator for your exact sizes.

Switching QuantaCloud off and on

While QuantaCloud is off, the servers (ECS) and the database are stopped and cost nothing. The load balancer, the cache, the NAT gateway and stored files still cost (roughly a third of the daily figure). Your files and settings are kept.

  • Automatically: set the power schedule (form Section 7). To set or change it on a running stack (switch it on first — an update needs the database running): CloudFormation → your stack → Update stack → Make a direct update → Use existing template → Next, change the four Power… fields, Next → Next → tick the IAM box → Submit.

  • By hand — switch on (or off):

    1. Open the TurnOnLink from the stack’s Outputs tab and sign in to AWS. The function <stack name>-power opens on its Test tab.

    2. Test event action: Create new event. Event name: turn-on.

    3. Event JSON: replace everything with {"action": "on"} (or {"action": "off"} to switch off).

    4. Click Test and keep the page open. Switching on takes 10–15 minutes: the result box shows Succeeded once the database is up and the services are starting; about 5 minutes later your domain opens. Switching off shows Succeeded within a minute. If the result’s notes says the database is busy, run off again a few minutes later.

Note

AWS starts a stopped database again by itself after 7 days. With a schedule, the next scheduled switch-off stops it again; without one, switch it off by hand if nobody needs it.