Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/How much storage required for the canton network setup in VMForum ↗

How much storage required for the canton network setup in VM

App Development2 posts173 viewsLast activity Jan 2024
MA
ManjuOP
Jan 2024

Hi Team,

How much storage space required to setup a canton network in the VM which includes dependencies like (java, os, docker, docker compose, daml sdk) and running a canton network (domain, participant nodes)?

BE
Ben_M
Jan 2024

Hi Manu,

In terms of your VM’s initial storage-on-disk for the operating system type needs (Package cache, Java, Swap space, BOOT directory, Userspace etc), you would be looking at a minimum of 30GB VM assuming it was Ubuntu Linux 20.04/22.04 LTS.

Specifically referring to the Canton application, these are further considerations:

  • Canton Enterprise stores data in a Postgres database, hence all the storage requirements are located specifically there.
  • The overall database storage size depends on how many contracts you store on the ledger and how much transaction history that you plan to keep. Of course, this in turn is driven by your respective use-case.
  • If you plan to run Canton and/or Postgres in a Docker container, you will need to consider how Logging will be configured and stored, ie --log-profile=container as Canton logging can generate a substantial amount of Logs, even at the INFO/WARN level notifications.

For further information about Canton Logging, visit here.

← Back to Discussions