Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solana. Switched recommended to x86 configuration #173

Merged
merged 1 commit into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/solana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ aws ec2 create-default-vpc
Create your own copy of `.env` file and edit it to update with your AWS Account ID and Region:
```bash
cd lib/solana
cp ./sample-configs/.env-sample-baserpc-arm .env
cp ./sample-configs/.env-sample-baserpc-x86 .env
nano .env
```
> **NOTE:** *You can find more examples inside `sample-configs` directory: ARM-powered and x86-powered setups, base and extended RPC configurations.*
Expand Down
8 changes: 4 additions & 4 deletions lib/solana/sample-configs/.env-sample-baserpc-x86
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ SOLANA_VERSION="2.0.19" # Latest required version of Agave
SOLANA_INSTANCE_TYPE="r7a.12xlarge"
SOLANA_CPU_TYPE="x86_64" # All options: "x86_64", "ARM_64". IMPORTANT: Make sure the CPU type matches the instance type used
# Data volume configuration
SOLANA_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
SOLANA_DATA_VOL_TYPE="io2" # 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
SOLANA_DATA_VOL_SIZE="2000" # Current required data size to keep both smapshot archive and unarchived version of it
SOLANA_DATA_VOL_IOPS="9000" # Max IOPS for EBS volumes (not applicable for "instance-store")
SOLANA_DATA_VOL_IOPS="17000" # Max IOPS for EBS volumes (not applicable for "instance-store")
SOLANA_DATA_VOL_THROUGHPUT="700" # Max throughput for EBS gp3 volumes (not applicable for "io1" | "io2" | "instance-store")
# Accounts volume configuration
SOLANA_ACCOUNTS_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
SOLANA_ACCOUNTS_VOL_TYPE="io2" # 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
SOLANA_ACCOUNTS_VOL_SIZE="500" # Current required data size to keep both smapshot archive and unarchived version of it
SOLANA_ACCOUNTS_VOL_IOPS="6000" # Max IOPS for EBS volumes (not applicable for "instance-store")
SOLANA_ACCOUNTS_VOL_IOPS="17000" # Max IOPS for EBS volumes (not applicable for "instance-store")
SOLANA_ACCOUNTS_VOL_THROUGHPUT="700" # Max throughput for EBS gp3 volumes (not applicable for "io1" | "io2" | "instance-store")
# Secrets configuration
SOLANA_NODE_IDENTITY_SECRET_ARN="none" # Optional. The ARN of the secret in AWS Secrets Manager with the node identity key pair. In case you want to provision a node but keep the old identity.
Expand Down
8 changes: 4 additions & 4 deletions lib/solana/sample-configs/.env-sample-extendedrpc-x86
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ SOLANA_CLUSTER="mainnet-beta" # All options: "mainnet-beta", "t
SOLANA_NODE_CONFIGURATION="extendedrpc" # All options: "baserpc", "extendedrpc"
SOLANA_VERSION="2.0.19" # Latest required version of Agave above 2.x. Check for latest Mainnet version https://github.com/anza-xyz/agave/releases

SOLANA_INSTANCE_TYPE="r7a.16xlarge"
SOLANA_INSTANCE_TYPE="r7a.24xlarge"
SOLANA_CPU_TYPE="x86_64" # All options: "x86_64", "ARM_64". IMPORTANT: Make sure the CPU type matches the instance type used
# Data volume configuration
SOLANA_DATA_VOL_TYPE="io2" # 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
SOLANA_DATA_VOL_SIZE="2000" # Current required data size to keep both smapshot archive and unarchived version of it
SOLANA_DATA_VOL_IOPS="10000" # Max IOPS for EBS volumes (not applicable for "instance-store")
SOLANA_DATA_VOL_IOPS="20000" # Max IOPS for EBS volumes (not applicable for "instance-store")
SOLANA_DATA_VOL_THROUGHPUT="700" # Max throughput for EBS gp3 volumes (not applicable for "io1" | "io2" | "instance-store")
# Accounts volume configuration
SOLANA_ACCOUNTS_VOL_TYPE="io2" # 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
SOLANA_ACCOUNTS_VOL_SIZE="400" # Current required data size to keep both smapshot archive and unarchived version of it
SOLANA_ACCOUNTS_VOL_IOPS="10000" # Max IOPS for EBS volumes (not applicable for "instance-store")
SOLANA_ACCOUNTS_VOL_SIZE="500" # Current required data size to keep both smapshot archive and unarchived version of it
SOLANA_ACCOUNTS_VOL_IOPS="20000" # Max IOPS for EBS volumes (not applicable for "instance-store")
SOLANA_ACCOUNTS_VOL_THROUGHPUT="700" # Max throughput for EBS gp3 volumes (not applicable for "io1" | "io2" | "instance-store")
# Secrets configuration
SOLANA_NODE_IDENTITY_SECRET_ARN="none" # Optional. The ARN of the secret in AWS Secrets Manager with the node identity key pair. In case you want to provision a node but keep the old identity.
Expand Down
Loading