|
| 1 | +############################################################# |
| 2 | +# Example configuration for FANTOM nodes runner app on AWS # |
| 3 | +############################################################# |
| 4 | + |
| 5 | +## Set the AWS account is and region for your environment ## |
| 6 | +AWS_ACCOUNT_ID="xxxxxxxxxxx" |
| 7 | +AWS_REGION="ap-southeast-2" |
| 8 | + |
| 9 | +## Optional FANTOM snapshots download link # IMPORTANT !!! Make sure the url is valid before you use it! |
| 10 | +#FANTOM_SNAPSHOTS_URI=https://snapshot.fantom.network/files/snapsync/ # Optional param. We extract the actual URL from https://raw.githubusercontent.com/48Club/fantom-snapshots/main/data.json if nothing is specified. Otherwise, check the latest vesion for Full node here: https://github.com/48Club/fantom-snapshots |
| 11 | + |
| 12 | +## Common configuration parameters ## |
| 13 | +FANTOM_NETWORK="mainnet" # All options: "mainnet", "testnet" |
| 14 | +FANTOM_NODE_CONFIGURATION="read" # All options: "read", "api", "validator" |
| 15 | + |
| 16 | +## Instance Nodes |
| 17 | +FANTOM_INSTANCE_TYPE="m6a.2xlarge" |
| 18 | +FANTOM_CPU_TYPE="x86_64" # All options: "x86_64", "ARM_64". IMPORTANT: Make sure the CPU type matches the instance type used |
| 19 | + |
| 20 | +# Data volume configuration |
| 21 | +FANTOM_DATA_VOL_TYPE="gp3" # Other options: "io1" | "io2" | "gp3" | "instance-store" . IMPORTANT: Use "instance-store" option only with instance types that support that feature, like popular for node im4gn, d3, i3en, and i4i instance families |
| 22 | +FANTOM_DATA_VOL_SIZE="2000" # Current required data size to keep both snapshot archive and unarchived version of it |
| 23 | +FANTOM_DATA_VOL_IOPS="7000" # Max IOPS for EBS volumes (not applicable for "instance-store") |
| 24 | +FANTOM_DATA_VOL_THROUGHPUT="400" # Max throughput for EBS gp3 volumes (not applicable for "io1" | "io2" | "instance-store") |
| 25 | + |
| 26 | +## HA nodes configuration ## |
| 27 | +FANTOM_HA_NUMBER_OF_NODES="2" # Total number of RPC nodes to be provisioned. Default: 2 |
| 28 | +FANTOM_HA_ALB_HEALTHCHECK_GRACE_PERIOD_MIN="300" # Time enough to initialize the instance |
| 29 | +FANTOM_HA_NODES_HEARTBEAT_DELAY_MIN="120" # Time sufficient enough for a node do sync |
0 commit comments