-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base. Refactoring snapshot download.
- Loading branch information
Showing
4 changed files
with
43 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
############################################################# | ||
# Example configuration for Base nodes runner app on AWS # | ||
############################################################# | ||
|
||
## Set the AWS account is and region for your environment ## | ||
AWS_ACCOUNT_ID="xxxxxxxx" | ||
AWS_REGION="us-east-1" | ||
|
||
## Common configuration parameters ## | ||
BASE_NETWORK_ID="mainnet" # All options: "mainnet", "sepolia" | ||
BASE_NODE_CONFIGURATION="archive" # All options: "full", "archive" | ||
BASE_INSTANCE_TYPE="m7g.2xlarge" | ||
BASE_CPU_TYPE="ARM_64" # All options: "x86_64", "ARM_64". IMPORTANT: Make sure the CPU type matches the instance type used | ||
|
||
# Data volume configuration | ||
BASE_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 | ||
BASE_DATA_VOL_SIZE="7200" # Current required data size in GB to keep both snapshot archive and unarchived version of it. For Sepolia 1000 will be sufficient. | ||
BASE_DATA_VOL_IOPS="5000" # Max IOPS for EBS volumes (not applicable for "instance-store") | ||
BASE_DATA_VOL_THROUGHPUT="700" # Max throughput for EBS gp3 volumes (not applicable for "io1" | "io2" | "instance-store") | ||
BASE_RESTORE_FROM_SNAPSHOT="true" # Download snapshot to speed up statup time | ||
BASE_L1_EXECUTION_ENDPOINT="https://ethereum-sepolia-rpc.publicnode.com" # Set your own URL to Ethereum L1 node: https://docs.base.org/tools/node-providers | ||
BASE_L1_CONSENSUS_ENDPOINT="https://ethereum-sepolia-beacon-api.publicnode.com" | ||
|
||
BASE_SNAPSHOT_URL="none" # Optionally provide the URL to download snpashot: https://docs.base.org/tutorials/run-a-base-node/#snapshots | ||
|
||
# Example for Sepolia: | ||
#BASE_L1_EXECUTION_ENDPOINT=https://ethereum-sepolia-rpc.publicnode.com | ||
#BASE_L1_CONSENSUS_ENDPOINT=https://ethereum-sepolia-beacon-api.publicnode.com | ||
# Example for Mainnet and with Ethereum Blueprint with Geth-Lighthouse client combination and private IP: | ||
#BASE_L1_EXECUTION_ENDPOINT=http://172.31.15.220:8545 | ||
#BASE_L1_CONSENSUS_ENDPOINT=http://172.31.15.220:5052 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters